GNOME Bugzilla – Bug 573189
Totem (GStreamer backend) doesn't load subtitle files from gvfs
Last modified: 2009-03-03 13:22:46 UTC
Please describe the problem: If you try to watch a film with some subtitles on a remote share that uses gvfs (samba etc.) the subtitles doesn't autoload, nor manual load works. If you move the movie and the subtitle file locally, there is no problem at all. Steps to reproduce: 1. Mount a remote share containing movie and the apropriate subtitle file 2. Start the movie. 3. Try to manually load the subtitle file. Actual results: Subtitles missing (they do not load at all nor auto nor manual) Expected results: Does this happen every time? Yes Other information: Ubuntu Intrepid System
What's the output of GST_DEBUG="*:5 totem" when reproducing this?
Sorry that i couldn't run the debug at level 5, but my laptop is slow and it freezes on thet level. First time I started Totem from the command line and tried to start the movie on the remote share it gave me these (loglevel 2, I have cut the long name of the subtitle): 0:00:08.219419032 15408 0x8935490 WARN gnomevfssrc gstgnomevfssrc.c:836:gst_gnome_vfs_src_start:<gnomevfssrc0> error: Could not open vfs file "smb://game-station/video/SERIALS/T........NoTV.srt" for reading: Access denied (16) 0:00:08.219754267 15408 0x8935490 WARN playbasebin gstplaybasebin.c:2042:subbin_startup_sync_msg:<play> error starting up subtitle bin: error message from element 'gnomevfssrc0': GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstgnomevfssrc.c\(836\):\ gst_gnome_vfs_src_start\ \(\):\ /GstBin:subtitle-bin/GstGnomeVFSSrc:gnomevfssrc0:\012Could\ not\ open\ vfs\ file\ \"smb://game-station/video/SERIALS/T........NoTV.srt\"\ for\ reading:\ Access\ denied\ \(16\)"; connection_message_func(): Callback CALLBACK: fill-authentication!!! connection_message_func(): Callback CALLBACK: fill-authentication!!! connection_message_func(): Callback CALLBACK: full-authentication!!! 0:00:08.281177237 15408 0x8935490 WARN gnomevfssrc gstgnomevfssrc.c:836:gst_gnome_vfs_src_start:<gnomevfssrc0> error: Could not open vfs file "smb://game-station/video/SERIALS/T........NoTV.srt" for reading: Access denied (16) 0:00:08.281371114 15408 0x8935490 WARN basesrc gstbasesrc.c:2622:gst_base_src_activate_push:<gnomevfssrc0> Failed to start in push mode 0:00:08.281476155 15408 0x8935490 WARN GST_PADS gstpad.c:687:gst_pad_set_active:<gnomevfssrc0:src> Failed to activate pad 0:00:08.281549627 15408 0x8935490 WARN playbasebin gstplaybasebin.c:2150:setup_source:<play> Failed to start subtitle bin Before starting totem this way, I have checked the srt file opening it, and it has no access permissions set at all (on neighter machines + it opens with no error in gedit or whatever). The share is password protected, but has been mounted already before starting totem. After this debug console session, i couldn't reproduce the error anymore, no matter how i started totem (through nautilus, console or from Programs menu) i.e. subtitles worked.
Remove the gnomevfssrc plugin from GStreamer, and file a bug with your distribution. Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 571619 ***