[MEncoder-users] Audio sync problems

Karl Mitchell karl.l.mitchell at jpl.nasa.gov
Sat Nov 26 21:43:20 CET 2005


I'm a returning user to mencoder (last used in 2003 under Linux), so my 
apologies if the answer to my question seems obvious.

I've been trying to backup a DVD to H.264/AAC on MacOS X 10.4 (Tiger).  
I managed to compile mplayer/mencoder from CVS last night (2006/11/25) 
with x264 and faac support, so no problems there.  However, I've been 
having major problems with lip sync, with audio being a significant 
fraction of a second ahead of video.  I suspect that the problem I'm 
having is due to the input being mixed progressive and telecine NTSC, a 
format I've never used before, as I used to live in a PAL country.  The 
following is my attempt at a first pass:

mencoder dvd://1 -dvd-device /Volumes/Neptune/Movies/DVD/VIDEO_TS \
-alang eng -oac faac -faacopts br=128 \
-vf pullup,softskip -ovc x264 -x264encopts bitrate=1200:turbo=1:pass=1 \
-ofps 24000/1001 -o title1.mp4

I have also tried using -mc (values of 0, 0.1 and 1), with no success.  
-oac copy seems to produce similarly out of sync results.

mplayer dvd://1 -dvd-device /Volumes/Neptune/Movies/DVD/VIDEO_TS works fine.

I can't find any clues to solve this in the documentation (which only 
has -nosound examples for mixed progressive and telecine) or man page, 
and would greatly appreciate any help.

On the plus side, this basic first-pass H.264 encode seems to already be 
producing extremely good video results at only 1200 kbps.  I look 
forward to seeing the second-pass results.

Regards,

-Karl

P.S. mplayer.hu (as opposed to www.mplayer.hu) appears to be down, and 
so I had to subscribe to this list in the old-fashioned (unadvertised) 
way, i.e. by sending a blank e-mail to mencoder-users-join at mplayerhq.hu.




More information about the MEncoder-users mailing list