Hi Christopher, On Friday 05 March 2010 18:43:13 Christopher Harvey wrote: > I've been trying to fix a problem with one of my computers that is > preventing me from using gstreamer with uvc cameras for a while now. I > asked on the gstreamer lists recently, but got no answer. > > Firstly, my camera runs fine with guvcview, and I haven't had problems with > this camera on other computers. (Namely a default OpenSUSE install, even > with gstreamer) > > I have a gentoo computer here that refuses to run the camera with > gstreamer. > > ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device > '/dev/video0' cannot capture at 320x240 > Additional debug info: > gstv4l2object.c(1919): gst_v4l2_object_set_format (): > /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: > Call to S_FMT failed for YU12 @ 320x240: Invalid argument
It's quite simple, your webcam doesn't support the YU12 format requested by gstreamer. You need to select another format (YUYV should work). > Before I dive into gstreamer source code I wanted to see if anybody here > happened to have any tips for uvc cameras and gstreamer. (Yes Cameras, I > tried a few) > > Here is some system information: > $ uname -a > Linux Tool 2.6.31-gentoo-r6 #7 SMP PREEMPT Sat Feb 20 13:32:41 EST 2010 > x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD > GNU/Linux > > Bus 001 Device 003: ID 046d:08ca Logitech, Inc. Mic (Fusion) > > [I--] [ ~] media-libs/gstreamer-0.10.25 (0.10) (tried 0.10.24 as well) > > # zcat /proc/config.gz | grep V4L > CONFIG_VIDEO_V4L2_COMMON=y > # CONFIG_VIDEO_ALLOW_V4L1 is not set > # CONFIG_VIDEO_V4L1_COMPAT is not set > CONFIG_VIDEO_V4L2=y > CONFIG_V4L_USB_DRIVERS=y > > Does this look familiar to anybody? -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel