[FFmpeg-devel] mp3 seeking issue.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Oct 21 09:45:32 CEST 2012

On 21 Oct 2012, at 07:13, "Don Moir" <donmoir at comcast.net> wrote:

>> I just noticed that if you seek into a loud section (anywhere after the
>> first couple seconds) of that mp3 and then seek back to a quiet section
>> (first couple seconds) in the beginning there seems to be some garbled
>> frames that get played. If you repeat the seek in the quiet area there is
>> no garbled noise. Is there some buffer that's not being flushed or is this
>> just a bad file?
>> - dale
> I tried what you said and I get a mechanized sound when seeking to the quiet area after its been in a loud section.
> When seeking to zero it doesn't happen.
> Doesn't happen in the other players I tested it with.

I think this is a very long standing bug in the MP3 decoder, it probably does not reset some of the state in the flush function.
Nobody ever investigated it properly to my knowledge.

More information about the ffmpeg-devel mailing list