Log in

View Full Version : mkvmerge batch file - add new default track


Foofaraw
7th October 2011, 03:12
What I'd like to do is add a new sound file to an existing mkv file, and make the new audio track the default.

mkvmerge -o "output.mkv" "original.mkv" "newtrack.mp3"

Now this adds the new mp3 track, but the original track is still default. I have read the documentation but can't figure out to how change it.

Any hints?

sneaker_ger
7th October 2011, 16:58
mkvmerge -o "output.mkv" --default-track 2:false "original.mkv" "newtrack.mp3"
Whether it will work, depends on your source files, change accordingly.

Foofaraw
7th October 2011, 23:34
Thanks sneaker_ger :)