diff --git a/backend/agents/editor.py b/backend/agents/editor.py index 9fcaf30..1458e61 100644 --- a/backend/agents/editor.py +++ b/backend/agents/editor.py @@ -156,7 +156,7 @@ def run( "-map", v_map, "-map", audio_mix, "-c:v", "libx264", "-preset", "fast", "-c:a", "aac", "-b:a", "192k", - "-shortest", + "-t", str(video_duration), output_path, ] else: @@ -170,7 +170,7 @@ def run( "-map", "0:v", "-map", "1:a", "-c:v", "libx264", "-preset", "fast", "-c:a", "aac", "-b:a", "192k", - "-shortest", + "-t", str(video_duration), output_path, ]) diff --git a/docs/demo/final.mp4 b/docs/demo/final.mp4 index 909144d..914f3c0 100644 Binary files a/docs/demo/final.mp4 and b/docs/demo/final.mp4 differ