python-v4l2capture
python-v4l2capture copied to clipboard
Resource temporarily unavailable
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
Does the device work in any other programs, e.g. gstreamer or cheese?
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?