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"><<a href="mailto:ylatuya@gmail.com">ylatuya@gmail.com</a>></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">> Yeah, I call gst_init(&argv,&argc) to initialize gstreamer, and I also<br>
> use --gst-plugin-path to set plugin path to where I installed OAH<br>
> build.<br>
><br>
> On Fri, Oct 23, 2009 at 7:19 AM, <a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a><br>
> <<a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a>> wrote:<br>
><br>
><br>
> Â Â Â Â On Thu, Oct 22, 2009 at 5:39 PM, Peter Cai<br>
> Â Â Â Â <<a href="mailto:newptcai@gmail.com">newptcai@gmail.com</a>> wrote:<br>
> Â Â Â Â Â Â Â Â Today I tried the OAH build of gstreamer and I could<br>
> Â Â Â Â Â Â Â Â compile the hello world example.<br>
><br>
> Â Â Â Â Â Â Â Â But when the code reaches the following lines, it<br>
> Â Â Â Â Â Â Â Â meets a problem:<br>
><br>
>          source  = gst_element_factory_make ("filesrc",<br>
> Â Â Â Â Â Â Â Â "file-source");<br>
>          demuxer  = gst_element_factory_make ("oggdemux",<br>
> Â Â Â Â Â Â Â Â "ogg-demuxer");<br>
>          decoder  = gst_element_factory_make ("vorbisdec",<br>
> Â Â Â Â Â Â Â Â "vorbis-decoder");<br>
>          conv   = gst_element_factory_make ("audioconvert",<br>
> Â Â Â Â Â Â Â Â "converter");<br>
>          sink   = gst_element_factory_make<br>
> Â Â Â Â Â Â Â Â ("autoaudiosink", "audio-output");<br>
><br>
> Â Â Â Â Â Â Â Â NONE of these elements could be found, but gst-inspect<br>
> Â Â Â Â Â Â Â Â could find all of them.<br>
><br>
> Â Â Â Â Â Â Â Â I turned on the log and it prints out :<br>
><br>
><br>
>         0:00:00.062400000 [333m 4904 [00m  005429D0<br>
> Â Â Â Â Â Â Â Â [32;01mINFO [00m [00;01;37;41m<br>
> Â Â Â Â Â Â Â Â GST_ELEMENT_FACTORY<br>
> Â Â Â Â Â Â Â Â gstelementfactory.c:484:gst_element_factory_make: [00m<br>
> Â Â Â Â Â Â Â Â no su<br>
> Â Â Â Â Â Â Â Â ch element factory "filesrc"!<br>
><br>
> Â Â Â Â Â Â Â Â I think it's not the problem of path, because the dlls<br>
> Â Â Â Â Â Â Â Â of gstreamer is in PATH and I put it in the command<br>
> Â Â Â Â Â Â Â Â line parameters to make sure:<br>
><br>
> Â Â Â Â Â Â Â Â --gst-debug-level=3 --gst-plugin-path="C:/Program<br>
> Â Â Â Â Â Â Â Â Files/FOSS/bin"<br>
</div></div>The plugins should be in lib/gstreamer0.10 and not in the bin folder,<br>
this way you don't mix both. That's probably why GStreamer can'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">><br>
> Â Â Â Â Â Â Â Â Any suggestions?<br>
><br>
> Â Â Â Â Are you calling gst_init?<br>
><br>
><br>
><br>
> Â Â Â Â Â Â Â Â --<br>
> Â Â Â Â Â Â Â Â look to the things around you,the immediate world<br>
> Â Â Â Â Â Â Â Â around you, if you are alive,it will mean something to<br>
>         you ——Paul Strand<br>
><br>
><br>
> Â Â Â Â Â Â Â Â ------------------------------------------------------------------------------<br>
> Â Â Â Â Â Â Â Â Come build with us! The BlackBerry(R) Developer<br>
> Â Â Â Â Â Â Â Â Conference in SF, CA<br>
> Â Â Â Â Â Â Â Â is the only developer event you need to attend this<br>
> Â Â Â Â Â Â Â Â year. Jumpstart your<br>
> Â Â Â Â Â Â Â Â developing skills, take BlackBerry mobile applications<br>
> Â Â Â Â Â Â Â Â to market and stay<br>
> Â Â Â Â Â Â Â Â ahead of the curve. Join us from November 9 - 12,<br>
> Â Â Â Â Â Â Â Â 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>
><br>
><br>
><br>
><br>
> Â Â Â Â --<br>
> Â Â Â Â Thiago Sousa Santos<br>
><br>
> Â Â Â Â ------------------------------------------------------------------------------<br>
> Â Â Â Â Come build with us! The BlackBerry(R) Developer Conference in<br>
> Â Â Â Â SF, CA<br>
> Â Â Â Â is the only developer event you need to attend this year.<br>
> Â Â Â Â Jumpstart your<br>
> Â Â Â Â developing skills, take BlackBerry mobile applications to<br>
> Â Â Â Â market and stay<br>
> Â Â Â Â ahead of the curve. Join us from November 9 - 12, 2009.<br>
> Â Â Â Â 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>
><br>
><br>
><br>
><br>
> --<br>
> look to the things around you,the immediate world around you, if you<br>
> are alive,it will mean something to you ——Paul Strand<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>
> _______________________________________________ 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>