[FFmpeg-devel] [PATCH 1/3] Add av_build_index
Sun Aug 15 02:32:19 CEST 2010
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.
More information about the ffmpeg-devel