[gst-devel] Could not close resource error when using gnomevfssrc with ftp
Tiago Katcipis
katcipis at inf.ufsc.br
Fri Apr 16 16:42:34 CEST 2010
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 "Could
not close"... i simply cant find anything about it, I'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.
The test is simple:
gst-launch gnomevfssrc
location="ftp://user:password@ftp.myserver.com:/myfile.wav"
! decodebin ! pulsesink
The output is:
(gst-launch-0.10:2735): GLib-WARNING **: g_set_prgname() called multiple
times
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = audio/x-wav
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:
caps = audio/x-wav
ERROR: from element /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:
Could not close resource.
Additional debug info:
gstgnomevfssrc.c(889): gst_gnome_vfs_src_stop ():
/GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc0:
Could not close vfs handle: Operation cancelled
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:src:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:sink:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = NULL
Freeing pipeline ...
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).
can someone help me? I'm not very used to ftp...maybe I'm missing something.
best regards,
Katcipis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100416/f3a97366/attachment.htm>
More information about the gstreamer-devel
mailing list