<div>Hi, gstreamer-devel:</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; Sorry guy, Actually I have no experiences on running gstreamer on windows. So you should dig it yourself or ask somebody else. On linux, seems there is no need to set any environment variables. I compiled gstreamer and plugins on linux and install, that&#39;s all. Everything works fine.</div>

<div>&nbsp;</div>
<div>Eric Zhang<br><br></div>
<div class="gmail_quote">2008/12/2 Àî´«·å <span dir="ltr">&lt;<a href="mailto:lichuanf@neusoft.com">lichuanf@neusoft.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi, all:<br>&nbsp; &nbsp; &nbsp; &nbsp;Thank you for Eric Zhang&#39;s help.<br>&nbsp; &nbsp; &nbsp; &nbsp;I run the command: `gst-inspect mp3parse&#39;, and can not find the<br>
element. Now I am reading ¡¶Running and debugging GStreamer Applications¡·<br>form<br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-<br>
running.html</a>. I found the environment variables do not be set, I hope that<br>is the reason.<br>&nbsp; &nbsp; &nbsp; &nbsp;Can you tell me how many environment variables should be set and<br>their value?<br>&nbsp; &nbsp; &nbsp; &nbsp;Thank you!<br><br>-----Original Message-----<br>
Message: 1<br>Date: Tue, 02 Dec 2008 10:32:00 +0900<br>From: ??? &lt;<a href="mailto:lichuanf@neusoft.com">lichuanf@neusoft.com</a>&gt;<br>Subject: [gst-devel] Help!<br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>, <a href="mailto:nicolas.m.zhang@gmail.com">nicolas.m.zhang@gmail.com</a><br>
Message-ID: &lt;4CC50AED20F74968A59D023329095C9F@vaioPC&gt;<br>Content-Type: text/plain; charset=&quot;gb2312&quot;<br><br>Hi, all<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thank you for Eric Zhang?s help yesterday.<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I download gstreamer, gtk+, glib, libxml2 to config my Visual<br>
Studio 2008. But when I run the following code I found something different<br>form it should be.<br><br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GstElement *element;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* init GStreamer */<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_init (&amp;argc, &amp;argv);<br>
<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;get_default_registry();<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* create element */<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;element = gst_element_factory_make(&quot;mp3parse&quot;, &quot;mp3-parser&quot;);<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (!element)<br>
<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;g_print (&quot;Failed to create element of type<br>&#39;fakesrc&#39;\n&quot;);<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return -1;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_object_unref (GST_OBJECT (element));<br>
<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The function gst_element_factory_make(&quot;mp3parse&quot;,<br>&quot;mp3-parser&quot;) return null, and then I called gst_element_factory_find() ,but<br>return null.<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Can someone tell me why? Maybe I need to config some plugins<br>
but I can not find anything about this from internet specifically about the<br>configuration of Windows environment. I need your help.<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thank you!<br><br>----------------------------------------------------------------------------<br>
-----------------------<br>Confidentiality Notice: The information contained in this e-mail and any<br>accompanying attachment(s)<br>is intended only for the use of the intended recipient and may be<br>confidential and/or privileged of<br>
Neusoft Group Ltd., &nbsp;its subsidiaries and/or its affiliates. If any reader<br>of this communication is<br>not the intended recipient, unauthorized use, forwarding, printing,<br>storing, disclosure or copying<br>is strictly prohibited, and may be unlawful.If you have received this<br>
communication in error,please<br>immediately notify the sender by return e-mail, and delete the original<br>message and all copies from<br>your system. Thank you.<br>----------------------------------------------------------------------------<br>
-----------------------<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 2 Dec 2008 10:30:55 +0800<br>From: &quot;Eric Zhang&quot; &lt;<a href="mailto:nicolas.m.zhang@gmail.com">nicolas.m.zhang@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Help!<br>To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>Message-ID:<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:bd9246050812011830i9d53479t7f31fba8b12f2a52@mail.gmail.com">bd9246050812011830i9d53479t7f31fba8b12f2a52@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;gb2312&quot;<br><br>Hi, gstreamer-devel:<br><br>&nbsp; &nbsp;You can first run the command: `gst-inspect mp3parse&#39; to check whether<br>this elements exist. If it exists, re-run your program with debug option<br>
open: --gst-debug=3. I think you can figure out the problem in debug infos.<br><br>Eric Zhang<br><br>2008/12/2 ??? &lt;<a href="mailto:lichuanf@neusoft.com">lichuanf@neusoft.com</a>&gt;<br><br>&gt; &nbsp;Hi, all<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thank you for Eric Zhang&#39;s help yesterday.<br>
&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I download gstreamer, gtk+, glib, libxml2 to config my<br>Visual<br>&gt; Studio 2008. But when I run the following code I found something different<br>&gt; form it should be.<br>&gt;<br>&gt;<br>
&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GstElement *element;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* init GStreamer */<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gst_init (&amp;argc, &amp;argv);<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_default_registry();<br>&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* create element */<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; element = gst_element_factory_make(&quot;mp3parse&quot;,<br>&quot;mp3-parser&quot;);<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!element)<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br>
&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_print (&quot;Failed to create element of type<br>&gt; &#39;fakesrc&#39;\n&quot;);<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return -1;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br>&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gst_object_unref (GST_OBJECT (element));<br>&gt;<br>&gt;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The function gst_element_factory_make(&quot;mp3parse&quot;,<br>&gt; &quot;mp3-parser&quot;) return null, and then I called gst_element_factory_find()<br>
,but<br>&gt; return null.<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Can someone tell me why? Maybe I need to config some plugins<br>&gt; but I can not find anything about this from internet specifically about<br>&gt; the configuration of Windows environment. I need your help.<br>
&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thank you!<br>&gt;<br>&gt;<br>----------------------------------------------------------------------------<br>-----------------------<br>&gt; Confidentiality Notice: The information contained in this e-mail and any<br>
accompanying attachment(s)<br>&gt; is intended only for the use of the intended recipient and may be<br>confidential and/or privileged of<br>&gt; Neusoft Group Ltd., &nbsp;its subsidiaries and/or its affiliates. If any reader<br>
of this communication is<br>&gt; not the intended recipient, unauthorized use, forwarding, printing,<br>storing, disclosure or copying<br>&gt; is strictly prohibited, and may be unlawful.If you have received this<br>communication in error,please<br>
&gt; immediately notify the sender by return e-mail, and delete the original<br>message and all copies from<br>&gt; your system. Thank you.<br>&gt;<br>----------------------------------------------------------------------------<br>
-----------------------<br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><br>------------------------------<br><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<br>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>------------------------------<br><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>End of gstreamer-devel Digest, Vol 31, Issue 7<br>**********************************************<br><br>---------------------------------------------------------------------------------------------------<br>Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)<br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of<br>Neusoft Group Ltd., &nbsp;its subsidiaries and/or its affiliates. If any reader of this communication is<br>not the intended recipient, unauthorized use, forwarding, printing, &nbsp;storing, disclosure or copying<br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please<br>immediately notify the sender by return e-mail, and delete the original message and all copies from<br>your system. Thank you.<br>
---------------------------------------------------------------------------------------------------<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>
</blockquote></div><br>