io.Video hanging indefinitely on load

Josh Warner silvertrumpet999 at gmail.com
Wed Feb 12 19:17:45 EST 2014



Sounds like you’re using Gstreamer. If you have access to OpenCV, it would 
be informative to see if the same file is opened correctly via the OpenCV 
backend, with data = io.Video(source=video_path, backend='opencv')

I’ve heard our Gstreamer backend could use some attention…

On Wednesday, February 12, 2014 5:36:01 PM UTC-6, !link wrote:

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/e99e8649/attachment.html>


More information about the scikit-image mailing list