[gst-embedded] Can v4l2src with caps=image/jpeg ?

Stefan Kost ensonic at hora-obscura.de
Tue Mar 10 09:07:19 PDT 2009


dongmei zhou schrieb:
> hi All,
>  
>   I  check  the media type that  V4l2src supports  with gst-inspect
> and it shows it can support pads: image/jpeg
> while when I try that
>  
>    gst-launch  v4l2src ! image/jpeg  
> width=640,height=480,bpp=24,depth=24,framerate=15/1 ! jpegdec !
> xvimagesink
>   it shows:
>    Error : from element pipeline0/v2l2src0: could not negotiate format
>   .....
>   check your filtered caps,
the template-caps contain all possible formats. When you actually open
the device it will limit to what it can actually do.

Stefan

>
>   I don't know the reason, Any  tips will be appreciated!
>   thanks in advance!
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gstreamer-embedded mailing list
> Gstreamer-embedded at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
>   





More information about the Gstreamer-embedded mailing list