GNOME Bugzilla – Bug 511129
[v4l2src] gstreamer fail on UVC webcam
Last modified: 2008-01-22 22:18:21 UTC
I have a USB webcam that is UVC. (Quickcam Communicate Deluxe) If I start gstreamer-properties and select it, it will say "Video for Linux 2 (v4l2): Could not get buffers from device '/dev/video0'." when I click test. The consoler show the following. gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Could not get buffers from device '/dev/video0'. [v4l2src_calls.c(1025): gst_v4l2src_capture_init (): /pipeline1/v4l2src3: error requesting 0 buffers: Cannot allocate memory] I have rw persmission on /dev/video0
I assume you're getting v4l2src from gst-plugins-good in your distro? v4l2src is still marked as 'experimental', and needs to be explicitly enabled precisely because it's a bit buggy still. Despite that, this specific problem was, I believe, fixed in CVS shortly after the 0.10.6 release of gst-plugins-good: 2007-07-17 Stefan Kost <ensonic@users.sf.net> * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init): Initialize num_buffers with minimum value. There should be a new release out next month (on Feb 18th), but in the meantime if you're up for it, you could try building CVS and see if it fixes it for you (warning: you'll also need to build either CVS or one of the pre-0.10.16 pre-releases of Core & Base first. Pre-release tarballs are at: http://gstreamer.freedesktop.org/src/gstreamer/pre/ and http://gstreamer.freedesktop.org/src/gst-plugins-base/pre/)
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of 490034 ***