I seem to be having an audio sync issue when doing a two pass encode from a DVD with mencoder. It seems to work fine under 4.9 with the same parameters. I've played with '-mc 0', -noskip, and '-vf harddup'. Here is what has worked for me for a few years:
nice mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=1000 -oac copy -o /dev/null nice mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=1000 -oac copy \ -alang en -af volume=30 -nosub -noodml -o movie.avi ssurdock@OBSD4.9$ mencoder MEncoder SVN-r32528-OpenBSD (C) 2000-2010 MPlayer Team ssurdock@OBSD5.0$ mencoder MEncoder SVN-r33060 (C) 2000-2011 MPlayer Team Anyone else? -Steve S.