[gst-devel] v4l2sink with USB webcam gadget
David Schleef
ds at entropywave.com
Thu Feb 10 11:15:13 CET 2011
On Thu, Feb 10, 2011 at 09:15:49AM +0200, Marco Ballesio wrote:
> Hi,
>
> On Wed, Feb 9, 2011 at 9:17 PM, Will Kelleher <will.kelleher at nuvixa.com> wrote:
> > Hi everyone,
> >
> > I've been trying to use my TI Davinci hardware as a USB webcam gadget.
> > I backported the webcam module to the 2.6.32 kernel and I can
> > compile/load it successfully. This module creates a v4l2 output
> > device that can accept YUY2 and MJPEG formats.
> >
> > When I run
> >
> > gst-launch videotestsrc ! v4l2sink device=/dev/video1
> >
> > I get
> >
> > "ERROR: from element
> > /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Could not
> > negotiate format"
>
> probably you need to convert format/resolution/frame rate. If you want
> to know what went wrong with your caps negotiation, use -m as an
> option for gst-launch. If you want even more details, you can set
> GST_DEBUG=GST_CAPS:3 (or more).
You're much better off debugging caps negotiation problems using:
GST_DEBUG=capsdebug:3 gst-launch videotestsrc ! capsdebug ! v4l2sink
David
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list