Re: Theora integration question
"Engineering" <[email protected]> Mon, 15 Oct 2012 19:03:05 -0500
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <03f701cdab31$a0b499b0$e21dcd10$@com> |
Thanks, Ralph 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 not change Sam > -----Original Message----- > From: Ralph Giles [mailto:[email protected]] > Yes. The decoder needs two reference frame buffers (the keyframe and > the > 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. > > -r