mk4 is a Python 3 script to convert mkv videos into mp4, and burning subtitles into the mp4 output. You can choose the font and the size of the subtitles in the config file. And you can also select the correct subtitles and/or audio streams from the mkv file.
To configure the mk4 script, you need to edit the config variables in config.ini
. You will be able to change the font name, the size, and the crf. Keeping the defaults values is enough to have a good experience.
py mk4.py <file.mkv | directory> [<file.mkv | directory> ...]
OR
py mk4.py --help
You can also use the -r
flag to delete the .mkv file (or files if it's a directory) you mentionned. Like this:
py mk4.py <file.mkv | directory> -r
It will delete only the one argument specified before the flag. So here:
py mk4.py movie.mkv -r episode.mkv
Only movie.mkv
will be deleted after the conversion.
You only need to have ffmpeg installed in your system.
- The
--help
flag
Please enjoy !!