Displaying 1 result from an estimated 1 matches for "bbb_theora_325kbit".
2009 Jun 14
3
python bindings to libtheora
...and
also encode to ogv (this mostly works, but there are some subtle
issues to be fixed, I suspect I still have some bug in the way I half
the dimensions of the Cb and Cr planes, so when you read ogv and write
ogv, the resulting image is not exactly pixelwise exact).
Here is an example how to read bbb_theora_325kbit.ogv, seek to 10s and
convert the next 10s to a new a.ogv:
--------------------
from theora import Theora, TheoraEncoder
a = Theora("bbb_theora_325kbit.ogv")
b = TheoraEncoder("a.ogv", a.width, a.height, quality=63)
a.seek(time=10)
while a.read_frame() and a.time < 20:
A...