GNOME Bugzilla – Bug 591700
Totem don't play videos from ssh remote host
Last modified: 2009-09-02 14:29:52 UTC
Please describe the problem: Hello, I have a problem with totem 2.26. I can't play videos from remote resources ssh. When video starts play more or less but, the image and sound stops randomly and finally is impossible play video. The problem occurs in totem 2.24 and 2.26 version. With totem 2.22 and previous work fine. I think that the problem occurs with gnome-vfs to gvfs migration. Can you verify this?. How can I solve ind totem 2.26 and gvfs?. Can I use gnome-vfs with totem 2.26. With totem 2.26 and gnome-vfs, I had this problem: http://bugzilla.gnome.org/show_bug.cgi?id=571619 Best regards. Steps to reproduce: 1. Open totem 2. Open video from ssh or ftp resource. 3. The image and sound stops randomly Actual results: The image and sound stops randomly. Expected results: Play video and sound correctly. Does this happen every time? Yes. Other information:
Can you play the video using gst-launch. For example: gst-launch playbin2 uri="ssh:///jdsjkdsj"
How can I include user and password credentials in gst-launch uri command. Other specific data about the problem. I've the problem on my laptop with wifi connection to ssh remote resource, but with totem 2.22 and previous work fine. Regards.
(In reply to comment #2) > How can I include user and password credentials in gst-launch uri command. I'm guessing you'd use the standard username:password format: ssh://username:password@hostname
You don't. The location where you're going to play the file from needs to be mounted. If it's not, it will just fail in 2.26.x, though there is code in 2.27.x to do the mount automatically. So if the ssh location wasn't mounted when you filed this bug, then upgrade to 2.27.x, or mount it manually.
Hello, the command: gst-launch-0.10 playbin2 uri="ssh://user:password@mordor:/home/user/Movie.avi" work fine in 2.22. But in 2.26 fails: ----- Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstGioSrc:source: Could not open resource for reading. Additional debug info: gstgiosrc.c(313): gst_gio_src_start (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstGioSrc:source: Could not open location sftp://user:pass@mordor:0/home/user/Movie.avi for reading: La ubicaci?n especificada no est? montada Setting pipeline to NULL ... FREEING pipeline ... ----- What's the correct uri with the remote resource mounted. Regards.
Yes, as explained in comment 4. Try using Totem 2.27.x (preferably from git) or mount your "mordor" mount before trying to play from it.
Can you write an example of procedure for mount resource and play video?. Can I mount resource from "Connect to server" from Places menu of gnome?. In this situation, how can I exec command gst-launch-0.10?, what's the exact syntax?. Anyway, I want to use totem. How can I install totem 2.27.x from git?. Regards.
gvfs-mount ssh://mordor totem ssh://user:password@mordor:/home/user/Movie.avi Or use the "connect to server" feature in nautilus and add it to your bookmarks.
I've problems. This is the output. This work fine: $ gvfs-mount ssh://mordor Enter your password User: myuser Password: mypass and the resourced is mounted correctly. This command fails: $ totem ssh://myuser:mypass@mordor:/tmp/Movie.avi /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha ** Message: no file info ** Message: Error: Could not open resource for reading. gstgiosrc.c(313): gst_gio_src_start (): /GstPlayBin:play/GstGioSrc:source: Could not open location sftp://pruebas:pruebas@172.16.31.13:0/tmp/Movie.avi for reading: The specified location is not mounted How can I install totem 2.27 from git?. Any ideas?.
That's because you're not typing the URL properly (and adding authentication information in the URL). Try: $ totem ssh://mordor/tmp/Movie.avi
Ok, thanks. This command work: $ totem ssh://mordor/tmp/Movie.avi however, the image and sound stops randomly too. I've launched this command and the image and sound stops randomly too: $ gst-launch-0.10 playbin2 uri="ssh://mordor/tmp/video.avi" Setting pipeline to PAUSED ... Pipeline is PREROLLING ... I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: gstbasesink.c(2575): gst_base_sink_is_too_late (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXvImageSink:videosink-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow. Got EOS from element "playbin20". Execution ended after 47897036348 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... All the above commands work fine in totem 2.22, but in 2.24 and 2.26 fail. Regards.
Then file a separate bug against GStreamer.