[Libav-user] Noise while seeking in mp3 files.

Prunk Dump prunkdump at gmail.com
Fri Aug 26 20:45:19 CEST 2011


2011/8/26 Ole Dittmann <ole at madhat.de>:
> I found the same thing with aac and wmv.
> Already reported it a few months ago.
> But that was during the whole ffmpeg/libav incident so it probably got
> wasted.
> Just took your post as reason to repeat the ticket:
>
> https://ffmpeg.org/trac/ffmpeg/ticket/420
>
>
> Am 25.08.2011 13:04, schrieb Prunk Dump:
>
> When seeking in a mp3 file, the decoder produce a noise depending of
> when the seek is done. This is illustrated in the attached file
> "audioBitStream.jpg".
>
> ->If I seek to timestamp 0 while playing “hight” sound, a noise is
> clearly visible when I restart decoding (see first stereo stream :
> dump10noise.raw)
>
> ->If I seek to timestamp 0 while playing “silence”, no noise is
> produced (see second stereo stream : dump10clear.raw)
>
> So it seems that  avcodec_flush_buffers doesn't completely flush all
> the buffers of the codec. We see that it keep track of the last
> decoded sound.
>
> So is this a bug ? Or it's me that have I missed something?
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
> --
> /////////////////////////////////////////////////////////////////////////////////////////
>
> Ole Dittmann  – software developer
>
> Mad Hat GmbH, Ludwigstraße 182a, 63067 Offenbach
> »Tel.: +49 (0)69 829 003 32 »Fax: +49 (0)69 829 003 23
> »mobile: +49 (0)151 195 656 32
> »ole at madhat.de »www.madhat.de
>
> Geschäftsführer: Thomas Lutz, Gernot Pflüger
> Amtsgericht Offenbach – HRB: 12485
>
> /////////////////////////////////////////////////////////////////////////////////////////
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


I have updated the ticket with my own demonstration program. This bug
is really annoying. It's strange that it appears in the widely used
mp3 codec !


More information about the Libav-user mailing list