file will now go to correct folder

This commit is contained in:
Kamushy authored and GitHub committed 2022-06-02 22:57:02 +10:00
1 parent 9bb1aa351e
commit 93bcd7be77
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ def make_final_video(number_of_clips):
)
image_concat.audio = audio_composite
final = CompositeVideoClip([background_clip, image_concat])
filename = (re.sub('[?\"/%*:|<>]', '', ("assets/" + reddit.askreddit.submission.title + ".mp4")))
filename = (re.sub('[?\"%*:|<>]', '', ("assets/" + reddit.askreddit.submission.title + ".mp4")))
final.write_videofile(filename, fps=30, audio_codec="aac", audio_bitrate="192k")
for i in range(0, number_of_clips):
pass