i'm trying to convert a bunch of video with subtitles from mkv to avi to watch on a standalone divx player and i'm having some trouble, as mencoder keeps crashing in windows xp.

i'm using mencoder because it seems to support avc, aac, vorbis audio, lets me encode the subtitles into the video and most importantly, setting up batch processes is easy.

mencoder seems to crash with many mkv files regardless of what the source video or audio is encoded in, but it can handle ogg containers without a problem. about 15% of my encode attempts work, but the rest crash mencoder. i've attempted to use older versios and different builds; interestingly enough different mkv files crash different versions/builds.

it doesn't seem to matter whether or not i encode with the lavc or xvid encoders. (i'm encoding to xvid either way.)

this happen to anyone else? any thoughts?