Update final_video.py

This commit is contained in:
Vaughn Bosu authored and GitHub committed 2022-06-24 18:48:13 -07:00
1 parent 0d6e1238a7
commit eb00cf319a
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ def make_final_video(number_of_clips, length):
print_substep("the results folder didn't exist so I made it")
os.mkdir("./results")
final.write_videofile("assets/temp/temp.mp4", verbose=False, logger=None, threads=multiprocessing.cpu_count(), fps=30, audio_codec="aac", audio_bitrate="192k")
final.write_videofile("assets/temp/temp.mp4", threads=multiprocessing.cpu_count(), fps=30, audio_codec="aac", audio_bitrate="192k")
ffmpeg_tools.ffmpeg_extract_subclip(
"assets/temp/temp.mp4", 0, length, targetname=f"results/{filename}"
)