Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; If you only wanna get codec/width/height infos, that&#39;s easy. Connect a decodebin with the filesrc, then checks the caps of&nbsp; the video &amp; audio buffers come from decodebin, you can get these infos.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/3 Frédéric Gaudy <span dir="ltr">&lt;<a href="mailto:fred_gaudy@yahoo.fr">fred_gaudy@yahoo.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif;">Hi,<br><br>I&#39;m new to gstreamer, and I would get information about a video file.<br>
<br>I want to get :<br>&nbsp;&nbsp;&nbsp; - codec<br>&nbsp;&nbsp;&nbsp; - width <br>&nbsp;&nbsp;&nbsp; - height<br><br>I created a first &quot;filesrc&quot; GstElement and I tried to gets its capabilities, but I don&#39;t know the name I should use with get_pad() function.<br>
<br>Maybe I must add a demux to the pipline, but i need to detect codec first?<br><br>I tried with findtype with the &quot;have-type&quot; signal, but I detect only &quot;system-stream&quot; capability.<br><br>Do you have some hints to give me?<br>
</div></div><br>



      </div><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>
<br></blockquote></div><br>