Spaces:
Runtime error
Runtime error
Update Videobook/Videobook.py (#2)
Browse files- Update Videobook/Videobook.py (51dc4ba8649ab243c32e45eae7783587f9057f62)
Co-authored-by: Vishnu V Jaddipal <[email protected]>
- Videobook/Videobook.py +1 -1
Videobook/Videobook.py
CHANGED
@@ -54,7 +54,7 @@ class Videobook:
|
|
54 |
def make_video(self, imgs, lengths, video_name = "finished_video.mp4"):
|
55 |
self.imgs_to_video(self.addBuffer(imgs, lengths), 'test_video.mp4')
|
56 |
input_audio = ffmpeg.input(os.path.join(os.getcwd(),'tts.mp3'))
|
57 |
-
input_video = ffmpeg.input('
|
58 |
ffmpeg.concat(input_video, input_audio, v=1, a=1).output(video_name).run(overwrite_output=True)
|
59 |
|
60 |
|
|
|
54 |
def make_video(self, imgs, lengths, video_name = "finished_video.mp4"):
|
55 |
self.imgs_to_video(self.addBuffer(imgs, lengths), 'test_video.mp4')
|
56 |
input_audio = ffmpeg.input(os.path.join(os.getcwd(),'tts.mp3'))
|
57 |
+
input_video = ffmpeg.input(os.path.join(os.getcwd(),'test_video.mp4'))
|
58 |
ffmpeg.concat(input_video, input_audio, v=1, a=1).output(video_name).run(overwrite_output=True)
|
59 |
|
60 |
|