Skip to content
/ mk4 Public

🎬 [Python3] Burn custom styled mkv srt into a new mp4 output

Notifications You must be signed in to change notification settings

dilaouid/mk4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !!

About

🎬 [Python3] Burn custom styled mkv srt into a new mp4 output

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages