You are not logged in.
Hi all
cheese won't take pictures. The webcam works fine, the image is there but when I take a picture it says
There was an error playing video from the webcam
If I start it through a terminal it gives
** (cheese:28788): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(cheese:28788): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(cheese:28788): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
However, if I do it with administrative rights (sudo cheese), I only get the GLib and GStreamer issues without the WARNING. And cheese is able to take a picture. I already set the photo-path with dconf-editor to some place where it has the rights to write to (/home/me/pictures/webcam/).
Any ideas?
Thank you
Last edited by idiotz (2014-05-07 10:00:23)
Offline
Also when I take a picture it gives
(cheese:1461): cheese-WARNING **: Error while writing to file "/some_picture.jpg".: gstmultifilesink.c(653): gst_multi_file_sink_render (): /GstCameraBin:camerabin/GstMultiFileSink:imagebin-filesink:
Permission denied
Offline
However, if I do it with administrative rights (sudo cheese), I only get the GLib and GStreamer issues without the WARNING. And cheese is able to take a picture
Are you in the video group? Check if you need other privileges.
Edit: Changes since systemd, might be different now.
Last edited by emeres (2014-04-30 09:41:34)
Offline
Thanks for the answer.
Indeed, being in the video group didn't help.
How do I check which groups are needed? all files I've checked were owned by root..
Offline
The permission problem is described here:
https://bugs.archlinux.org/task/39001
Offline