I've been encoding dvds to x264 and mp3 with a command resembling this:
mencoder -dvd-device /media/cdrom0 -alang en -ovc x264 -oac mp3lame -x264encopts "bitrate=1000" -o "/path/to/movie.avi" dvd://1
When I play back the resulting avi file in totem, it plays fine. However, when I play it back with mplayer, the audio is out and I have to set audio delay to -500ms with the numpad minus key.
Anyone have any idea why the audio would only play off-time in mplayer?