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