[FFmpeg-devel] [PATCH] rmdec.c: parse INDX chunk

Ronald S. Bultje rsbultje
Wed Mar 11 16:19:07 CET 2009


On Wed, Mar 11, 2009 at 10:09 AM, Kostya <kostya.shishkov at gmail.com> wrote:
> On Wed, Mar 11, 2009 at 09:01:45AM -0400, Ronald S. Bultje wrote:
>> Also, note how read_pts() returns AV_NOPTS_VALUE for old_format, would
>> be nice to fix that somehow if possible, no idea how difficult that'd
>> be, there's no timestamp information in old_format, it's just a
>> lineair sequence of bytes in blocks of a particular length, basically
>> like wav but without even the per-chunk header.
> Two ways - implement real seek function or set pts for old codecs and
> just seek to a theoretical position = data_start + ptr/N * full_frame_size

That makes sense, ok if I do that in a later patch? I'll first
implement seeking perfection (don't return cached data, indexes) for
new_format files, then work on getting old_format to work at all
(it'll fail right now), and then implement multirate and multirate


More information about the ffmpeg-devel mailing list