[intrepid] [hardy] webcam works in Ekiga, but not cheese

Bug #266879 reported by Daniel Hollocher
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GStreamer
Invalid
Unknown
gstreamer0.10 (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs
Nominated for Intrepid by Claudiu Vlad

Bug Description

Binary package hint: cheese

cheese shows video test screen instead of webcam image. You know the one with all the color bars and stuff.

Its a QuickCam Pro for Notebooks

If you need more info, please ask.

Tags: hardy intrepid
Revision history for this message
Claudiu Vlad (claudiu-vlad) wrote :

Same problem here. Webcam worked ok with any software in Hardy Heron. Now it only works with Ekiga.
Here is the output from cheese:

$ cheese
(cheese:17778): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps
(cheese:17778): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed
(cheese:17778): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps

Here is the ouput from gstreamer-properties , when clicking on Test input:

$ gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'

(gstreamer-properties:17807): GStreamer-WARNING **: pad v4l2src3:src returned caps which are not a real subset of its template caps
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Could not negotiate format [gstbasesrc.c(2436): gst_base_src_start (): /pipeline0/v4l2src3:
Check your filtered caps, if any]

Here is the output from motion:

$ motion
[0] could not open configfile /etc/motion/motion.conf: Permission denied
[0] Not config file to process using default values
[0] Motion 3.2.9 Started
[0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
[1] Thread 1 started
[1] cap.driver: "zc3xx"
[1] cap.card: "Camera "
[1] cap.bus_info: "0000:00:1d.3"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: JPEG (JPEG)
[1] Test palette JPEG (352x288)
[1] Adjusting resolution from 352x288 to 320x240.
[1] Using palette JPEG (320x240) bytesperlines 320 sizeimage 29390 colorspace 00000007
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,256
[1] "Contrast", default 128, current 128
[1] found control 0x00980902, "Contrast", range 0,256 !DISABLED!
[1] "Contrast", default 128, current 0
[1] found control 0x00980903, "Contrast", range 0,256 !DISABLED!
[1] "Contrast", default 128, current 0
[1] found control 0x0098090e, "Contrast", range 0,256 !DISABLED!
[1] "Contrast", default 128, current 0
[1] found control 0x0098090f, "Contrast", range 0,256 !DISABLED!
[1] "Contrast", default 128, current 0
[1] found control 0x00980910, "Gamma", range 1,6
[1] "Gamma", default 4, current 4
[1] found control 0x00980911, "Gamma", range 1,6 !DISABLED!
[1] "Gamma", default 4, current 0
[1] found control 0x00980912, "Auto Gain", range 0,1
[1] "Auto Gain", default 1, current 1
[1] found control 0x00980913, "Auto Gain", range 0,1 !DISABLED!
[1] "Auto Gain", default 1, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=32768
[1] 1 length=32768
[1] 2 length=32768
[1] 3 length=32768
[1] Using V4L2
[1] Error capturing first image
[1] Thread finishing...

Changed in cheese:
status: New → Confirmed
Revision history for this message
Claudiu Vlad (claudiu-vlad) wrote :
Download full text (27.1 KiB)

My webcam works perfectly with ekiga , in Intrepid Ibex. Here is the output from ekiga (opened and then closed):

$ ekiga -d 6
2008/09/07 15:36:12.818 0:00.187 ekiga ekiga Version 2.0.12 by on Unix Linux (2.6.27-2-generic-i686) at 2008/9/7 15:36:12.818
2008/09/07 15:36:13.123 0:00.492 ekiga Detected audio plugins: ALSA
2008/09/07 15:36:13.123 0:00.492 ekiga Detected video plugins: Picture,V4L2,V4L
2008/09/07 15:36:13.124 0:00.493 ekiga Detected audio plugins: ALSA
2008/09/07 15:36:13.124 0:00.493 ekiga Detected video plugins: Picture,V4L2,V4L
2008/09/07 15:36:13.124 0:00.493 ekiga Detecting V4L2 devices
2008/09/07 15:36:13.124 0:00.493 ekiga PV4L2Plugin detected device metadata at /sys/class/video4linux/
2008/09/07 15:36:13.127 0:00.496 ekiga PV4L2Plugin detected capture device Camera
2008/09/07 15:36:13.132 0:00.501 ekiga Detected the following audio input devices: Default,HDA Intel,Camera with plugin ALSA
2008/09/07 15:36:13.132 0:00.501 ekiga Detected the following audio output devices: Default,HDA Intel with plugin ALSA
2008/09/07 15:36:13.133 0:00.502 ekiga Detected the following video input devices: Camera with plugin V4L2
2008/09/07 15:36:13.133 0:00.502 ekiga Detected the following audio input devices: Default,HDA Intel,Camera with plugin ALSA
2008/09/07 15:36:13.133 0:00.502 ekiga Detected the following audio output devices: Default,HDA Intel with plugin ALSA
2008/09/07 15:36:13.133 0:00.502 ekiga Detected the following video input devices: Camera with plugin V4L2
2008/09/07 15:36:13.152 0:00.521 ekiga PWLib File handle high water mark set: 26 PUDPSocket
2008/09/07 15:36:14.287 0:01.656 ekiga Ekiga version 2.0.12
2008/09/07 15:36:14.289 0:01.659 ekiga OPAL version 2.2.11
2008/09/07 15:36:14.292 0:01.661 ekiga PWLIB version 1.10.10
2008/09/07 15:36:14.294 0:01.663 ekiga GNOME support enabled
2008/09/07 15:36:14.300 0:01.669 ekiga Fullscreen support enabled
2008/09/07 15:36:14.302 0:01.672 ekiga DBUS support enabled
2008/09/07 15:36:14.305 0:01.674 ekiga PWLib File handle high water mark set: 38 PUDPSocket
2008/09/07 15:36:14.315 0:01.689 ekiga Set TCP port range to 30000:30010
2008/09/07 15:36:14.320 0:01.689 ekiga Set RTP port range to 5000:5059
2008/09/07 15:36:14.320 0:01.689 ekiga Set UDP port range to 5060:5100
2008/09/07 15:36:14.320 0:01.690 ekiga OpalEP Created endpoint: h323
2008/09/07 15:36:14.321 0:01.690 ekiga H323 Created endpoint.
2008/09/07 15:36:14.322 0:01.691 ekiga OpalMan Added route "pc:.*=h323:<da>"
2008/09/07 15:36:14.323 0:01.692 ekiga OpalEP Created endpoint: sip
2008/09/07 15:36:14.323 0:01.692...

Revision history for this message
Daniel Hollocher (chogydan) wrote :

well, im the one who filed this bug report, and I think I was confused at the time. My webcam does not work in Hardy, but it is working in Intrepid, albeit not as well as it works in windows, but its definitely working. Since I was the original filer of this bug, I'm going to mark it Fix Released.

Claudiu Vlad, maybe you should open a new bug, just for your webcam? I dunno. If you want to reopen this bug, that's fine too.

Good luck.

Changed in cheese:
status: Confirmed → Fix Released
Revision history for this message
Claudiu Vlad (claudiu-vlad) wrote :

I would like to reopen it, as I want somebody to use my logs posted here to check for the bug. Also, I hope final Intrepid release will make my webcam work.

Changed in cheese:
status: Fix Released → Confirmed
Revision history for this message
Daniel Hollocher (chogydan) wrote :

Claudiu: if you are having trouble with gstreamer-properties AND cheese, then its not a cheese problem; its a gstreamer problem. Cheese relies upon gstreamer for its connection to the webcam. So, I think this bug should be under gstreamer, not cheese. Ill change it, but feel free to change it back if you disagree.

Revision history for this message
Claudiu Vlad (claudiu-vlad) wrote : Re: [Bug 266879] Re: [intrepid] [hardy] webcam works in Ekiga, but not cheese

Okay, I guess you are right, thanks a lot.

On Du, 2008-09-14 at 15:10 +0000, danielhollocher wrote:
>
>
>
>
> Claudiu: if you are having trouble with gstreamer-properties AND
> cheese,
> then its not a cheese problem; its a gstreamer problem. Cheese relies
> upon gstreamer for its connection to the webcam. So, I think this
> bug
> should be under gstreamer, not cheese. Ill change it, but feel free
> to
> change it back if you disagree.

Revision history for this message
Achim (ach1m) wrote :

I have the same problem with my webcam and intrepid.

Bus 001 Device 002: ID 046d:08d9 Logitech, Inc. QuickCam IM/Connect

Description: Ubuntu intrepid (development branch)
Release: 8.10

$ 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'

(gstreamer-properties:9834): GStreamer-WARNING **: pad v4l2src3:src returned caps which are not a real subset of its template caps
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Could not negotiate format [gstbasesrc.c(2436): gst_base_src_start (): /pipeline0/v4l2src3:
Check your filtered caps, if any]

Regards
Achim

Revision history for this message
Michael-250 (michael-250) wrote :

I have also this problem with my webcam and ubuntu 8.10 alpha6 (amd64 live-cd).

Bus 003 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX

$ 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'

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

$ gstreamer-properties --gst-disable-segtrap
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'

(gstreamer-properties:8219): GStreamer-WARNING **: pad v4l2src0:src returned caps which are not a real subset of its template caps
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Could not negotiate format [gstbasesrc.c(2436): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any]
Segmentation fault (core dumped)

Revision history for this message
Michael-250 (michael-250) wrote :

One additional information to my comment above:

My webcam works without problems in Ekiga! Only gstreamer seems to have problems.

Changed in gstreamer:
status: Unknown → New
Changed in gstreamer0.10:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Peter Frühberger (peter-fruehberger) wrote :

Same problem here. Exact same messages are printed - got it to work with mplayer.

Revision history for this message
rekado (rekado) wrote :

Same problem here. The messages match 100%. Worked in hardy.

Revision history for this message
Achim (ach1m) wrote :

As it seems this update has solved my problem.

gst-plugins-good0.10 (0.10.10-1ubuntu1) intrepid; urgency=low

  * Add 10_fedora-use_libv4l.patch: add libv4l support (from Fedora,
    LP: #260918), add libv4l-dev to Build-Deps.

 -- Kees Cook < <email address hidden>> Fri, 10 Oct 2008 12:35:37 -0700

I hope someone else can confirm this, so that we can close this report.

Regards
Achim

Revision history for this message
rekado (rekado) wrote :

err, how to do that? it's unfortunately not very obvious for me. would like to try it.

Revision history for this message
Achim (ach1m) wrote :

@ Ricardo Wurmus,

simply update your system and everything should work.

Regards
Achim

Revision history for this message
rekado (rekado) wrote :

Great, it works!

Revision history for this message
Claudiu Vlad (claudiu-vlad) wrote :

Cheese is working now, thanks a lot

On Sat, 2008-10-11 at 08:52 +0000, Achim wrote:
> As it seems this update has solved my problem.
>
> gst-plugins-good0.10 (0.10.10-1ubuntu1) intrepid; urgency=low
>
> * Add 10_fedora-use_libv4l.patch: add libv4l support (from Fedora,
> LP: #260918), add libv4l-dev to Build-Deps.
>
> -- Kees Cook < <email address hidden>> Fri, 10 Oct 2008 12:35:37 -0700
>
> I hope someone else can confirm this, so that we can close this report.
>
> Regards
> Achim
>

Changed in gstreamer:
status: New → Invalid
Revision history for this message
Michael Stempin (mstempin) wrote :

Well, not solved for me.

The test within gstreamer-properties works just fine. Also the webcam gives me a nice picture in Ekiga.

But in cheese it just stays dead. Not even the Terminal does give any output.

This is on Intrepis with a Dell XPS m1330 with integrated webcam. Worked just fine in Hardy.

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

yeah with dell inspiron 1525 it's same, other program no problem, but in cheese not working

Changed in gstreamer:
status: Invalid → New
Changed in gstreamer:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.