Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.17 KB

mk4

preview

I want it to be mp4

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.

Usage

Configuration

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.

Launch script

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.

Prerequisites

You only need to have ffmpeg installed in your system.

To-Do

  • The --help flag

Please enjoy !!