[gst-devel] v4l2src0: Could not negotiate format

Stefan Kost ensonic at hora-obscura.de
Tue Nov 3 18:34:05 CET 2009


John Buckley schrieb:
> Hello,
> I've been trying to get an approved USB webcam (Creative Optia AF) to run
> using GStreamer and sending the output to an  XWindow and I keep getting
> failures.
>
> I have the uvcvideo module loaded and /dev/video0 is present.
>
> I am running openembedded on the Gumstix Verdex Pro XL6P.  Could it be that
> the camera is USB 2.0 and the Verdex Pro is only rated for USB 1.1?
>
> This is what I see when I plug the camera in...
>
> root at gumstix-custom-verdex:~# usb 1-2: new full speed USB device using
> pxa27x-ohci and address 4
> usb 1-2: configuration #1 chosen from 1 choice
> uvcvideo: Found UVC 1.00 device VF0560 Live! Cam Optia AF (041e:406d)
> input: VF0560 Live! Cam Optia AF as
> /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0/input/input3
> 4:3:1: cannot get freq at ep 0x84
>
> When I try to gst-launch with the v4lsrc or v4l2src elements and I get the
> error below.  I have tried a variety of settings using the 'video/x-raw-rgb'
> cap but I always get the same error.  The videotestsrc element works fine
> with ximagesink.
>
> root at gumstix-custom-verdex:~# gst-launch v4l2src ! ximagesink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not
> negotiate format
> Additional debug info:
> gstbasesrc.c(2584): gst_base_src_start ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Check your filtered caps, if any
> Setting pipeline to NULL ...
> Freeing pipeline ...
> root at gumstix-custom-verdex:~# 
>
> Any help would be greatly appreciated...
> Thanks,
> John Buckley
>
>   
can you run v4l-info and post the output. Or look at the log of
GST_DEBUG=v4l2src:4. Or just try gst-launch v4l2src ! decodebin2 !
xvimagesink

Stefan




More information about the gstreamer-devel mailing list