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)])