Created attachment 53733 [details]
command line output with kdebug from dragon player, attempting various sources.
Version: 4.4.2 (KDE 4.5) (using KDE 4.5.3)
Using both the dragon player and a minimal program based on qt's Phonon::VideoPlayer, trying to play a file from a password-protected smb:/ or an sftp:/ or fish:/ source fails.
For a non-password-protected samba share the Video plays, but that is understood without kio by the vlc and xine backends.
Judging from the debug output, it is intended that this should work, as a kio socket is opened if the backend cannot open the url itself, and an error message given as debug output if the file could not be opened.
I attached debug outputs from dragon player, attempting to play from
- an unprotected samba share(works)
- an protected samba share(does not work)
- a local file(works, strangely using kio)
- an sftp source (does not work)
There are several bug reports for dragon player(Bug #257057, Bug #188291, Bug #230327) and kmplayer(Bug #157255, Bug #157143) related to this, and amarok bug #257075 is probably also resulting from this, albeit for audio files. However because a minimal program using Phonon::VideoPlayer (like http://twolinux.blogspot.com/2010/10/writing-simple-media-player-in-qt.html ) behaves in that respect very similar to dragonplayer, I suspect this is a phonon issue.
The behaviour comes out the same in all three backends I tested: phonon-xine, phonon-vlc and phonon-gstreamer.
Steps to Reproduce:
Try to use dragon or another phonon-based video player to play a file from a sftp:/, fish:/ or password-protected smb:/ source
No video is played
Video is played
This might be a regression. http://vir.homelinux.org/blog/index.php?url=archives/32-KIO-in-Phonon.html&serendipity%5Bcview%5D=linear, a blog post from the Phonon development reported this working, as does the comment from Jordi Polo to bug #157255, who reported it working for KDE 4.0.70 >= 20080418.
*** Bug 310474 has been marked as a duplicate of this bug. ***
*** Bug 230327 has been marked as a duplicate of this bug. ***
*** Bug 257057 has been marked as a duplicate of this bug. ***
Is this still an issue with Phonon 4.6.0 or git?
Yes, still not working alright in 4.6.0, dunno about git
Thank you for the feedback.
Same with KDE 4.10
I thought Linux was the king of networks, until...
Now that everyone & their dogs, like Rover, Tyson, Ben & Fido, as well as their dogs, have a NAS, it would be great to have support for them (The NAS, not the dogs) out of the box. I've just come from Windows where this stuff is pretty simple. And while I'm not going back, you have to realise just how many hours I've spent finding the usually simple solutions to problems just like this.
Stop spamming the bugtracker with useless comments.
"I thought Linux was the king of networks, until..."
It's not a linux thing, it's a KDE thing. KIO has been utterly broken for as long as I have been using KDE and nobody here seems to care. You can't even stream properly over smb in kde, while in gnome 2.x, it used gvfs by default which did everything fine. I wish either the kio developers would abandon it and switch to something better or actually fix the thing.
"Stop spamming the bugtracker with useless comments."
The only spam I see here are yours and sandsmark's. Your comments add nothing to the discussion, so please stop.
Our comments were not useless; we were asking you to stop sending us emails that does zilch for actually solving this bug. If you prefer Windows, gvfs or plan9 please go use it, by all means, but that has nothing to do with this bug. Also, please abide by the Code of Conduct: http://www.kde.org/code-of-conduct/
And just FYI; what I'm working on (when not interrupted by useless bugzilla mails) is to add kio support to VLC itself, so everything using libvlc (including Phonon) will be able to stream via kio. I assume the same can be done for gstreamer by the people who use and care about gstreamer.
*** Bug 323187 has been marked as a duplicate of this bug. ***
*** Bug 314567 has been marked as a duplicate of this bug. ***
This is still a problem nowadays. It is not possible to stream a video neither with the gstreamer nor the vlc backend phonon backend using the sftp kio plugin.
Half of 2018 has passed but still cannot play videos from samba shares.