[Theora] IntraFrame Detection

j at thing.net j at thing.net
Thu Sep 30 03:50:59 PDT 2004

if you update libtheora to the latest version from svn

you get a new function in the api:

int theora_packet_iskeyframe(ogg_packet *op);


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 at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora

More information about the Theora mailing list