[gst-devel] getting data format info

thiagoss thiagossantos at gmail.com
Mon Sep 1 16:43:09 CEST 2008


On Mon, Sep 1, 2008 at 11:18 AM, Hendrik Schober <spamtrap at gmx.de> wrote:

> Hi,
>
> we are using (or is that abusing?) gstreamer in order to capture
> video data from an USB camera. For this we have setup a v4lsrc
> and a fake sink and grab the data in the handoff hook of the
> latter. So far, so good. However, despite several hours of
> tinkering we haven't found out how to determine what format
> (width, height, encoding) the data comes in.
> What do we need to do to get these values?


Check the 'caps' in the source pad of the v4lsrc element.


>
>
> TIA,
>
> Schobi
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080901/62530bb8/attachment.htm>


More information about the gstreamer-devel mailing list