libv4l2: error turning on stream: No space left on device

victor1234 picture victor1234 · Jul 9, 2012 · Viewed 22k times · Source

I try to get stereo pair for opencv. I connect Logitech B910 and Logitech C910 webcams to usb. But have this error. I played with quirks parametrs and set outfmt=mjpeg in mplayer, but have this error again.

Where can I find bug in uvcvideo or usb drivers? What monitoring or debuging tools I should use?

Answer

Tim Williscroft picture Tim Williscroft · Sep 28, 2012

This is a badly worded error message ; the cause is not having enough USB bandwidth on the controller.

As you have guessed, if you could just get your cameras to use MJEPG your problem will be resolved.

OpenCV might be using FFMPEG to do the acquire, ( the linux build generally has FFMPEG support) and the OpenCV docs admit you can't change the acquire format if FFMPEG is being used.

All I've found in my research is that you need to change the FFMPEG configuration.

Try moving the cameras to different USB controllers if you can.