You are not logged in.

#1 2014-04-16 12:59:40

idiotz
Member
From: Switzerland
Registered: 2014-03-22
Posts: 23

[SOLVED] cheese: bus or gst problem?

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

#2 2014-04-30 09:18:09

idiotz
Member
From: Switzerland
Registered: 2014-03-22
Posts: 23

Re: [SOLVED] cheese: bus or gst problem?

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

#3 2014-04-30 09:32:55

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] cheese: bus or gst problem?

idiotz wrote:

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

#4 2014-04-30 09:54:11

idiotz
Member
From: Switzerland
Registered: 2014-03-22
Posts: 23

Re: [SOLVED] cheese: bus or gst problem?

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

#5 2014-05-01 08:22:53

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: [SOLVED] cheese: bus or gst problem?

The permission problem is described here:
https://bugs.archlinux.org/task/39001

Offline

Board footer

Powered by FluxBB