OK, I&#39;ve managed to get things working for now (it was an issue with the formatting of the uri). I&#39;ll check back in if I encounter additional problems. Thanks for your help everyone!<br><br><div><span class="gmail_quote">
On 7/5/07, <b class="gmail_sendername">Ngurah</b> &lt;<a href="mailto:ignabandika@yahoo.com">ignabandika@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br> on linux i use 3 slash,like uri=file:///, perhaps i<br>will work to for windows.<br><br>--- Scott Peterson &lt;<a href="mailto:lunchtimemama@gmail.com">lunchtimemama@gmail.com</a>&gt; wrote:<br><br>&gt; I also tried this:
<br>&gt;<br>&gt; &gt; gst-launch-0.10.exe playbin<br>&gt; uri=file://C:\dance.mp3<br>&gt;<br>&gt; and I got this error:<br>&gt;<br>&gt; Setting pipeline to PAUSED ...<br>&gt; ERROR: Pipeline doesn&#39;t want to pause.<br>
&gt; ERROR: from element /playbin0: A FILE protocol<br>&gt; source plugin is required to<br>&gt; play this stream, but not installed.<br>&gt; Additional debug info:<br>&gt;<br>E:\devel-release\src_releases\gst-plugins-base\gst\playback\gstplaybasebin.c(1602):
<br>&gt; (function) (): /playbin0:<br>&gt; No URI handler for file<br>&gt; Setting pipeline to NULL ...<br>&gt; FREEING pipeline ...<br>&gt;<br>&gt; On 7/5/07, Scott Peterson &lt;<a href="mailto:lunchtimemama@gmail.com">lunchtimemama@gmail.com
</a>&gt;<br>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; I&#39;ve replied inline.<br>&gt; &gt;<br>&gt; &gt; On 7/3/07, Sébastien Moutte &lt;<a href="mailto:sebastien@moutte.net">sebastien@moutte.net</a>&gt;<br>&gt; wrote:<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; What version of Visual Studio are you using to<br>&gt; build GStreamer ?<br>&gt; &gt; &gt; Depending on the version used, GStreamer<br>&gt; libraries will be linked on<br>&gt; &gt; &gt; different version of MSVCRT.
<br>&gt; &gt; &gt; You must link on the same version of the libc<br>&gt; for GLIB and GSTREAMER<br>&gt; &gt; &gt; (you can&#39;t merge different version and you can&#39;t<br>&gt; merge DEBUG version<br>&gt; &gt; &gt; with RELEASE version).
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I&#39;m using VS2005 which links to MSVCR80.DLL. How<br>&gt; can I specify the use of<br>&gt; &gt; an older version of the C runtime? I tried<br>&gt; changing /MT to /MD, but that<br>
&gt; &gt; just removed the MSVCR80 reference; it did not add<br>&gt; a reference to<br>&gt; &gt; MSVCRT.dll.<br>&gt; &gt;<br>&gt; &gt; Dependency Walker is a good tool to check your<br>&gt; dependencies<br>&gt; &gt; &gt; ( 
<a href="http://www.dependencywalker.com/">http://www.dependencywalker.com/</a>)<br>&gt; &gt; &gt; One more thing, have you made some tests with<br>&gt; gst-launch with the<br>&gt; &gt; &gt; version of GStreamer you built ? Because if
<br>&gt; there is a problem between<br>&gt; &gt; &gt; GStreamer and Glib dependencies, you will get<br>&gt; error with gst-launch and<br>&gt; &gt; &gt; gst-inspect.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; When I try to use gst-launch with the gstreamer
<br>&gt; binaries that I build<br>&gt; &gt; myself, I get the same initialization problem<br>&gt; (probably related to the<br>&gt; &gt; MSVCRT problem). When I use gst-launch with the<br>&gt; distribution binaries,<br>&gt; &gt; here&#39;s the error I get:
<br>&gt; &gt; &gt; gst-launch-0.10.exe filesrc location=dance.mp3 !<br>&gt; mad ! autoaudiosink<br>&gt; &gt; Setting pipeline to PAUSED ...<br>&gt; &gt; Pipeline is PREROLLING ...<br>&gt; &gt; ERROR: from element /pipeline0/filesrc0: Internal
<br>&gt; data flow error.<br>&gt; &gt; Additional debug info:<br>&gt; &gt;<br>&gt;<br>E:\devel-cvs\src\gstreamer\libs\gst\base\gstbasesrc.c(1811):<br>&gt; (function) ():<br>&gt; &gt; /pipeline0/filesrc0:<br>&gt; &gt; streaming task paused, reason not-linked (-1)
<br>&gt; &gt; ERROR: pipeline doesn&#39;t want to preroll.<br>&gt; &gt; Setting pipeline to NULL ...<br>&gt; &gt; FREEING pipeline ...<br>&gt; &gt;<br>&gt; &gt; When I try to open that file with the test app<br>&gt; gstplayer [1], it works
<br>&gt; &gt; fine.<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt; Scott<br>&gt; &gt;<br>&gt; &gt; [1] <a href="http://perso.orange.es/moutte983/gstreamer/">http://perso.orange.es/moutte983/gstreamer/</a><br>&gt; &gt;<br>
&gt; &gt; Scott Peterson a écrit :<br>&gt; &gt; &gt; &gt; Is there anything else I could provide or do<br>&gt; that would be of use?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; On 6/29/07, *Scott Peterson*<br>&gt; &lt;<a href="mailto:lunchtimemama@gmail.com">
lunchtimemama@gmail.com</a><br>&gt; &gt; &gt; &gt; &lt;mailto:<a href="mailto:lunchtimemama@gmail.com">lunchtimemama@gmail.com</a>&gt;&gt; wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Hey Sébastien, thanks for lending a hand.
<br>&gt; Here&#39;s the situation:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m using glib binaries from the OpenVista<br>&gt; project [1].<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I initially used Gstreamer 
0.10.13<br>&gt; binaries from <a href="http://freedesktop.org">freedesktop.org</a><br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://freedesktop.org">http://freedesktop.org</a>&gt; [2], but now I&#39;m<br>&gt; building Gstreamer
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; 0.10.13 myself with Visual Studio so that<br>&gt; I can debug the problem.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I tried to initialize the Gstreamer that I<br>&gt; built, but it failed
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; with this error:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Debug Assertion Failed!<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; File: write.c<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Line: 68<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Expression: (_osfile(fh) &amp; FOPEN)
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; The error happens in line 72 of<br>&gt; gstregistryxml.c, in the method<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; gst_registry_save. The line is:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; written = write (registry-&gt;cache_file,
<br>&gt; str, len);<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I think the error arises because<br>&gt; registry-&gt;cache_file has the<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; value 3. registry-&gt;cache_file is assigned<br>&gt; on line 849 of
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; gstregistryxml.c in the method<br>&gt; gst_registry_xml_write_cache. The<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; line is:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; registry-&gt;cache_file = g_mkstemp
<br>&gt; (tmp_location);<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Prior to execution of this line,<br>&gt; registry-&gt;cache_file is 0. After<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; execution, it is 3. Someone on IRC advised
<br>&gt; me that this is a<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; problem having to do with the fact that<br>&gt; I&#39;m building Gstreamer<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; myself, but not glib. Unfortunately I&#39;m<br>&gt; not able to build glib for
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; a number of reasons, so I just got around<br>&gt; this problem by<br>&gt; &gt; &gt; inserting<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; goto fail;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; before the registry-&gt;cache_file<br>&gt; assignment. Gstreamer now<br>&gt; &gt; &gt; initializes.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Now to the playback problem. Banshee<br>&gt; playback is handled in a C
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; library called libbanshee. The relevant<br>&gt; file is<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; gst-playback-0.10.c [3]. When a song is<br>&gt; played in the interface,<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; the method gst_playback_open is called,
<br>&gt; and then gst_playback_play<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; (see gst-playback-0.10.c). The error<br>&gt; occurs while executing<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; gst_playback_play.<br>&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;ve traced the problem to the method<br>&gt; gst_base_src_start in<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; gstbasesrc.c on line 1986:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp; result = bclass-&gt;start (basesrc);
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m not able to enter that function while<br>&gt; debugging (what code is<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; this pointing to?) but when it returns,<br>&gt; result is 0. I can provide
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; loads of stack trace info or variable<br>&gt; values, but I don&#39;t know<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; what would be helpful for you to know. I<br>&gt; don&#39;t understand what
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; much of the code is doing, but I do know<br>&gt; that this is happening<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; during a pad activation (whatever that<br>&gt; is).<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Thanks again for helping out and let me
<br>&gt; know what other info I can<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; provide.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Best,<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Scott<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; [1]<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt;<br><a href="https://sourceforge.net/project/showfiles.php?group_id=74626&amp;package_id=223067">https://sourceforge.net/project/showfiles.php?group_id=74626&amp;package_id=223067</a><br>&gt;<br>
=== message truncated ===&gt;<br>-------------------------------------------------------------------------<br>&gt; This SF.net email is sponsored by DB2 Express<br>&gt; Download DB2 Express C - the FREE version of DB2<br>
&gt; express and take<br>&gt; control of your XML. No limits. Just data. Click to<br>&gt; get it now.<br>&gt; <a href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a>&gt;<br>_______________________________________________
<br>&gt; gstreamer-devel mailing list<br>&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>&gt;<br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br><br><br><br><br>____________________________________________________________________________________<br>Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos &amp; more.
<br><a href="http://mobile.yahoo.com/go?refer=1GNXIC">http://mobile.yahoo.com/go?refer=1GNXIC</a><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by DB2 Express
<br>Download DB2 Express C - the FREE version of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it now.<br><a href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/
</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">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br>Scott.