[FFmpeg-devel] [PATCH] ALS decoder

Thilo Borgmann thilo.borgmann
Wed Aug 26 19:02:47 CEST 2009

>>>> +    // increment the frame counter
>>>> +    ctx->frame_id++;
>>> that wont work with seeking
>>> I think ive not missed some setting of frame_id to a value from the
>>> bitstream
>> No, it's selfmade. The decoder has to know, which frame it is in.
>> How to determine it in a seeking compatible way?
> the short awnser is certainly that, you cant
> what is the spec saying about this? is the demuxer required to pass
> some frame number to the decoder? (that makes ALS only possible in
> some containers)
I think the spec doesn't say anything about how to determine or retrieve
this. Maybe Justin knows better.

Also the reference encoder manually counts the frame number but that is
of course of no value...


More information about the ffmpeg-devel mailing list