You are not logged in.

#1 2015-04-21 02:27:34

Kale Good
Member
Registered: 2014-08-17
Posts: 46

Webcam Fails; gstreamer update, drive change, or unidentified?

Capturing stills or video with cheese worked previously. I'm running the lts kernel.  This may have happened due to an -Syu or a new drive being used for home directories.

On first running cheese after boot with either with simple "cheese" command or

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so cheese

produces

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

Cheese displays thin vertical lines.

The second time cheese is run, the following output is given

(cheese:1343): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
libv4l2: error turning on stream: Invalid argument

(cheese:1343): cheese-WARNING **: Could not read from resource.: gstv4l2bufferpool.c(1023): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstV4l2Src:video_source:
poll error 1: Invalid argument (22)

Some google results suggested a permissions issue; sudo cheese segfaults.

I've not attempted webcam capture with VLC before, so I may be doing this wrong. The results I'm getting are no video showing if used before cheese. If cheese is run first, I get a similar error

libv4l2: error turning on stream: Invalid argument
[00007fa754000e68] v4l2 demux error: cannot start streaming: Invalid argument
[00007fa754000e68] v4l2 demux error: not a radio tuner device
libv4l2: error turning on stream: Invalid argument
[00007fa754000e68] v4l2 access error: cannot start streaming: Invalid argument
[00007fa75c000bf8] core input error: open of `v4l2:///dev/video0' failed

guvcview gives a similar issue.

https://bugs.archlinux.org/task/39001 makes me suspect that the issue was changing out the drive; however, I can't find ~/.config/users-dir.dirs.

I seem to remember pacman prompting me for some change related to gstreamer a few -Syu's ago, so that might also be it. Not sure how to troubleshoot that.

thanks!

Offline

Board footer

Powered by FluxBB