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..."