It seems like I'm crazy :-) (i could swear i was able to use it without mounting anything). I found out that the documentation informs that the location must be mounted:<br><br>"If an URI or <a href="http://gstreamer.freedesktop.org/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> is not mounted giosrc will post a message
of type
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GST-MESSAGE-ELEMENT:CAPS"><code class="literal">GST_MESSAGE_ELEMENT</code></a> with name "not-mounted"
on the bus. The message
also contains the <a href="http://gstreamer.freedesktop.org/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> and the corresponding URI.
Applications can use the "not-mounted" message to mount the <a href="http://gstreamer.freedesktop.org/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>
by calling <a href="http://gstreamer.freedesktop.org/usr/share/gtk-doc/html/gio/GFile.html#g-file-mount-enclosing-volume"><code class="function">g_file_mount_enclosing_volume()</code></a> and then
restart the
pipeline after the mounting has succeeded. Note that right after the
"not-mounted" message a normal error message is posted on the bus which
should be ignored if "not-mounted" is handled by the application, for
example by calling gst_bus_set_flushing(bus, TRUE) after the
"not-mounted"
message was received and gst_bus_set_flushing(bus, FALSE) after the
mounting was successful."<br><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-element-giosrc.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-element-giosrc.html</a><br>
<br>what made me waste time is the fact that this documentation is not on the main gstreamer documentation:<br><a href="http://www.gstreamer.net/documentation/plugins.html">http://www.gstreamer.net/documentation/plugins.html</a><br>
<br>gio points to small information about the gio elements. And the giosrc link doesn't exist... only searching for giosrc gstreamer on google i was able to find the element documentation. (i searched similar thing before but for some reason i missed the link :-)).<br>
<br>Sorry for the noise.<br><br>Best regards,<br>Katcipis<br><br><div class="gmail_quote">On Tue, Aug 10, 2010 at 8:32 AM, Tiago Katcipis <span dir="ltr"><<a href="mailto:katcipis@inf.ufsc.br">katcipis@inf.ufsc.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I'm sorry, i forgot to say that the error is happening on Ubuntu 10.04 with gstreamer 0.10.28. I also compiled and installed gstreamer 0.10.30 on a CentOS and the same problem occurs.<div>
<div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 6:26 PM, Tiago Katcipis <span dir="ltr"><<a href="mailto:katcipis@inf.ufsc.br" target="_blank">katcipis@inf.ufsc.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Some time ago i was using gnomevfssrc, and stated that it was on deprecation and gio was replacing it, on that time (i really don't remember exactly when) i tried giosrc on my ubuntu (dont remember exactaly the version too) and it worked fine, just like gnomevfs, just running:<br>
<br>gst-launch giosrc location=remote_uri ! etc<br><br>worked just fine.<br><br>For some reasons we sticked together with gnomevfssrc.<br><br>Now we are trying to migrate from gnomevfssrc to giosrc and it simply wont work, the same pipeline that works for gnomevfssrc gives an error when i use giosrc. <br>
<br>The error is:<br>Setting pipeline to PAUSED ...<br>ERROR: Pipeline doesn't want to pause.<br>ERROR: from element /GstPipeline:pipeline0/GstGioSrc:giosrc0: Could not open resource for reading.<br>Additional debug info:<br>
gstgiosrc.c(321): gst_gio_src_get_stream (): /GstPipeline:pipeline0/GstGioSrc:giosrc0:<br>Location sftp://user:pass@ip/tmp/test not mounted: The specified location is not mounted<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br clear="all">
<br><br>i was able to mount the location first...and then run the pipe...then it works fine. But i remember that before i didn't have to mount anything, i just had to use giosrc exactly as i use gnomevfssrc. Something changed on the giosrc element? or on the gio API? is there a way to automount things? if the url already has the user and the password i don't understand why it wont mount and open for me, its pretty annoying to mount and then run the pipe.<br>
<br>If anyone can enlighten me i will appreciate... sorry if it is a stupid question, I'm not very used with gvfs/gio. <br><br>Best regards,<br>Katcipis<br><font color="#888888">-- <br><a href="http://www.getgnulinux.org/windows" target="_blank">http://www.getgnulinux.org/windows</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.getgnulinux.org/windows" target="_blank">http://www.getgnulinux.org/windows</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.getgnulinux.org/windows">http://www.getgnulinux.org/windows</a><br>