Convert a video to MP4 format and maybe embed English subtitles.
Requires ffmpeg to be installed or to be available on PATH.
pip install git+https://github.com/jborbely/convert-mp4.git
Can be run with or without a configuration file
convert-mp4 [config.json]
The following key-value pairs are supported:
- root_dir: (str) directory to initially start in when prompted to select a video
- extensions: (list[str]) the file extensions that can be converted
For example,
{
"root_dir": "C:\\Videos\\Movies and TV shows",
"extensions": ["avi", "mkv", "mp4"]
}