Cheese error

When I start Cheese, I get an error “There was an error playing video from the webcam” and the application displays a blank screen. When I start Cheese from a terminal, I get the following error output.

tim@linux-63re:~> cheese

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:4404): cheese-WARNING **: Missing element 'encodebin' - check your GStreamer installation.: gstcamerabin2.c(1861): gst_camera_bin_create_elements (): /GstCameraBin:camerabin

Can anyone tell me how to fix it? Cheese was working until I installed multimedia codecs and restricted extras. I assume that I have installed something that conflicts?

Thanks!

On Fri 13 Dec 2013 10:16:01 PM CST, tm2383 wrote:

When I start Cheese, I get an error “There was an error playing video
from the webcam” and the application displays a blank screen. When I
start Cheese from a terminal, I get the following error output.

Code:

tim@linux-63re:~> cheese

(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): GStreamer-CRITICAL **: gst_bin_add: assertion
‘GST_IS_ELEMENT (element)’ failed
(cheese:4404): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
‘G_IS_OBJECT (object)’ failed
(cheese:4404): cheese-WARNING **: Missing element ‘encodebin’ - check
your GStreamer installation.: gstcamerabin2.c(1861):
gst_camera_bin_create_elements (): /GstCameraBin:camerabin

Can anyone tell me how to fix it? Cheese was working until I installed
multimedia codecs and restricted extras. I assume that I have installed
something that conflicts?

Thanks!

Hi
Do you see any output from;


gst-inspect-1.0 |grep encodebin

You should have two packages installed;


zypper se -i gstream*plugins-base

gstreamer-0_10-plugins-base
gstreamer-plugins-base


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!


gst-inspect-1.0 |grep encodebin

This gives no output


zypper se -i gstream*plugins-base

gstreamer-0_10-plugins-base
gstreamer-plugins-base

I have the latest versions of these installed as well.

I reckon that I broke something when installing multimedia and restricted codecs, as this made changes to gstreamer, but I can’t be sure. All I know is that Cheese worked after a fresh install.

Any other ideas to solve this error??

Thanks

tim

On 12/16/2013 06:46 PM, tm2383 wrote:
>
> Any other ideas to solve this error??
>
> Thanks
>
> tim
>

How did you install the restricted extras? What guide did you follow (if
any)?

The one I used was this:
https://forums.opensuse.org/blogs/caf4926/opensuse-13-1-multi-media-restricted-format-installation-guide-149/


Was I helpful? Click that little star so that I can brag about it to my
invisible friends >:)
Bring the Penguins Back! https://features.opensuse.org/316767

I have this very same problem which arose in exactly same circumstances - on a fresh opensuse 13.1 installation Cheese worked well, then I installed multimedia codecs from here - 1-click-collection - openSUSE Community Wiki - and Cheese “broke up” and returns the above mentioned error. The packages suggested by malcolmlewis](https://forums.opensuse.org/members/malcolmlewis.html) are all installed.

Any ways to fix this?

it seems to me the codecs from 1click collection pull in a earlier version of gstreamer and other stuff which causes a total mess in dependencies and breaks Cheese too.

On Thu 19 Dec 2013 01:46:01 PM CST, kimseysa wrote:

it seems to me the codecs from 1click collection pull in a earlier
version of gstreamer and other stuff which causes a total mess in
dependencies and breaks Cheese too.

Hi
You might want to follow that one up with the packman folks?
https://bugs.links2linux.org/secure/Dashboard.jspa


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

I switched all the gstreamer packages to packman and cheese is working.

This solved the issue for me, too. Thanks.

https://forums.opensuse.org/blogs/caf4926/opensuse-13-1-multi-media-restricted-format-installation-guide-149/

The link shown above does not work. You will get a 404 - Object not found.

This link is also referenced in the Multimedia and Restricted Format Installation Guide

http://forums.opensuse.org/showthread.php/407184-Multi-media-and-Restricted-Format-Installation-Guide

under the 13.1 installation section.

Tom.