Merge pull request #1677 from kelvinamaral/fix-story-mode-0

Fix in storymodemethod = 0
pull/1808/head
Simon 2 years ago committed by GitHub
commit d48372bf4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -229,12 +229,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(range(0, number_of_clips + 1), "Collecting the image files..."): for i in track(range(0, number_of_clips + 1), "Collecting the image files..."):
image_clips.append( image_clips.append(

Loading…
Cancel
Save