|
|
|
@ -342,6 +342,7 @@ def make_final_video(
|
|
|
|
|
path = (
|
|
|
|
|
path[:251] + ".mp4"
|
|
|
|
|
) # Prevent a error by limiting the path length, do not change this.
|
|
|
|
|
try:
|
|
|
|
|
ffmpeg.output(
|
|
|
|
|
background_clip,
|
|
|
|
|
final_audio,
|
|
|
|
@ -359,6 +360,9 @@ def make_final_video(
|
|
|
|
|
capture_stdout=False,
|
|
|
|
|
capture_stderr=False,
|
|
|
|
|
)
|
|
|
|
|
except ffmpeg.Error as e:
|
|
|
|
|
print(e.stderr.decode("utf8"))
|
|
|
|
|
exit(1)
|
|
|
|
|
old_percentage = pbar.n
|
|
|
|
|
pbar.update(100 - old_percentage)
|
|
|
|
|
if allowOnlyTTSFolder:
|
|
|
|
|