python-v4l2capture icon indicating copy to clipboard operation
python-v4l2capture copied to clipboard

Resource temporarily unavailable

Open salamanders opened this issue 11 years ago • 2 comments

I'm getting an error with the image_capture script:

python capture_picture.py 
Traceback (most recent call last):
  File "capture_picture.py", line 43, in <module>
    image_data = video.read()
IOError: [Errno 11] Resource temporarily unavailable

It seems to be installed ok:

python list_devices.py 
/dev/video0
    driver:       STV06xx
    card:         Camera
    bus info:     usb-bcm2708_usb-1.2
    capabilities: readwrite, streaming, video_capture

salamanders avatar Apr 03 '13 05:04 salamanders

Does the device work in any other programs, e.g. gstreamer or cheese?

jnohlgard avatar Apr 13 '13 09:04 jnohlgard

Sorta. I can get it to work under a generic v4l c program, but only in raw mode. But it works pretty consistently when I do that. Other apps I've tried (motion, etc) don't work. I think it is because the "Logitech QuickCam Messenger" has a dodgy support history in v4l and v4l2. (Googling on it turned up pages and pages of linux patch discussions, yikes)

Actually, now with a bit more research, I think it is because it only supports RAW, not RGB or JPEG. Is the python wrapper "cool" with that?

salamanders avatar Apr 13 '13 16:04 salamanders