gstreamer

Otto otto.fajardob at gmail.com
Wed Jul 11 05:14:40 EDT 2012


Hi,
I would like to try the Video function in skimage.io. I installed
gstreamer, toghether with gstreamer sdk providing the python bindings.
So, when I say import pygst from python console, it does not complain.
However, trying to use the Video function like this:

myvideo = skio.Video(source=source,backend='gstreamer')

gives this error message:

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    cuco = skio.Video(source=source,backend='gstreamer')
  File "C:\Python26\lib\site-packages\skimage\io\video.py", line 264,
in __init__
    self.video = GstVideo(source, size, sync)
  File "C:\Python26\lib\site-packages\skimage\io\video.py", line 124,
in __init__
    raise ImportError("GStreamer Python bindings 0.10+ required")
ImportError: GStreamer Python bindings 0.10+ required

So: how to install properly these python bindings for gstreamer???

By the way: Is this module appropiate to open a video file, let's say
an avi file, that is compressed using for example with XViD, and then
retrieve single frames as numpy arrays?

thanks!



More information about the scikit-image mailing list