<div dir="ltr"><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 11:18 AM, Hendrik Schober <span dir="ltr">&lt;<a href="mailto:spamtrap@gmx.de">spamtrap@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
we are using (or is that abusing?) gstreamer in order to capture<br>
video data from an USB camera. For this we have setup a v4lsrc<br>
and a fake sink and grab the data in the handoff hook of the<br>
latter. So far, so good. However, despite several hours of<br>
tinkering we haven&#39;t found out how to determine what format<br>
(width, height, encoding) the data comes in.<br>
What do we need to do to get these values?</blockquote><div><br>Check the &#39;caps&#39; in the source pad of the v4lsrc element.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
TIA,<br>
<br>
Schobi<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>Federal University of Campina Grande (UFCG)<br>

</div>