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

Kostya kostya.shishkov
Wed Mar 11 16:21:32 CET 2009


On Wed, Mar 11, 2009 at 11:19:07AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> 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
> seeking.

Fine. Just don't forget run "make seektest"
 
> Ronald




More information about the ffmpeg-devel mailing list