From 53cc0225c68a597211f282037063b7fc9f752f1f Mon Sep 17 00:00:00 2001 From: Kelvin Amaral Date: Thu, 1 Jun 2023 10:50:46 -0300 Subject: [PATCH] Fix for Story mode 0 --- video_creation/final_video.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 52ebe04..49ab46d 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -248,12 +248,12 @@ def make_final_video( ), ) background_clip = background_clip.overlay( - image_clips[1], - enable=f"between(t,{current_time},{current_time + audio_clips_durations[1]})", + image_clips[0], + enable=f"between(t,{current_time},{current_time + audio_clips_durations[0]})", x="(main_w-overlay_w)/2", y="(main_h-overlay_h)/2", ) - current_time += audio_clips_durations[1] + current_time += audio_clips_durations[0] elif settings.config["settings"]["storymodemethod"] == 1: for i in track( range(0, number_of_clips + 1), "Collecting the image files..."