Hi, gstreamer-devel:<br><br> If you only wanna get codec/width/height infos, that's easy. Connect a decodebin with the filesrc, then checks the caps of the video & 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"><<a href="mailto:fred_gaudy@yahoo.fr">fred_gaudy@yahoo.fr</a>></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'm new to gstreamer, and I would get information about a video file.<br>
<br>I want to get :<br> - codec<br> - width <br> - height<br><br>I created a first "filesrc" GstElement and I tried to gets its capabilities, but I don'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 "have-type" signal, but I detect only "system-stream" 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's challenge<br>
Build the coolest Linux based applications with Moblin SDK & 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&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&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>