Oh, yes you are right.  The plugins are not in bin!<div><br></div><div>Thanks a lot.<br><br><div class="gmail_quote">On Fri, Oct 23, 2009 at 5:47 PM, Andoni Morales Alastruey <span dir="ltr">&lt;<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">El vie, 23-10-2009 a las 09:19 +0800, Peter Cai escribió:<br>
<div><div></div><div class="h5">&gt; Yeah, I call gst_init(&amp;argv,&amp;argc) to initialize gstreamer, and I also<br>
&gt; use --gst-plugin-path to set plugin path to where I installed OAH<br>
&gt; build.<br>
&gt;<br>
&gt; On Fri, Oct 23, 2009 at 7:19 AM, <a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a><br>
&gt; &lt;<a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;         On Thu, Oct 22, 2009 at 5:39 PM, Peter Cai<br>
&gt;         &lt;<a href="mailto:newptcai@gmail.com">newptcai@gmail.com</a>&gt; wrote:<br>
&gt;                 Today I tried the OAH build of gstreamer and I could<br>
&gt;                 compile the hello world example.<br>
&gt;<br>
&gt;                 But when the code reaches the following lines, it<br>
&gt;                 meets a problem:<br>
&gt;<br>
&gt;                   source   = gst_element_factory_make (&quot;filesrc&quot;,<br>
&gt;                 &quot;file-source&quot;);<br>
&gt;                   demuxer  = gst_element_factory_make (&quot;oggdemux&quot;,<br>
&gt;                 &quot;ogg-demuxer&quot;);<br>
&gt;                   decoder  = gst_element_factory_make (&quot;vorbisdec&quot;,<br>
&gt;                 &quot;vorbis-decoder&quot;);<br>
&gt;                   conv     = gst_element_factory_make (&quot;audioconvert&quot;,<br>
&gt;                 &quot;converter&quot;);<br>
&gt;                   sink     = gst_element_factory_make<br>
&gt;                 (&quot;autoaudiosink&quot;, &quot;audio-output&quot;);<br>
&gt;<br>
&gt;                 NONE of these elements could be found, but gst-inspect<br>
&gt;                 could find all of them.<br>
&gt;<br>
&gt;                 I turned on the log and it prints out :<br>
&gt;<br>
&gt;<br>
&gt;                 0:00:00.062400000 [333m 4904 [00m   005429D0<br>
&gt;                 [32;01mINFO [00m [00;01;37;41m<br>
&gt;                 GST_ELEMENT_FACTORY<br>
&gt;                 gstelementfactory.c:484:gst_element_factory_make: [00m<br>
&gt;                 no su<br>
&gt;                 ch element factory &quot;filesrc&quot;!<br>
&gt;<br>
&gt;                 I think it&#39;s not the problem of path, because the dlls<br>
&gt;                 of gstreamer is in PATH and I put it in the command<br>
&gt;                 line parameters to make sure:<br>
&gt;<br>
&gt;                 --gst-debug-level=3 --gst-plugin-path=&quot;C:/Program<br>
&gt;                 Files/FOSS/bin&quot;<br>
</div></div>The plugins should be in lib/gstreamer0.10 and not in the bin folder,<br>
this way you don&#39;t mix both. That&#39;s probably why GStreamer can&#39;t find<br>
any of those plugins you are trying to load. You can also use the<br>
environment variable GST_PLUGIN_PATH to set the plugins path.<br>
On Windows, if you prefer, you can also try GStreamer<br>
WinBuilds(<a href="http://www.gstreamer-winbuild.ylatuya.es/" target="_blank">http://www.gstreamer-winbuild.ylatuya.es/</a>)<br>
<font color="#888888">Andoni<br>
</font><div><div></div><div class="h5">&gt;<br>
&gt;                 Any suggestions?<br>
&gt;<br>
&gt;         Are you calling gst_init?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                 --<br>
&gt;                 look to the things around you,the immediate world<br>
&gt;                 around you, if you are alive,it will mean something to<br>
&gt;                 you ——Paul Strand<br>
&gt;<br>
&gt;<br>
&gt;                 ------------------------------------------------------------------------------<br>
&gt;                 Come build with us! The BlackBerry(R) Developer<br>
&gt;                 Conference in SF, CA<br>
&gt;                 is the only developer event you need to attend this<br>
&gt;                 year. Jumpstart your<br>
&gt;                 developing skills, take BlackBerry mobile applications<br>
&gt;                 to market and stay<br>
&gt;                 ahead of the curve. Join us from November 9 - 12,<br>
&gt;                 2009. Register now!<br>
&gt;                 <a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
&gt;                 _______________________________________________<br>
&gt;                 gstreamer-devel mailing list<br>
&gt;                 <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;                 <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;         Thiago Sousa Santos<br>
&gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;         Come build with us! The BlackBerry(R) Developer Conference in<br>
&gt;         SF, CA<br>
&gt;         is the only developer event you need to attend this year.<br>
&gt;         Jumpstart your<br>
&gt;         developing skills, take BlackBerry mobile applications to<br>
&gt;         market and stay<br>
&gt;         ahead of the curve. Join us from November 9 - 12, 2009.<br>
&gt;         Register now!<br>
&gt;         <a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
&gt;         _______________________________________________<br>
&gt;         gstreamer-devel mailing list<br>
&gt;         <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;         <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; look to the things around you,the immediate world around you, if you<br>
&gt; are alive,it will mean something to you ——Paul Strand<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
&gt; is the only developer event you need to attend this year. Jumpstart your<br>
&gt; developing skills, take BlackBerry mobile applications to market and stay<br>
&gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
&gt; <a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
&gt; _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>

<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand<br>
</div>