[theora-dev] Theora integration question
ee at athyriogames.com
Mon Oct 15 17:03:05 PDT 2012
I would assume frame 0 is always a keyframe, but I will use that to
doublecheck at loadtime. I am working on a known dataset of movies which do
> -----Original Message-----
> From: Ralph Giles [mailto:giles at thaumas.net]
> Yes. The decoder needs two reference frame buffers (the keyframe and
> previously-decoded frame) to reconstruct the current frame during
> decoding. Keyframes, by definition, are not predicted from any previous
> frame data, so as long as you feed in a keyframe first after the switch
> you should get clean output.
> You can use th_packet_iskeyframe() to verify this behaviour at runtime.
More information about the theora-dev