This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Why Dolphin makes local copy when I play a remote .avi file

Tags: None
(comma "," separated)
since1992
Registered Member
Posts
48
Karma
0
OS
I am using Dolphin 1.5 in KDE 4.5.1.

Whenever I try to access movie file from remote Samba server. Dolphin copies the movie file to somewhere in local hard disk. So, I have to wait until a big file transferring complete. I know that it happens when I open .avi using MPlayer. If I open the same remote file with KMPlayer, it will player immediately instead of making local copy first. However, KMPlayer is very slow and sounds and video stream breaking up, (I am sorry I do not know right English expression for this)

I suppose this is not related to MPlayer configuration. This seems to be Dolphin problem. Can I make Dolphin to stop copying Samba share to local disk and play instantly? Thank you.

There is a video in Youtube. It is comparing how Dolphin and Nautilus act differently when I play remote samba share movies.

http://www.youtube.com/watch?v=ZgPzSIANT5Q
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please see viewtopic.php?f=18&t=90713
It appears there has been a regression.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
since1992
Registered Member
Posts
48
Karma
0
OS
bcooksley wrote:Please see viewtopic.php?f=18&t=90713
It appears there has been a regression.


Thank you. I guess there is no way to fix .
since1992
Registered Member
Posts
48
Karma
0
OS
I finally got this work.

After googling things online and kde.org. There was simple solution. I need to put "X-KDE-Protocols=http,ftp,smb" in a desktop entry file. So this is a MPlayer configuration issue in KDE.

In my Arch, there is mplayer.desktop under /usr/share/applications/. However, changing it never works. So I had to find where else mplayer.desktop files in my system.

Code: Select all
$ sudo find / -name mplayer.desktop
/usr/share/applications/mplayer.desktop
/var/abs/community/mplayer-vaapi/mplayer.desktop
/var/abs/extra/mplayer/mplayer.desktop
/home/myusername/.local/share/applications/mplayer.desktop


So, it was under my home directory. /home/myusername/.local/share/applications/mplayer.desktop.
After I put "X-KDE-Protocols=http,ftp,smb" bottom of the file, things work fine.

I still get configured why VLC uses desktop entry file under /usr/share/applications and MPlayer uses one under ~/.local/share/applications. I am not sure this is related to Arch or KDE. If you know, please let us know little information about it. Thank you.

Oh! one more thing. Probably newbies do not know where to configure MPlayer launching options. It can be specified in the desktop entry file. It is also able to configured in System Setting > Common Appearance and Behavior > File Associations > Known Types > video > "pick a movie file extension" > General tab > "choose MPlayer Media Player" > "press edit button" > Application tab. I see "mplayer %U" in command box. This %U thing seems like to be there if I want to access URLs such as smb.

For more information about the option like %U thing. Visit link below.

http://standards.freedesktop.org/deskto ... atest.html

I hope these helps at least a person. Thank you.
since1992
Registered Member
Posts
48
Karma
0
OS
I found another problem. Somehow, MPlayer do not access subtitle files while it works fine when launched in Nautilus.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The ~/.local/share/... file used by MPlayer is because it was edited, likely using the Menu Editor. It can be removed safely, assuming the X-KDE-Protocols option is present in the /usr/share file.

Regarding the subtitles, that is an issue that MPlayer themselves need to address, as GNOME mounts remote filesystems into the local filesystem.

This presents a vulnerability to the system should the connection to the system hosting the filesystem be lost (namely, applications attempting to access it will irreversibly hang until the system is rebooted)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
since1992
Registered Member
Posts
48
Karma
0
OS
bcooksley wrote:The ~/.local/share/... file used by MPlayer is because it was edited, likely using the Menu Editor. It can be removed safely, assuming the X-KDE-Protocols option is present in the /usr/share file.

Regarding the subtitles, that is an issue that MPlayer themselves need to address, as GNOME mounts remote filesystems into the local filesystem.

This presents a vulnerability to the system should the connection to the system hosting the filesystem be lost (namely, applications attempting to access it will irreversibly hang until the system is rebooted)


If I understood your word correctly, GNOME mount remote samba share automatically, so nautilus can play. But KDE do not mount, So, MPlayer cannot access remote subtitle files?

That's another good information from you. I would like to understand KDE as much as you are. Then I can stop wasting my time on something not possible in KDE environment. Would you recommend me where I could learn those things? Thank you, bcooksley.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This has been learnt from a large variety of sources, including Techbase, personal observations, etc.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]