Errors with Using Webcam
Posted
by
C.G.
on Super User
See other posts from Super User
or by C.G.
Published on 2014-05-28T20:48:47Z
Indexed on
2014/05/28
21:35 UTC
Read the original article
Hit count: 308
I have been having some issues accessing a webcam from my machine. Sometimes (not always) when I run a program that accesses the device (cheese, guvcview, and code using openCV), I get either of two messages, which lead to the program crashing.
The first occurs after running the webcam for some time.
libv4l2: error dequeuing buf: No such device
VIDIOC_DQBUF: No such device
The other will occur without even letting me have a chance to run the webcam.
libv4l2: error turning on stream: No space left on device
VIDIOC_STREAMON - Unable to start capture: No space left on device
Occasionally after getting these errors I will also receive a message saying that no such device can be found for subsequent runs. Other than the times that the "No device found" message appears the webcam appears when I use lsusb.
My machine runs Linux Fedora 16, and the webcam is a Logitech C920. I do have ffmpeg installed, and I have been able to run the web camera many times in the past without errors. What is particularly puzzling about these errors is that they just sprung up this past weekend. No new software or hardware has been installed on this machine recently; I haven't changed any settings recently either.
It could possibly be a driver issue, but I don't know what could have changed which could lead to this issue.
Any attempts at researching this problem has been fruitless as this seems to most commonly occur with multiple webcams. I am only working with one device. I'd appreciate any advice for this problem, as this has become a bit frustrating.
© Super User or respective owner