From e8751950d328985ab04543a9fab9f27a33fcf1fe Mon Sep 17 00:00:00 2001 From: Morgan Williams Date: Wed, 24 Dec 2025 18:15:00 +0100 Subject: [PATCH] fix max frames --- pipeline.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline.py b/pipeline.py index 8b2ba17..4a508f6 100644 --- a/pipeline.py +++ b/pipeline.py @@ -99,12 +99,14 @@ def run_pipeline( print("=" * 60) sbs_video = work_dir / f"{input_path.stem}_sbs.mp4" + max_frames = int(duration * 24) if duration else None sbs_result = process_video_to_sbs( prepared_video, str(sbs_video), encoder=encoder, max_disparity=max_disparity, fps=24, + max_frames=max_frames, ) print(f" Processed {sbs_result['frames_processed']} frames") print(f" SBS video: {sbs_result['output_path']}") -- knotmirror 0.0.1