io.Video hanging indefinitely on load

!link sglink at gmail.com
Wed Feb 12 18:36:01 EST 2014


Hello,

I'm trying to get skimage working with video, and I'm using a relatively 
small video to test the functionality I need. 

If I run the following code (with a video I know to play in multiple 
players) it seems to hang python.

import os
from skimage import io
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
video_path = os.path.join(os.getcwd(),'test.avi')
data = io.Video(source = video_path)

as in, I've let it run for 5 + min on a 2.5 MB file and had to kill the 
python process. 

I'm running OS X 10.9.1 and I have:

Python 2.7.6 :: Anaconda 1.7.0 (x86_64)
skimage 0.8.2
Gstreamer 1.2.3 from binary at http://gstreamer.freedesktop.org/
and gst-python010 installed

In case it matters, I installed gst-python via:
$ brew tap homebrew/versions
$ brew install gst-python010

I would appreciate any suggestions or recommendations as to how to 
determine where the error is, and then how to go about correcting it. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20140212/5706b59e/attachment.html>


More information about the scikit-image mailing list