now i got some interesting results, testing with a pipeline like this:<br><br>gst-launch gnomevfssrc location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; ! filesink location=&quot;test.wav&quot;<br><br>im able to get the file and play it locally.<br>
<br>even if i run:<br>gst-launch gnomevfssrc location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; ! audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234 ! pulsesink<br><br>it works(and i hear a lot of noise :-)).<br>
<br>But if i run:<br><br>gst-launch gnomevfssrc
location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; !
audio/x-raw-int,signed=true,channels=1,rate=8000,width=16,endianness=1234
! audioparse ! pulsesink<br><br>or<br><br>gst-launch gnomevfssrc
location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; ! wavparse ! pulsesink<br><br>or<br><br>gst-launch gnomevfssrc
location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; ! decodebin ! pulsesink<br><br>it gives the same error:<br><br>ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0: Could not close resource.<br>
<br>it seems that every time i try to parse the file to get its type and play it, it fails, but if i only play it raw or download it.... works fine.<br><br>any toughts? <br><br><br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 11:42 AM, Tiago Katcipis <span dir="ltr">&lt;<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Im having some trouble using gnomevfssrc and ftp, what troubles me is the error, a simple Could not open would make me understand that i did something wrong or something is wrong with the server.... but this error msg &quot;Could not close&quot;... i simply cant find anything about it, I&#39;m not quite sure if this is something wrong on the ftp server i am using here or if it is a problem with gnomevfs or gstreamer.<br>


<br>The test is simple:<br><br>gst-launch gnomevfssrc location=&quot;ftp://user:password@ftp.myserver.com:/myfile.wav&quot; ! decodebin ! pulsesink<br><br>The output is:<br>(gst-launch-0.10:2735): GLib-WARNING **: g_set_prgname() called multiple times<br>


Setting pipeline to PAUSED ...<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = audio/x-wav<br>Pipeline is PREROLLING ...<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink: caps = audio/x-wav<br>


ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0: Could not close resource.<br>Additional debug info:<br>gstgnomevfssrc.c(889): gst_gnome_vfs_src_stop (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:<br>


Could not close vfs handle: Operation cancelled<br>ERROR: pipeline doesn&#39;t want to preroll.<br>Setting pipeline to NULL ...<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:src: caps = NULL<br>


/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink: caps = NULL<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL<br>Freeing pipeline ...<br>


<br>Even the wav file header is being read, but on the prerolling this odd error happens. The same url that generates this error works just fine on wget (the file gets downloaded and i can hear it perfectly).<br><br>can someone help me? I&#39;m not very used to ftp...maybe I&#39;m missing something.<br>


<br>best regards,<br><font color="#888888">Katcipis<br>
</font></blockquote></div><br>