diff --git a/.gitignore b/.gitignore index 2201ee0..d7fa11b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ assets/ +results/* .env reddit-bot-351418-5560ebc49cac.json /.idea diff --git a/examples/final_video.mp4 b/examples/final_video.mp4 index a04df6d..bae42bd 100644 Binary files a/examples/final_video.mp4 and b/examples/final_video.mp4 differ diff --git a/examples/final_video.webm b/examples/final_video.webm deleted file mode 100644 index be9d2fc..0000000 Binary files a/examples/final_video.webm and /dev/null differ diff --git a/video_creation/final_video.py b/video_creation/final_video.py index f125b28..e5dfe68 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -44,10 +44,11 @@ def make_final_video(number_of_clips): else: return title[0:30] + "..." - final.write_videofile(f"assets/{get_video_title()}.mp4", fps=30, audio_codec="aac", audio_bitrate="192k") + final.write_videofile(f"results/{get_video_title()}.mp4", fps=30, audio_codec="aac", audio_bitrate="192k") print_step("Removing temporary files 🗑") cleanups = cleanup() print_substep(f"Removed {cleanups} temporary files 🗑") + print_substep(f"See result in the results folder!") print_step(f"Reddit title: {os.getenv('VIDEO_TITLE')} \n Background Credit: {os.getenv('background_credit')}")