You are not logged in.
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
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
I also experience this error. Will wait for an update I guess...
Offline
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
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
Same issue here too.
Offline
I too am having this error.
Scooty Puff Jr. suuuuuuuuuuuuuuuuuccccckkkkkkkkkksssssssss!!!!!!!!!!
Offline
Same here
Offline
I managed to fix this by removing the ~/.cache/gstreamer-1.0 folder.
Offline
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
removing the ~/.cache/gstreamer-1.0 folder doesn't work for me either
Offline
1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will work
Offline
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
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
ReiserFS wrote:1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will workIt 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
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
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
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
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
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
Offline
ReiserFS wrote:1.remove clutter-gst package
2.remove ~/.cache/gstreamer-1.0/
3.will workI 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
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
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
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
It also happened when tried to record a video.
Right now it is still working
Offline
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 :
Remove clutter-gst from your system, leaving only clutter-gst2.
Remove ~/.cache/gstreamer-1.0.
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