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 530441 - Cheese does not recognize the webcam
Cheese does not recognize the webcam
Status: RESOLVED DUPLICATE of bug 522009
Product: cheese
Classification: Applications
Component: general
2.22.x
Other All
: Normal major
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-04-28 20:58 UTC by ooohooooh
Modified: 2008-06-07 02:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ooohooooh 2008-04-28 20:58:38 UTC
Please describe the problem:
Camera working in GSTREAMER (tested using gstreamer-properties). Output when executed: (tried to record first a video, and afterwards a photograph)
cheese -v

(cheese:16575): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

(cheese:16575): GStreamer-CRITICAL **: gst_element_set_locked_state: assertion `GST_IS_ELEMENT (element)' failed


Steps to reproduce:
1. Launch cheese
2. Press "record video" button
3. Press "make picture" button


Actual results:
2. No video loaded
3. No picture taken


Expected results:
2. Video recorded
3. Photograph taken
In both cases, the led beside the camera should light up, but it does not

Does this happen every time?
Yes

Other information:
I use a sony vaio fz21m, with a Ricoh r5u870 183b webcam, using the driver r5u870. Camera works perfect in Ekiga, Skype and Gstreamer
Comment 1 daniel g. siegel 2008-04-28 21:01:02 UTC
do you have the oggmux gst-element installed? im quite sure that you are missing on the required gst plugins
Comment 2 ooohooooh 2008-04-28 22:03:16 UTC
Almost newbie here: how can I check if the gst-elements (is this only a class) is installed?
I have installed the gst-plugins-0.10-base/good/farsight
Comment 3 daniel g. siegel 2008-04-28 22:11:47 UTC
e.g. with gst-inspect

=>

gst-inspect oggmux
...
a lot of information
...

gst-inspect nothere
No such element or plugin 'nothere'
Comment 4 ooohooooh 2008-04-29 21:23:54 UTC
The output of gst-inspect:
(it looks like gst-elements is there, isnt it ?)
$ gst-inspect oggmux
Factory Details:
  Long name:	Ogg muxer
  Class:	Codec/Muxer
  Description:	mux ogg streams (info about ogg: http://xiph.org)
  Author(s):	Wim Taymans <wim@fluendo.com>
  Rank:		none (0)

Plugin Details:
  Name:			ogg
  Description:		ogg stream manipulation (info about ogg: http://xiph.org)
  Filename:		/usr/lib/gstreamer-0.10/libgstogg.so
  Version:		0.10.18
  License:		LGPL
  Source module:	gst-plugins-base
  Binary package:	GStreamer Base Plugins (Ubuntu)
  Origin URL:		https://launchpad.net/distros/ubuntu/+source/gst-plugins-base0.10

GObject
 +----GstObject
       +----GstElement
             +----GstOggMux

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      application/ogg

  SINK template: 'sink_%d'
    Availability: On request
      Has request_new_pad() function: 0x7f32da0709f0
    Capabilities:
      video/x-theora
      audio/x-vorbis
      audio/x-flac
      audio/x-speex
      application/x-ogm-video
      application/x-ogm-audio
      video/x-dirac
      video/x-smoke
      text/x-cmml
                encoded: true


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: 0x7f32da070650
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.

Pads:
  SRC: 'src'
    Implementation:
      Has custom eventfunc(): 0x7f32da070540
      Has custom queryfunc(): gst_pad_query_default
        Provides query types:
      Has custom intconnfunc(): gst_pad_get_internal_links_default
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: legible, escribible
                        String. Default: null Current: "oggmux0"
  max-delay           : Maximum delay in multiplexing streams
                        flags: legible, escribible
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 500000000 Current: 500000000
  max-page-delay      : Maximum delay for sending out a page
                        flags: legible, escribible
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 500000000 Current: 500000000
Comment 5 Kees Cook 2008-05-02 05:41:47 UTC
I seem to be having this problem as well, with a v4l cpia usb camera.  Works in gstreamer-properties, nothing in cheese, and "cheese --verbose" reports nothing.
Comment 6 daniel g. siegel 2008-06-07 02:11:33 UTC

*** This bug has been marked as a duplicate of 522009 ***