Skip to content

cgioia/mkv2mp4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 

Repository files navigation

This is a command-line utility to convert any video in a Matroska video container (MKV) to x264 video in an MP4 container (M4V), ostensibly for viewing on an AppleTV or an Apple iPad.

The real magic comes in the form of extracting an SSA/ASS subtitle track from the Matroska container, converting it to an SRT subtitle track (a format accepted by MP4), and then muxing the subtitles in to the newly converted MP4 file.

While technically this script will run in any Perl environment, reliance on SublerCLI (for subtitle muxing) currently makes it only usable on Mac OS X.

Usage

mkv2mp4.pl <mkvfile>...

Dependencies

HandBrakeCLI
SublerCLI
MKVToolnix

About

Convert Matroska video to MPEG-4 with subtitles

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages