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>