[FFmpeg-devel] [PATCH] avformat/mp3dec: prefer "fast_seek" to TOC seek for CBR files.

Michael Niedermayer michael at niedermayer.cc
Tue Nov 10 00:34:24 CET 2015


On Wed, Nov 04, 2015 at 05:21:57PM -0800, Chris Cunningham wrote:
> "Fast seek" uses linear interpolation to find the position of the
> requested seek time. For CBR this is more direct than using the
> mp3 TOC and bypassing the TOC avoids problems when the TOC is
> corrupted (e.g. https://crbug.com/545914).
> 
> For VBR, fast seek is not precise, so continue to prefer the TOC
> when available.
> ---
>  libavformat/mp3dec.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

how can this be reproduced with FFmpeg ?
do you have a sample which you can share ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151110/e2a25981/attachment.sig>


More information about the ffmpeg-devel mailing list