diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 7fec8d0..f9550da 100755 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -88,20 +88,21 @@ def make_final_video(number_of_clips, length): .resize(width=W - 100) .set_opacity(float(opacity)), ) - if os.path.exists("assets/mp3/posttext.mp3"): - image_clips.insert( - 0, - ImageClip("assets/png/title.png") - .set_duration(audio_clips[0].duration + audio_clips[1].duration) - .set_position("center") - .resize(width=W - 100) - .set_opacity(float(opacity)), - ) - else: - image_clips.insert( + #if os.path.exists("assets/mp3/posttext.mp3"): + # image_clips.insert( + # 0, + # ImageClip("assets/png/title.png") + # .set_duration(audio_clips[0].duration + audio_clips[1].duration) + # .set_position("center") + # .resize(width=W - 100) + # .set_opacity(float(opacity)), + # ) + #else: + image_clips.insert( 0, ImageClip("assets/temp/png/title.png") .set_duration(audio_clips[0].duration) + #.set_duration(audixc vcco_clips[0].duration) .set_position("center") .resize(width=W - 100) .set_opacity(float(opacity)),