Displaying 2 results from an estimated 2 matches for "get_frame_image".
2010 Jan 21
0
python-theora: some comments
...such file or directory: 'tests/videos/videotestsrc-720x576-16-15.ogg'
When I build a debian package of python-theora should I download the
test files manually? If not, how about modifying the API documentation
to say that the test files are not normally distributed with the
library?
2) t.get_frame_image() fails with
Traceback (most recent call last):
File "browse-video.py", line 8, in <module>
img = t.get_frame_image()
File "theora.pyx", line 681, in theora.Theora.get_frame_image (theora.c:3553)
ImportError: No module named scipy.misc
should setup.py declare thi...
2009 Jun 14
3
python bindings to libtheora
..., 128],
[128, 128, 128, ..., 128, 128, 128],
[128, 128, 128, ..., 128, 128, 128],
...,
[128, 128, 128, ..., 128, 128, 128],
[128, 128, 128, ..., 128, 128, 128],
[128, 128, 128, ..., 128, 128, 128]], dtype=uint8)]
In [8]: img = t.get_frame_image()
In [9]: img.save("b.png")
-----------------
There are also utilities for converting between YCbCr and RGB, etc.
See also the docstrings of the methods.
I am sending it here in case someone would like to help out, or test
it already. My next plan is to incorporate sound in there,...