This was bugging me. I had some mkv and ogm files that I wanted to use on my Zen Vision M. So after ALOT of work I finally have something that works for this.
First you need to install Mplayer.
[Linky]
Mencoder comes with it.
Install it. I would put it in the default directories.
Then go to Start>Run
And run cmd to opena command window.
This is what you'll want to put in and what it should do.
Where it says put the directory of the input in quotes. ex.
"C:\Welcome to the NHK.mkv"
The same applies to output. So if I was converting to avi.
"C:\Welcome to the NHK Converted.avi
MKV OGM Copy stream with mp2 audio
"C:\Program Files\mplayer\mencoder.exe" -mc 0 -noskip "" -o "" -oac lavc -ovc copy
Need To Select Audio Stream with mp2 audio (ASSUMES THE FILE IS TAGGED PROPERLY):
"C:\Program Files\mplayer\mencoder.exe" -mc 0 -noskip -alang eng -slang eng "" -o "" -oac lavc -ovc copy
MPEG4 with mp2 audio(WON'T WORK ON ZEN I'LL LEAVE IT HEAR ON THE EXTREMELY LOW CHANCE YOU ARE AN IPOD USER):
"C:\Program Files\mplayer\mencoder.exe" -mc 0 -noskip "" -o "" -oac lavc -ovc lavc
MKV OGM Copy stream with mp3 audio
"C:\Program Files\mplayer\mencoder.exe" -mc 0 -noskip "" -o "" -oac mp3lame -ovc copy
xvid with mp3 audio This is the best for the ZVM I think.
"C:\Program Files\mplayer\mencoder.exe" -mc 0 -noskip "" -o "" -oac mp3lame -ovc xvid -xvidencopts -fixed_quant=5
The first segment directs to mencoder. -mc 0 and -noskip keeps mencoder form skipping any frames. I actually get better sync results doing this.
-o designates the output.
-oac output audio codec mp3lame does mp3 and lavc does Mpeg2.
-ovc output video codec, copy simply copies the original, lavc defaults to MPEG4, but could be changed to wmv1 or several others. I like this one. Its fast. Unlike the "xvid" codec conversion, which is painfully slow.
-alang eng -slang eng These two find the english audio or subtitles(slang being subtitles). However when I ran it with both present I only got english audio. I didn't complain.
-xvidencopts options for vxid conversion. you need either fixed_quant or bitrate here.
-fixed quant is quality 5 is a nice number to set for good quality. IT can range form 1 to 31. 1 Being highest. This can also beexchanged from the argument bitrate=.
I dunno how helpful this is but someone else must have ran into this.