[MPlayer-users] [BUG] mencoder -oac lavc produces bad audio sync
Joey Parrish
joey.parrish at gmail.com
Tue Apr 3 23:03:51 CEST 2007
Compile Environment: cygwin or mingw with gcc v3.4.4
MPlayer: today's svn
Using the following:
./mencoder $anything -ovc lavc -oac lavc -lavcopts
acodec=mp3:abitrate=64:vcodec=mpeg4:vbitrate=200 -o noname.avi
I also tried acodec=mp2 and acodec=ac3, same issues.
Using mplayer noname.avi, video gets ahead of audio very fast.
Using mplayer -nobps noname.avi, it plays correctly.
Even with nobps option, audio restarts on any seek.
If audio is encoded with mp3lame instead of lavc, the resulting file
has no problems what-so-ever.
Also, this is from mplayer noname.avi -frames 1:
A: 152.2 V: 0.0 A-V:152.174 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0
It seems as if the audio stream thinks it starts at 152 seconds and
the video is trying to race to catch up. If the file is encoded with
mp3lame, the count starts at 0.
A sample of this broken video is available on request.
I attempted to do a binary search through svn, but had lots of trouble
compiling older versions. Plus each fresh compile takes about 30
minutes for me... anyhow, I gave up. With code from 2006-12-01,
everything seems to work, though.
Please let me know if there is anything else I need to provide or any
other testing I can do. In the mean time, I will continue my svn
search and try to identify the key change.
Also, I'm kinda new to svn, and noticed that svn up -r {2006-12-01}
will update mplayer to that date, but update libav* to current. It
makes things very difficult to search, IMO. Is there an svn option I
don't know about that makes this easier?
Thanks,
--Joey
More information about the MPlayer-users
mailing list