This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Merges multiple .mp4 video files into a single file. | |
# Add your .mp4 files into a video/ subdirectory and run this script. | |
# Will generate a final_video.mp4 file in the same directory as this file | |
import os | |
from moviepy.editor import VideoFileClip, concatenate_videoclips | |
# ### SETTINGS - Modify this to your preferences ### | |
video_fade_secs = 1 # Video fade in and out duration in seconds. | |
audio_fade_secs = 1 # Audio fade in and out duration in seconds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of common timezones from pytz package. | |
# https://pypi.org/project/pytz/ | |
[ | |
'Africa/Abidjan', | |
'Africa/Accra', | |
'Africa/Addis_Ababa', | |
'Africa/Algiers', | |
'Africa/Asmara', | |
'Africa/Bamako', | |
'Africa/Bangui', |