[FFmpeg-devel] [PATCH 0/5] Fix mp3 gapless support (second try)

Michael Niedermayer michaelni at gmx.at
Tue Apr 14 22:44:22 CEST 2015

On Tue, Apr 14, 2015 at 09:24:32PM +0200, wm4 wrote:
> Seeking was slightly broken. The 4th patch seems to fix this (everything
> else is noise).

> Note that ffmpeg can't correctly implement mp3 gapless audio if seeking
> is used. The xing toc is not precise enough. The only way to fix it is
> to do a full scan on the mp3 to index each frame (which in turn is not
> possible with the public API, because byte seeking is not supported and
> the parser would interfere anyway). But in this case, it even broke when
> seeking to the beginning. I'm still not sure if this patch is correct.

do you have a file/sample/testcase for patch 4 ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150414/a064a469/attachment.asc>

More information about the ffmpeg-devel mailing list