<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>playbin seems to do a poor job reporting 'file not found' error, instead it says:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> ' A FILE protocol source plugin is required to play this stream, but not installed.'  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I ran into this same issue a couple days ago on Mac OS X, and was baffled for an hour - then I fixed my path    :-)</DIV><DIV>I'm betting your path is incorrectly specified... perhaps the '\' should be a '/' ?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Jul 5, 2007, at 8:44 PM, Scott Peterson wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I also tried this:<BR><BR>&gt; gst-launch-0.10.exe playbin uri=<A href="file://C">file://C</A>:\dance.mp3<BR><BR>and I got this error:<BR><BR>Setting pipeline to PAUSED ...<BR>ERROR: Pipeline doesn't want to pause.<BR>ERROR: from element /playbin0: A FILE protocol source plugin is required to play this stream, but not installed. <BR>Additional debug info:<BR>E:\devel-release\src_releases\gst-plugins-base\gst\playback\gstplaybasebin.c(1602): (function) (): /playbin0:<BR>No URI handler for file<BR>Setting pipeline to NULL ...<BR>FREEING pipeline ... <BR><BR><DIV><SPAN class="gmail_quote">On 7/5/07, <B class="gmail_sendername">Scott Peterson</B> &lt;<A href="mailto:lunchtimemama@gmail.com">lunchtimemama@gmail.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;"> I've replied inline.<BR><BR><DIV><SPAN class="q"><SPAN class="gmail_quote">On 7/3/07, <B class="gmail_sendername">Sébastien Moutte</B> &lt;<A href="mailto:sebastien@moutte.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> sebastien@moutte.net</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;"> What version of Visual Studio are you using to build GStreamer ?<BR>Depending on the version used, GStreamer libraries will be linked on<BR>different version of MSVCRT.<BR>You must link on the same version of the libc for GLIB and GSTREAMER <BR>(you can't merge different version and you can't merge DEBUG version<BR>with RELEASE version).</BLOCKQUOTE></SPAN><DIV><BR>I'm using VS2005 which links to MSVCR80.DLL. How can I specify the use of an older version of the C runtime? I tried changing /MT to /MD, but that just removed the MSVCR80 reference; it did not add a reference to MSVCRT.dll.<BR></DIV><SPAN class="q"><BR><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dependency Walker is a good tool to check your dependencies <BR>(<A href="http://www.dependencywalker.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.dependencywalker.com/</A>)<BR>One more thing, have you made some tests with gst-launch with the<BR>version of GStreamer you built ? Because if there is a problem between<BR>GStreamer and Glib dependencies, you will get error with gst-launch and <BR>gst-inspect.</BLOCKQUOTE></SPAN><DIV><BR>When I try to use gst-launch with the gstreamer binaries that I build myself, I get the same initialization problem (probably related to the MSVCRT problem). When I use gst-launch with the distribution binaries, here's the error I get: <BR>&gt; gst-launch-0.10.exe filesrc location=dance.mp3 ! mad ! autoaudiosink<BR>Setting pipeline to PAUSED ...<BR>Pipeline is PREROLLING ...<BR>ERROR: from element /pipeline0/filesrc0: Internal data flow error.<BR>Additional debug info: E:\devel-cvs\src\gstreamer\libs\gst\base\gstbasesrc.c(1811): (function) (): /pipeline0/filesrc0: <BR>streaming task paused, reason not-linked (-1)<BR>ERROR: pipeline doesn't want to preroll.<BR>Setting pipeline to NULL ...<BR>FREEING pipeline ...<BR><BR>When I try to open that file with the test app gstplayer [1], it works fine. <BR><BR>Thanks,<BR>Scott<BR><BR>[1] <A href="http://perso.orange.es/moutte983/gstreamer/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://perso.orange.es/moutte983/gstreamer/</A><BR></DIV><DIV> <SPAN class="e" id="q_113987f1155b9260_5"><BR><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Scott Peterson a écrit :<BR>&gt; Is there anything else I could provide or do that would be of use?<BR>&gt;<BR>&gt; On 6/29/07, *Scott Peterson* &lt;<A href="mailto:lunchtimemama@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> lunchtimemama@gmail.com</A><BR> &gt; &lt;mailto:<A href="mailto:lunchtimemama@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lunchtimemama@gmail.com</A>&gt;&gt; wrote:<BR>&gt;<BR>&gt;     Hey Sébastien, thanks for lending a hand. Here's the situation: <BR>&gt;<BR>&gt;     I'm using glib binaries from the OpenVista project [1]. <BR>&gt;<BR>&gt;     I initially used Gstreamer 0.10.13 binaries from <A href="http://freedesktop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freedesktop.org</A><BR>&gt;     &lt;<A href="http://freedesktop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://freedesktop.org</A>&gt; [2], but now I'm building Gstreamer <BR>&gt;     0.10.13 myself with Visual Studio so that I can debug the problem.<BR>&gt;<BR>&gt;     I tried to initialize the Gstreamer that I built, but it failed<BR>&gt;     with this error:<BR>&gt;<BR>&gt;     &gt; Debug Assertion Failed! <BR>&gt;     &gt; File: write.c<BR>&gt;     &gt; Line: 68<BR>&gt;     &gt; Expression: (_osfile(fh) &amp; FOPEN)<BR>&gt;<BR>&gt;     The error happens in line 72 of gstregistryxml.c, in the method<BR>&gt;     gst_registry_save. The line is: <BR>&gt;<BR>&gt;     &gt; written = write (registry-&gt;cache_file, str, len);<BR>&gt;<BR>&gt;     I think the error arises because registry-&gt;cache_file has the<BR>&gt;     value 3. registry-&gt;cache_file is assigned on line 849 of <BR>&gt;     gstregistryxml.c in the method gst_registry_xml_write_cache. The<BR>&gt;     line is:<BR>&gt;<BR>&gt;     &gt; registry-&gt;cache_file = g_mkstemp (tmp_location);<BR>&gt;<BR>&gt;     Prior to execution of this line, registry-&gt;cache_file is 0. After <BR>&gt;     execution, it is 3. Someone on IRC advised me that this is a<BR>&gt;     problem having to do with the fact that I'm building Gstreamer<BR>&gt;     myself, but not glib. Unfortunately I'm not able to build glib for <BR>&gt;     a number of reasons, so I just got around this problem by inserting<BR>&gt;<BR>&gt;     &gt; goto fail;<BR>&gt;<BR>&gt;     before the registry-&gt;cache_file assignment. Gstreamer now initializes.<BR>&gt;<BR> &gt;     Now to the playback problem. Banshee playback is handled in a C<BR>&gt;     library called libbanshee. The relevant file is<BR>&gt;     gst-playback-0.10.c [3]. When a song is played in the interface,<BR>&gt;     the method gst_playback_open is called, and then gst_playback_play <BR>&gt;     (see gst-playback-0.10.c). The error occurs while executing<BR>&gt;     gst_playback_play.<BR>&gt;<BR>&gt;     I've traced the problem to the method gst_base_src_start in<BR>&gt;     gstbasesrc.c on line 1986: <BR>&gt;<BR>&gt;     &gt;     result = bclass-&gt;start (basesrc);<BR>&gt;<BR>&gt;     I'm not able to enter that function while debugging (what code is<BR>&gt;     this pointing to?) but when it returns, result is 0. I can provide <BR>&gt;     loads of stack trace info or variable values, but I don't know<BR>&gt;     what would be helpful for you to know. I don't understand what<BR>&gt;     much of the code is doing, but I do know that this is happening <BR>&gt;     during a pad activation (whatever that is).<BR>&gt;<BR>&gt;     Thanks again for helping out and let me know what other info I can<BR>&gt;     provide.<BR>&gt;<BR>&gt;     Best,<BR>&gt;     Scott<BR>&gt;<BR> &gt;     [1] <BR>&gt;     <A href="https://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://sourceforge.net/project/showfiles.php?group_id=74626&amp;package_id=223067 </A><BR>&gt;     &lt;<A href="https://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://sourceforge.net/project/showfiles.php?group_id=74626&amp;package_id=223067</A>&gt;<BR>&gt;     [2] <A href="http://gstreamer.freedesktop.org/pkg/windows/releases/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://gstreamer.freedesktop.org/pkg/windows/releases/ </A><BR>&gt;     [3]<BR>&gt;     <A href="http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup </A><BR>&gt;     &lt;<A href="http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup </A> &gt;<BR>&gt;<BR>&gt;<BR>&gt;     On 6/28/07, *Sébastien Moutte* &lt;<A href="mailto:sebastien@moutte.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sebastien@moutte.net</A><BR>&gt;     &lt;mailto: <A href="mailto:sebastien@moutte.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sebastien@moutte.net</A>&gt;&gt; wrote: <BR>&gt;<BR>&gt;         Hey Scott,<BR>&gt;<BR>&gt;         I'll be happy to help you making Banshee work with Gstreamer<BR>&gt;         in Windows<BR>&gt;         if I can.<BR>&gt;         What's the status of the problems you were having ? <BR>&gt;         This error "GStreamer resource error: OpenRead" makes me think<BR>&gt;         about a<BR>&gt;         LIBC problem as there are some incompatiblities (with files<BR>&gt;         descriptors<BR> &gt;         for ie) between msvcrt.dll and newer versions.<BR>&gt;         What binaries of GStreamer are you using ?<BR>&gt;<BR>&gt;         Regards,<BR>&gt;         Sebastien<BR>&gt;<BR>&gt;         Scott Peterson a écrit : <BR>&gt;         &gt; Hey GStreamer folks! I'm porting the music app Banshee [1] to<BR>&gt;         Windows<BR>&gt;         &gt; as a project for the Google Summer of Code. Banshee uses<BR>&gt;         gstreamer for<BR> &gt;         &gt; its playback backend so I'm now in the process of making that<BR>&gt;         work on<BR>&gt;         &gt; Windows. Unfortunately, I'm having a bit of trouble. I'll be<BR>&gt;         fully<BR> &gt;         &gt; investigating the issue come next week, but I thought I'd<BR>&gt;         start my<BR>&gt;         &gt; quest be making contact with the mailing list. I've<BR>&gt;         summarized the<BR>&gt;         &gt; trouble I'm having on our Summer of Code list [2] so if <BR>&gt;         anyone has a<BR>&gt;         &gt; spare moment and wouldn't mind lending a hand to a gstreamer<BR>&gt;         newcomer,<BR>&gt;         &gt; I'd appreciate any input you might have. Thanks!<BR>&gt;         &gt; <BR>&gt;         &gt; [1] <A href="http://banshee-project.org/Main_Page" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://banshee-project.org/Main_Page</A><BR>&gt;         &gt; [2]<BR>&gt;         &gt; <A href="http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad</A><BR>&gt;         &gt; &lt;<BR>&gt;         <A href="http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad </A><BR>&gt;         &lt;<A href="http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad </A>&gt;&gt;<BR>&gt;         &gt; <BR>&gt;         &gt; --<BR>&gt;         &gt; Scott.<BR>&gt;         &gt; ------------------------------------------------------------------------<BR>&gt;         &gt;<BR>&gt;         &gt; ------------------------------------------------------------------------- <BR>&gt;         &gt; This SF.net email is sponsored by DB2 Express<BR>&gt;         &gt; Download DB2 Express C - the FREE version of DB2 express and take<BR>&gt;         &gt; control of your XML. No limits. Just data. Click to get it now. <BR>&gt;         &gt; <A href="http://sourceforge.net/powerbar/db2/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://sourceforge.net/powerbar/db2/</A><BR>&gt;         &gt; ------------------------------------------------------------------------ <BR>&gt;         &gt; <BR>&gt;         &gt; _______________________________________________<BR>&gt;         &gt; gstreamer-devel mailing list<BR>&gt;         &gt; <A href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> gstreamer-devel@lists.sourceforge.net </A><BR>&gt;         &lt;mailto:<A href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gstreamer-devel@lists.sourceforge.net</A>&gt;<BR>&gt;         &gt; <A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR>&gt;         &lt;<A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A>&gt; <BR>&gt;         &gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Scott.<BR></BLOCKQUOTE></SPAN></DIV></DIV><BR><BR clear="all"><BR>-- <BR><SPAN class="sg">Scott. </SPAN></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR>Scott.<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-------------------------------------------------------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This SF.net email is sponsored by DB2 Express</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Download DB2 Express C - the FREE version of DB2 express and take</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">control of your XML. No limits. Just data. Click to get it now.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://sourceforge.net/powerbar/db2/_______________________________________________">http://sourceforge.net/powerbar/db2/_______________________________________________</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gstreamer-devel mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>