Log in

View Full Version : Converting MKV to AVI with VirtualDubMod?


dwillms
29th May 2006, 04:41
I'm having some trouble converting .mkv Matroska files to AVI with VirtualDubMod. I had a bunch of .ogm files that were very easy to convert, but these ones are giving me a tough time.

My file has two subtitle tracks, and at first I couldn't even get VirtualDubMod to open the file. The error would pop up saying "Only handle [S-TEXT/] subs for the moment"

I got that solved by using mkvmerge to get rid of the one subtitle track that was causing the problem, and re-saving the MKV file.

But, now my problem is that the file has AAC audio, and I don't think VirtualDubMod can decode it.

What is the easiest way to convert the .mkv to an AVI? Just for reference, I was also using VirtualDubMod on the files to add permanent subtitles to the video output.

Thanks,
-Dustin

check
29th May 2006, 08:57
If you just want to change the audio and video streams to avi, you can use a program called Avimux_GUI instead. That will just move the audio and video into avi for you.
If you need to make the file with hardsubs, you should try using avisynth instead:
1. create a new text file in the same directory as the mkv file, and rename to foo.avs
2. add the following lines:
loadplugin("path\to\vsfilter.dll") [if you don't have vsfilter.dll, you will need to download it]
directshowsource("inputfilename.mkv")
textsub("path\too\subs.ssa/ass/srt/etc")
3. Open this file with avisynth and convert it as you have been before.