Fix: Replace RAM-heavy minterpolate filter with framerate filter for fallback interpolation

This commit is contained in:
2026-07-05 08:05:13 -04:00
parent be931d0e08
commit 438c12e8f0
+2 -1
View File
@@ -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)])