GNOME Bugzilla – Bug 536335
Totem can't play files from FTP servers
Last modified: 2010-05-14 18:47:49 UTC
Please describe the problem: Totem does not play files from FTP servers. sftp seems to work ok. infinito@laptop:~$ totem "ftp://server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi" ** (totem:22752): DEBUG: Init of Python module ** (totem:22752): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin ** (totem:22752): DEBUG: Creating object of type YouTube+TotemPythonPlugin ** (totem:22752): DEBUG: Creating Python plugin instance ** Message: Error: Could not close resource. gstgnomevfssrc.c(868): gst_gnome_vfs_src_stop (): /play/source: Could not close vfs handle: Operation cancelled Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
This is Totem 2.22.1 under Ubuntu Hardy...
Does this work? gst-launch-0.10 playbin uri="ftp://server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi" or this: gnomevfs-cat "ftp://server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi" | totem fd://0
Nope, neither gst-launch nor gnomevfs-cat worked. infinito@latop:~$ gst-launch-0.10 playbin uri="ftp://user:pass@server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi" Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /playbin0/source: Could not close resource. Additional debug info: gstgnomevfssrc.c(868): gst_gnome_vfs_src_stop (): /playbin0/source: Could not close vfs handle: Operation cancelled ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... infinito@latop:~$ gnomevfs-cat "ftp://user:pass@server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi" | totem fd://0 ** Message: opening ftp://user:pass@server/Incoming/El Ala Oeste/7x01 - El Ala Oeste - El Cartel.avi ** (totem:23928): DEBUG: Init of Python module ** (totem:23928): DEBUG: Registering Python plugin instance: YouTube+TotemPythonPlugin ** (totem:23928): DEBUG: Creating object of type YouTube+TotemPythonPlugin ** (totem:23928): DEBUG: Creating Python plugin instance (totem:23928): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed (totem:23928): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed ** Message: Error: Could not determine type of stream. gsttypefindelement.c(622): gst_type_find_element_chain_do_typefinding (): /play/decodebin1/typefind But gnomevfs-cat works for MP3 files, and gst-launch fails: infinito@latop:~$ gst-launch-0.10 playbin uri="ftp://user:pass@server/Zinc.mp3" Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /playbin0/source: Could not open resource for reading. Additional debug info: gstgnomevfssrc.c(841): gst_gnome_vfs_src_start (): /playbin0/source: Could not open vfs file "ftp://fito@tullido/Zinc.mp3" for reading: Login failed (30) Setting pipeline to NULL ... FREEING pipeline ...
Probably a problem with the gnome-vfs ftp support sucking...
This sounds really like a gnomevfs problem. The URL contains username/password but it somewhere gets lost when passing this to gnomevfs. gnomevfssrc only calls gnome_vfs_open_uri() with the URI passed to it and here things are failing. Reassinging to gnomevfs...
Hi, is this still a problem in a recent GNOME version (2.28 or 2.30) that uses gvfs instead of the deprecated gnome-vfs?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!