Opened 12 years ago

Last modified 12 years ago

#477 new defect

decoding vbr mp3 in avi with libmad causes A/V desync

Reported by: sgh@… Owned by: moritz@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Usually I use libmad for decoding mpeg audio with mplayer (-afm=libmad).
I just encode some movie with mencoder 1.0pre7-3.4.2 with following options:
-ovc xvid -xvidencopts pass=2:bitrate=1000:max_key_interval=40 -oac mp3lame -
lameopts vbr=2:q=5:aq=2
Then I try to play just encoded movie with:
mplayer -afm libmad movie.avi
And I have desynced A/V streams. While I don't use libmad, let mplayer use it's
default mp3lib for decoding audio, then A/V streams is synced normally.

mplayer -identify movie.avi, gives following info:
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=1113232
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=1.3333
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=32000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=672.48

P.S. Sorry for my bad english.

Change History (1)

comment:1 Changed 12 years ago by sgh@…

I use MPlayer dev-CVS-060407-05:10-3.3.5 for playing movie.

Note: See TracTickets for help on using tickets.