[gst-devel] v4l2src0: Could not negotiate format

Wim Taymans wim.taymans at gmail.com
Tue Nov 3 18:05:53 CET 2009


On Sat, 2009-10-31 at 14:51 -0700, John Buckley wrote:
> 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:~# 
> 
It looks like your camera does not produce anything that can be
displayed by ximagesink. Cameras usually output yuv data and some
produce jpeg (or otherwise) encoded data. 

Wim


> Any help would be greatly appreciated...
> Thanks,
> John Buckley
> 






More information about the gstreamer-devel mailing list