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 581764 - Gstreamer-properties giving error and freezes when testing webcam
Gstreamer-properties giving error and freezes when testing webcam
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-07 16:10 UTC by Enrico Dohmen
Modified: 2009-08-01 18:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Enrico Dohmen 2009-05-07 16:10:49 UTC
Please describe the problem:
I have an Acer Aspire 2920 laptop with a Crystal Eye webcam. I installed Ubuntu 9.04. Everything works except for the webcam. It does not work with Cheese, Ekiga or Camorama. However, the webcam does work with Windows Vista and it also works with luvcview under Ubuntu.  When I test it with gstreamer-properties the program gives an error and freezes. I cannot shut it down after the error message.

Steps to reproduce:
1. Start gstreamer-properties
2. Go to "Video" tab and "Standard Input"
3. Choose "Video for Linux 2 (V4L2)" and the "Acer CrystalEye webcam"
4. Click test

Actual results:
The program returns this error in a separate screen: "Video for Linux 2 (v4l2): Fout bij het starten van een opnamestroom met apparaat '/dev/video0'" (Sorry, my system is in Dutch) It will translate to: "Video for Linux 2 (v4l2): error when starting a record stream with device '/dev/video0'"

Expected results:
I would expect the webcam to start and that I could see a screen recording my webcam.

Does this happen every time?
yes

Other information:
This is the output of gstreamer-properties when started from a commandline:

enrico@laptop:~$ gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Protocolfout
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Fout bij het starten van een opnamestroom met apparaat '/dev/video0'. [v4l2src_calls.c(1472): gst_v4l2src_capture_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src3:
system error: Protocolfout]
Comment 1 Marc-Andre Lureau 2009-06-15 18:13:21 UTC
So it works with luvcview, but not GStreamer. 
"system error: Protocolfout", I wonder what that means.

Have you tried setting the video input plugin to "v4lsrc" also?

it would be good if you could tell which version of gstreamer and v4l2src you have (gst-inspect v4l2src | grep Version).

reassigning for help
Comment 2 Tim-Philipp Müller 2009-06-15 22:12:01 UTC
Yes, this looks like it's not a v4l2 device. Could you try:

 $ gst-launch-0.10 v4lsrc num-buffers=1 ! fakesink

and

 $ gst-launch-0.10 v4l2src num-buffers=1 ! fakesink

?
Comment 3 Tim-Philipp Müller 2009-08-01 18:57:17 UTC
No response for over one and a half month, and not much to go on.

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!