You are not logged in.

#1 2015-04-11 19:24:06

nielsk
Member
Registered: 2015-04-10
Posts: 15

Cheese complains about missing cluttervideosink

Hi,

afetr upgraidng to Gnome 3.16 cheese brings the following error:
Error during camera setup: One or more needed GStreamer elements are missing: cluttervideosink.

Apparently this error happened to people in the past and deleting ~/.cache/gstreamer-1.0/registry.x86_64.bin helped them but in my case this doesn't work.
When I start cheese from the command line after deleting the file I get the following output:

(gst-plugin-scanner:16636): GLib-GObject-WARNING **: cannot register existing type 'ClutterGstVideoSink'

(gst-plugin-scanner:16636): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(gst-plugin-scanner:16636): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:16636): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
** Message: cheese-application.vala:211: Error during camera setup: One or more needed GStreamer elements are missing: cluttervideosink.

Any ideas?

Offline

#2 2015-04-12 21:12:21

medo tareq
Member
Registered: 2015-04-12
Posts: 23

Re: Cheese complains about missing cluttervideosink

the same problem i faced i think this is a bug in the new gnome version because  gstreamer is already available
also (modem-manager-gui) does not work

Last edited by medo tareq (2015-04-12 21:14:28)

Offline

#3 2015-04-15 19:32:27

watgrad
Member
From: Waterloo, Ontario
Registered: 2014-09-21
Posts: 17

Re: Cheese complains about missing cluttervideosink

I also experience this error.  Will wait for an update I guess...

Offline

#4 2015-04-16 12:42:28

sircenty
Member
From: Nairobi
Registered: 2015-04-14
Posts: 1

Re: Cheese complains about missing cluttervideosink

I have the same problem with both modem manager and cheese, and my broadband modem isn't connecting either. yet it is being detected.

Offline

#5 2015-04-16 20:34:44

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

This is strange. I have *two* clutter-gst packages installed:

clutter-gst
clutter-gst2

Cheese, Empathy and Sushi depend on clutter-gst2, while clutter-gst is installed because it's required by clutter, gst-plugins-base-libs and libxdamage...

Version confllict? I'm having problems making calls with Empathy too...


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#6 2015-04-17 11:55:05

beanaroo
Member
Registered: 2013-03-05
Posts: 39

Re: Cheese complains about missing cluttervideosink

Same issue here too.

Offline

#7 2015-04-18 03:16:39

zeos
Member
From: Waco, Tx
Registered: 2010-11-05
Posts: 5
Website

Re: Cheese complains about missing cluttervideosink

I too am having this error.


Scooty Puff Jr. suuuuuuuuuuuuuuuuuccccckkkkkkkkkksssssssss!!!!!!!!!!

Offline

#8 2015-04-20 16:17:59

ricardofunke
Member
Registered: 2009-11-03
Posts: 46

Re: Cheese complains about missing cluttervideosink

Same here

Offline

#9 2015-04-21 01:28:40

CursedMonkey
Member
Registered: 2008-08-30
Posts: 45

Re: Cheese complains about missing cluttervideosink

I managed to fix this by removing the ~/.cache/gstreamer-1.0 folder.

Offline

#10 2015-04-22 01:26:03

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

CursedMonkey wrote:

I managed to fix this by removing the ~/.cache/gstreamer-1.0 folder.

I tried this too, but it didn't work.


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#11 2015-04-22 13:05:45

ricardofunke
Member
Registered: 2009-11-03
Posts: 46

Re: Cheese complains about missing cluttervideosink

removing the ~/.cache/gstreamer-1.0 folder doesn't work for me either

Offline

#12 2015-04-23 19:57:59

ReiserFS
Member
Registered: 2014-02-01
Posts: 57

Re: Cheese complains about missing cluttervideosink

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

Offline

#13 2015-04-23 20:44:36

ricardofunke
Member
Registered: 2009-11-03
Posts: 46

Re: Cheese complains about missing cluttervideosink

ReiserFS wrote:

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

It works! Although I had to uninstall totem because it depends on clutter-gst, but after the steps above and testing cheese I could install totem again and everything keeps working.

Thanks!

Offline

#14 2015-04-23 23:01:40

watgrad
Member
From: Waterloo, Ontario
Registered: 2014-09-21
Posts: 17

Re: Cheese complains about missing cluttervideosink

To get this to work, I had to un-install Totem and Pitivi first. (both require clutter-gst)
Then remove clutter-get. 
Cheese could now start - no error.
Reinstalling Totem and Pitivi did not impact Cheese - all now work.
Thanks  ReiserFS

Offline

#15 2015-04-23 23:06:49

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 675

Re: Cheese complains about missing cluttervideosink

ricardofunke wrote:
ReiserFS wrote:

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

It works! Although I had to uninstall totem because it depends on clutter-gst, but after the steps above and testing cheese I could install totem again and everything keeps working.!

I did the same sequence and had to uninstall totem as well. But when I re-installed totem it pulled clutter-gst back in and I got the same error starting cheese.

I then did the same sequence again but this time I started cheese (successfully) before I re-installed totem. Then I re-installed totem and cheese still worked! Rebooted to make sure but cheese still worked again.

There's gotta be a silly bug somewhere to require that crazy sequence.

Offline

#16 2015-04-24 20:36:43

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

Yes, because this error occurs with a new user, IE somebody without the previously created ~/.cache/gstreamer-1.0/registry.x86_64.bin file AND has clutter-gst installed. I tested it. Either:

1. the clutter-gst package is obsolete
2. there's something wrong with cheese when creating that database file


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#17 2015-04-24 20:41:47

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

I'll try to build totem without clutter-gst installed and see what happens.


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#18 2015-04-24 20:48:10

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

I got:

configure: error: Package requirements (gstreamer-1.0 >= 1.3.1 gstreamer-base-1.0 >= 1.3.1 gstreamer-plugins-base-1.0 >= 1.4.2 gstreamer-pbutils-1.0 gstreamer-tag-1.0 >= 0.11.93 gstreamer-audio-1.0 gstreamer-video-1.0 clutter-1.0 >= 1.17.3 clutter-gst-3.0 >= 2.99.2 clutter-gtk-1.0 cairo >= 1.14.0 gsettings-desktop-schemas) were not met:

No package 'clutter-gst-3.0' found

Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#19 2015-05-04 17:20:39

joehillen
Member
Registered: 2015-01-08
Posts: 20

Re: Cheese complains about missing cluttervideosink

ReiserFS wrote:

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

This didn't work for me. I didn't have clutter-gst installed and removing ~/.cache/gstreamer-1.0/ has no effect.

Offline

#20 2015-05-09 08:51:36

nielsk
Member
Registered: 2015-04-10
Posts: 15

Re: Cheese complains about missing cluttervideosink

ReiserFS wrote:

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

I overread the first line in the past and tried it just today and it worked. Even after reinstalling clutter-gst for Totem. Thanks a lot smile

Offline

#21 2015-05-12 21:26:50

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

nielsk wrote:
ReiserFS wrote:

1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work

I overread the first line in the past and tried it just today and it worked. Even after reinstalling clutter-gst for Totem. Thanks a lot smile

Have you tried using Cheese as a new user with the clutter-gst package installed ? The ~/.cache/gstreamer-1.0/registry.x86_64.bin file is created when you start Cheese if it doesn't exist. If the clutter-gst package is installed and Cheese doesn't work, then it's a serious bug.


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#22 2015-05-13 18:29:48

nielsk
Member
Registered: 2015-04-10
Posts: 15

Re: Cheese complains about missing cluttervideosink

I created now a new user and I still have the same problem (doesn't start with the cluttervideosink-error).
In the meantime I also tested Cheese a bit more. In my last post I was happy that it started but I didn't take a picture. Taking a picture results in a black screen in cheese with the following text: There was an error playing video from the webcam.

For testing purposes I just started cheese from the terminal and it suddenly works. Even when starting from Gnome oO

I will watch it but having it working again will make my kids happy.

Last edited by nielsk (2015-05-13 18:31:10)

Offline

#23 2015-05-25 03:00:38

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: Cheese complains about missing cluttervideosink

And the 'there was an error playing video from the webcam' only happens when you try to take a picture, not when you record a video.


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#24 2015-05-25 06:14:29

nielsk
Member
Registered: 2015-04-10
Posts: 15

Re: Cheese complains about missing cluttervideosink

It also happened when tried to record a video.
Right now it is still working

Offline

#25 2015-06-30 21:28:36

lazysunbather
Member
From: Poznań, Poland
Registered: 2013-09-18
Posts: 12

Re: Cheese complains about missing cluttervideosink

The bug occurs because the GStreamer plugins available in both clutter-gst2 and clutter-gst define the same GObject types, something that the GType system prohibits, as documented by the error message.

Whenever a plugin fails to load, the GStreamer library puts it on a blacklist in order to prevent it from being registered in the registry. This is why, in order to fix this issue, it is needed to :

  1. Remove clutter-gst from your system, leaving only clutter-gst2.

  2. Remove ~/.cache/gstreamer-1.0.

  3. Start any GStreamer application, for example cheese.

I think that clutter-gst2 should be added to clutter-gst's conflicts (and vice versa) in PKGBUILD in order to prevent such issues.

Read on for more details.

Although the names of the plugin files themselves are different between versions (namely libgstclutter-3.0.so and libgstclutter.so for versions 3 and 2, respectively), the elements they want to register with the GStreamer subsystem are the same as far as the GType system is involved. Since libgstclutter-3.0.so gets loaded first, it registers its own ClutterGstVideoSink (via the plugin initialization routine), which leads to the error when the later loaded libgstclutter.so wants to register its own one.

I haven't seen the fact that versions 2 and 3 of clutter-gst can't be used simultaneously in one GStreamer installation mentioned anywhere in its documentation, but looking at the code says just that (version 3 and version 2).

The plugin initialization function in version 3 only directly registers the "clutterautovideosink" element. However, the element's initialization function explicitly creates a ClutterGstVideoSink, which triggers its registration in GType due to it being the first time the type is used. This is why the later registration by the version 2 of the plugin fails.

Last edited by lazysunbather (2015-06-30 21:29:00)


A plastic bag stranded at the lights, this once was me!

Offline

Board footer

Powered by FluxBB