From 771452544ba0be3d0bb71f3cecd7fe491fff5717 Mon Sep 17 00:00:00 2001 From: PatatjeMC Date: Tue, 19 Jul 2022 16:16:37 +0200 Subject: [PATCH] Fixed glitchy ending Fixed the issue where the ending freezes for multiple seconds (again cause someone broke my previous fix) --- video_creation/final_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 8524051..6a53c98 100755 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -141,7 +141,7 @@ def make_final_video( ffmpeg_extract_subclip( "assets/temp/temp.mp4", 0, - final.duration, + length, targetname=f"results/{subreddit}/{filename}", ) save_data(subreddit, filename, title, idx, background_config[2])