Fix for Story mode 0

pull/1677/head
Kelvin Amaral 2 years ago
parent 72a1e9dc71
commit 53cc0225c6

@ -248,12 +248,12 @@ def make_final_video(
), ),
) )
background_clip = background_clip.overlay( background_clip = background_clip.overlay(
image_clips[1], image_clips[0],
enable=f"between(t,{current_time},{current_time + audio_clips_durations[1]})", enable=f"between(t,{current_time},{current_time + audio_clips_durations[0]})",
x="(main_w-overlay_w)/2", x="(main_w-overlay_w)/2",
y="(main_h-overlay_h)/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: elif settings.config["settings"]["storymodemethod"] == 1:
for i in track( for i in track(
range(0, number_of_clips + 1), "Collecting the image files..." range(0, number_of_clips + 1), "Collecting the image files..."

Loading…
Cancel
Save