Re: inter-frame vs intra-frame
"Benjamin M. Schwartz" <[email protected]> Fri, 25 Mar 2011 08:46:07 -0400
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <[email protected]> |
On 03/25/2011 07:34 AM, Jonathan Fabrizio wrote: > Hi, > The specification does not give any indication on when recording > intra-frame. Obviously the first frame is an intra frame but after what is > the strategy used in Theora ? I think an intra frame is recorded whenever > consecutive frames become too different ? Is there any criterion ? What's > happen in case of periodic changes (*blinking *lights for exemple) ? The simplest criterion for when to produce an intra frame is when K frames have passed since the most recent intra, where K is the keyframe interval specified in the Ogg mapping. Other than this requirement, encoders are free to employ any strategy. The libtheora encoder produces an intra frame whenever doing so would provide the same quality as inter in fewer bits. The simplest way to do this to fully encode the frame both ways and see which one is smaller. libtheora does something like this, but has heuristics to approximate the total bit cost using less CPU time. --Ben _______________________________________________ theora-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/theora-dev
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2Mjo8ACgkQUJT6e6HFtqSKswCfSYl4AF2oZSrj9cOseO4BRm67 Ud4AniZyyLbSPzxuW5UDK/ABF8UnWRf9 =3S7Y -----END PGP SIGNATURE-----