PDA

View Full Version : MKV Joining and Chapter Creation


theophile
23rd April 2009, 17:33
I've been searching around and have checked the man pages for mkvmerge and I'm not finding anything directly on point.

Here's what I want to do:

Take several MKV files and concatenate them, end-to-end, into one new MKV file, with chapter markers at the join points. I'm converting home movies to h264/ogg and I would like to be able to join numerous clips into a single file, but still be able to seek to the individual clips via chapter markers.

How is this done?

Thanks!

theophile
1st May 2009, 15:10
Well even though this seems like a pretty simple and common task to want to perform, there doesn't seem to be an easy way to do it with mkvmerge. So I made my own.

Here's a bash script that will do exactly what I described in the OP. You'll need mplayer and mkvtoolnix:

http://monopedilos.com/dokuwiki/doku.php?id=mkvmerger

Feedback welcome.