PDA

View Full Version : Batch Re-Mux MKV to MP4 in Windows - Need Assistance Please


Navalynt
24th April 2008, 21:11
I have over 700 movies I've encoded to x264/AAC in the MKV file container. Most have subtitles, chapter information, one audio and one video stream. I like the MKV container but it seems like the MP4 container does everything I want and has much more compatibility with different media center software.

I would like to know if anyone can suggest a program that can batch re-mux my MKV files to MP4 without any re-compression of the audio/video. If not a single program maybe some help scripting in Windows between multiple programs.

I'm looking for totally automated here. I really don't want to have to input the framerate and other details in for each movie unless I absolutely have to. I would prefer to spend my weekend watching movies and playing Rockband on the PS3 :) Thus far I have searched the forums and abroad without finding what I'm looking.

FoxRacR17
13th May 2008, 03:16
I'm in the same boat as you. Unfortunately I have not found anything. So I have to de-mux each file with mkvextractgui then remux everything with yamb. Is there anyone who can help us out? Even if its is an automated re-muxing process. I dont mind using mkvextract, but i wish there was a faster way then yamb.

Sharktooth
13th May 2008, 04:48
mkvextract and mp4box are both command line tools.
a .bat file can be created to do the whole job but it could be quite complex to create one.
since im not "so much" familiar with dos/windows batch i cant help you, but maybe some other could.
a .vbs script can do the same too...

FoxRacR17
13th May 2008, 05:02
Thanks for the info. I'll look for the commands for mp4box and mkvextract to make a .bat and hopefully i can automate the whole process from .mkv to .mp4 for all my video.

roozhou
14th May 2008, 14:17
mkvextract and mp4box are both command line tools.
a .bat file can be created to do the whole job but it could be quite complex to create one.
since im not "so much" familiar with dos/windows batch i cant help you, but maybe some other could.
a .vbs script can do the same too...

And you also need tc2mp4

kwanbis
19th May 2008, 19:41
I can help code a program to do it, if i'm told what to do (i mean, parameters of each program).

lovedaddy
19th May 2008, 20:34
I did this with Ruby... its a mess, but it works.

http://code.google.com/p/dirtyps3convert/

kwanbis
19th May 2008, 20:39
Can you get a compiled exe?

lovedaddy
19th May 2008, 22:11
Its just a ruby script, the real work is done under the hood with ffmpeg, mp4box, mkvinfo and mkvextract.

kwanbis
19th May 2008, 22:28
I know what a script is. Problem is that most people don't want to install ruby for doing this.

Maybe i can hack a delphi exe.