Log in

View Full Version : Removing an audio track from a mkv


tacit
10th October 2006, 15:51
I've been googling and searching this forum to figure out how to do this and I am puzzled as to why, apparently, there isn't an easy way. This is what I did:

Tried VirtualDubMod. No go.

Used mkvextractgui to extracted what I wanted. It spit out a h264, ac3, sub, and idx files.

Tried to mux it back together with mmg. It doesn't take h264.

Used yamb to convert the h264 to mp4. (While I was at it I thought I might just mux it all together into a mp4 but yamb doesn't take ac3:confused:) This is where I'm hung up. Neither of the 16:9 ARs look the same as the original mkv when I play it in MPC.

Based on mediainfo readings, the original mkv is 29.97fps. The resulting mp4 at 29.97 is shorter than the original. There's less of a time difference at 23.976 fps.

mkvtoolnix is 1.7.0
yamb is 1.6.0 w/ whatever mp4box that comes with that installer

So at this point I'm disgusted. Have I been running around in circles for no reason ie there's one program to do all this? If not, what can I do now to get a proper mp4? Or maybe just use the raw h264?

Kurtnoise
10th October 2006, 16:43
Some thoughts :

1/ If you want to keep a matroska file as container, no need to extract each streams. Use mmg and uncheck the streams you don't want to.

2/ If you plan to use a mp4 file as container, you must transcode your ac3 stream in aac or mp3 first. Then, use Yamb 2.0 to mux your raw avc (by specifying manually the framerate value via Properties) with audio stream and vobsub file.

tacit
10th October 2006, 16:50
Well I feel like an idiot now.

Thanks, 1 did the trick.