[MPlayer-users] problem with Too many audio packets in the buffer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 24 08:06:23 CET 2011


On 24 Mar 2011, at 00:17, Philip Walden <pwaldenlinux at comcast.net> wrote:
> Reimar Döffinger wrote:
>> On Wed, Mar 23, 2011 at 01:09:01PM -0700, Philip Walden wrote:
>>   
>>> MEncoder SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
>>>     
>> Please try a newer version, this one is several thousand revisions
>> old (not including FFmpeg revisions), and one of the changes was
>> a modification to audio sync handling which the author actually
>> claimed to fix all the "remaining sync issues" he had.
>> I suspect that's more because he was lucky than because the code
>> is now "perfect" but still it should be worth a try.
>> _______________________________________________
>>   
> Thank you for the quick reply. I downloaded the latest SVN version of mplayer and built it. I can see the newer SVN-r33098-4.5.1 header in the output. I also see it is using ffaac instead of faad.
> 
> Unfortunately it has the same "Too many audio packets error". It also seems to fail at 63 seconds into the video whereas the older version failed at 95 seconds. Here is the output:
> 
> $ mencoder -oac lavc -of mpeg -mpegopts format=mpeg2:muxrate=25000:vbuf_size=1194:abuf_size=64 -vf scale=720:480,harddup -ovc lavc -lavdopts debug=0 -lavcopts autoaspect=1:vcodec=mpeg2video:vbitrate=8000:acodec=ac3:abitrate=128:keyint=18:vqscale=1:vqmin=2 -subdelay 20000 -ofps 30000/1001 -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o test.mpg NOSN_CanWeMakeItToMars.mp4

Sorry for not noticing before, but unfortunately encoding to AC3 is broken ever since the encoder was changed to use float input.
I also get really bad audio quality in addition to sync issues.


More information about the MPlayer-users mailing list