<div dir="ltr">Hi,<br><br>I dont know exaclty if exists a &quot;isPlayable&quot; method, but I know that is possible to browse all the available plugins using the GSTRegistry, them, check all available mimetypes. You can save this mimetypes and compare with your uri.<br>
<br>Look at the GMediaRenderer project, it checks the mimetypes in the initialization of the application.<br><br>After you have a list of the supported mimetypes, you can use a typefind in you URI and compare with your list.<br>
<br>Something like you run the gst-inspect and the gst-typefind in the file, and compare the results.<br><br>[]s<br><br><div class="gmail_quote">On Mon, Jul 14, 2008 at 8:35 PM, Ash &lt;<a href="mailto:hashbrown100@hotmail.com">hashbrown100@hotmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
Hello,<br>I want my application to tell me if a certain file or uri is playable by gstreamer (meaning the system has the appropriate codecs and can create a full pipeline). <br>&nbsp;<br>Something like &quot;bool isPlayable(const char* uri)&quot;.<br>
&nbsp;<br>Is there a quick way to do this with gstreamer? Sort of like a gst_test_pipeline function?<br>&nbsp;<br>Thanks!<br><hr>Making the world a better place one message at a time. <a href="http://www.imtalkathon.com/?source=EML_WLH_Talkathon_BetterPlace" target="_blank">Check out the i&#39;m Talkathon.</a></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><br clear="all"><br>-- <br>Danilo Freire<br>Laboratório de Sistemas Embarcados e Computação Pervasiva<br>Centro de Engenharia Elétrica e Informática - CEEI<br>Universidade Federal de Campina Grande - UFCG
</div>