From 438c12e8f0638b87b437ae117d9c9475fd83f755 Mon Sep 17 00:00:00 2001 From: David Kifer Date: Sun, 5 Jul 2026 08:05:13 -0400 Subject: [PATCH] Fix: Replace RAM-heavy minterpolate filter with framerate filter for fallback interpolation --- app/upscaler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/upscaler.py b/app/upscaler.py index 431618c..05f8705 100644 --- a/app/upscaler.py +++ b/app/upscaler.py @@ -770,7 +770,8 @@ def run_upscale_pipeline(job: UpscaleJob, on_progress_update: Callable[[str, Dic target_fps = fps * 2 if getattr(job, "double_fps", False) else 60 if target_fps < fps: target_fps = fps - vf_filters.append(f"minterpolate=fps={target_fps}") + # Use 'framerate' filter instead of 'minterpolate' to avoid memory exhaustion on high resolutions + vf_filters.append(f"framerate=fps={target_fps}") if vf_filters: assemble_cmd.extend(["-vf", ",".join(vf_filters)])