if you update libtheora to the latest version from svn
http://svn.xiph.org/trunk/theora
you get a new function in the api:
int theora_packet_iskeyframe(ogg_packet *op);
j
On Thu, 2004-09-30 at 11:54 +0200, Eduard Kriegler
wrote:> Hi
>
> For my application I need to *know* when a frame was encoded to be an
> intraframe (or keyframe or a frame that is independent of previous frames).
>
> In Chapter 7 of the Theora I Specification document it is said that
> there is a "FTYPE" parameter in the frame header which will
indicate
> whether the frame is a inter or intraframe. What I would like to know is
> whether this frame header is indeed the first bits of the data placed in
> the ogg_packet by the theora_encode_packetout() function?
>
> Thanks,
> Eduard Kriegler
> _______________________________________________
> Theora mailing list
> Theora@xiph.org
> http://lists.xiph.org/mailman/listinfo/theora
>