diff --git a/video_creation/final_video.py b/video_creation/final_video.py index a9b2864..e60e3c7 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -229,12 +229,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..."): image_clips.append(