spookyuser
commited on
Commit
·
04efc95
1
Parent(s):
1d126b4
Fix path
Browse files- animate.py +1 -1
animate.py
CHANGED
@@ -230,5 +230,5 @@ def create_mp4_with_audio(frames, cv2_images, duration, audio, output_path):
|
|
230 |
new_clip = CompositeVideoClip([clip1, clip2, clip3])
|
231 |
new_clip.audio = audio # Naviely append audio without considering the length of the video, could be a problem, no idea, but it works, so I'm not touching it
|
232 |
new_clip.set_duration(duration)
|
233 |
-
new_clip.write_videofile(output_path.as_posix(), audio_codec="aac")
|
234 |
return output_path
|
|
|
230 |
new_clip = CompositeVideoClip([clip1, clip2, clip3])
|
231 |
new_clip.audio = audio # Naviely append audio without considering the length of the video, could be a problem, no idea, but it works, so I'm not touching it
|
232 |
new_clip.set_duration(duration)
|
233 |
+
new_clip.write_videofile(output_path.resolve().as_posix(), audio_codec="aac")
|
234 |
return output_path
|