[FFmpeg-devel] [PATCH 1/3] Add av_build_index
Michael Chinen
mchinen
Sun Aug 15 02:32:19 CEST 2010
Hi,
On Sat, Aug 14, 2010 at 11:38 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
[...]
>
> With these 3 plus FLAC parser patches, some formats should provide
> sample-accurate seeking, right? Which are those? What would have to be
> done to, say, the (ASF demuxer +) WMA decoder (or any other audio
> format) to make it sample-accurate?
ogg, FLAC, mp3 are the audio formats provide sample accurate seeking.
asf doesn't work well yet, and I'm looking into it.
The requirements for generic index building that has sample accurate
seeking are to have a parser that sets avctx->frame_size correctly
(including to 0 for junk frames) as well as returns the correct offset
(often negative) when overreading into a buffer.
Michael
More information about the ffmpeg-devel
mailing list