1
I'm in need of a way to re-encoding MKV unproccessed (via Pass Through)...
I pretty much found the solution (see source at the bottom) but I need a little bit of help. As what kind of script do I have to save the script? Anybody willing to help out here or maybe compile the app?
Idea 1:
- Use tsMuxer to extract the video stream and the audio track(s) into separate files.
- Reencode the audio track into AAC with afconvert (comes with OS X, looking at the man page it supports most 2ch and 5.1ch formats)
- Use mp4box to mux the video and audio into a single MP4 file. posted by wongcorgi at 10:34 PM on October 6, 2009
Idea 2:
#!/bin/sh
mencoder -o <new file name> -oac copy -ovc copy -of lavf -lavfopts format=mp4 <old file name>
To make the snippet above into an Drag and Drop application one could use this program:
http://www.advogato.org/proj/DropScript/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source: http://ask.metafilter.com/134805/I-need-an-automated-way-to-convert-MKV-to-MP4-on-Mac-OS-X
HandBrake doesn't seem to allow pass-through, which would be more efficient, as you state in your question. – fideli – 2010-02-08T22:02:33.137
1Btw if you really want to script this transcoding you can install the handbrake with no GUI and using command line only – Kami – 2010-02-08T23:33:29.063
Thanks for the articles fideli. Sadly Handbrake doesn't do the pass-through, like you already stated in the above comment. Otherwise it would be a very fine choice since it's capable of adding subtitles and audio tracks in a user friendly manner.
The thing is I just want something (script, automation, app, whatever) that allows me take my MKV's and convert them in a single process, since I do this quite often. I own MKVTools but it's yet not batch compatible and also one can't adjust the audio conversion. – patrick – 2010-02-10T12:16:03.900
@patte: I've edited the post to include a link to a script that might work. – fideli – 2010-02-10T21:18:27.103