After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 511129 - [v4l2src] gstreamer fail on UVC webcam
[v4l2src] gstreamer fail on UVC webcam
Status: RESOLVED DUPLICATE of bug 490034
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.14
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-21 21:16 UTC by Hubert Figuiere (:hub)
Modified: 2008-01-22 22:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hubert Figuiere (:hub) 2008-01-21 21:16:45 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
Comment 1 Jan Schmidt 2008-01-21 21:31:54 UTC
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/)
Comment 2 Tim-Philipp Müller 2008-01-22 22:18:21 UTC
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 ***