[gst-devel] [PATCH] Make theoraenc expose the new "Speed level" property

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Wed Feb 18 06:42:42 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attached patch exposes the Speed Level property, new in the Theora 1.0
series, in theoraenc as "speed-level".  This property, if set to a value
of 2, accelerates encoding by disabling motion vectors entirely.

The attached patch is tested to enable control of the speed-level property
in theoraenc.  This patch does not break backwards compatibility, nor does
it change default behaviors.  (The speed-level knob will simply have no
effect on old versions of libtheora.)

My motivation, which is entirely irrelevant, is to encode video in real
time on the XO, especially for video chat.  In my completely arbitrary
test, I observed an 18% speedup at fixed quality, at a cost of 25%
increased bitrate.  (Frankly, I was hoping for a much larger speedup, but
never mind.)

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmbn9EACgkQUJT6e6HFtqRtbQCdGFzXNU2gC0Q3MqygrXlh3fVA
02YAn3x/zOGTUBBXXPDEfHHPONXaTGPW
=sii4
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: speedlevel.patch
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090218/bf20d2a7/attachment.txt>


More information about the gstreamer-devel mailing list