KPlayer can play multimedia from many different sources. In addition to local files, it can play remote network addresses or URLs, various devices like disks and cards, and many other sources like network locations and compressed files using KDE feature known as I/O Slaves.
Use any of the following ways to start playing local files from your hard drive or any other device mounted as a directory on your system.
When KPlayer is running, select ->->. KPlayer will open your home directory in the multimedia library and list any multimedia files you have in it. Then you can select the file or files you want to play or look for multimedia files in other directories.
The multimedia library allows you to organize your multimedia collection for easier access. For example, once you create some playlists, playing one of them becomes as easy as selecting -> and then selecting the playlist name from the submenu.
If your file does not show up in the library, select ->, or click the button on the main toolbar. The standard Play files dialog will appear, letting you choose a local file or several files. After you click the button or press Enter, KPlayer will put your selection on the current playlist and start playing it.
KPlayer is associated with all media file types it can play. If a type has more than one program associated to it, you need to move KPlayer to the top of the list on the File Associations page in the Konqueror configuration dialog. Then you can simply execute a media file in Konqueror File Manager with the mouse button, and it will open KPlayer if it is not yet running and start playing the file.
Konqueror File Manager will show the command when a multimedia file or files are selected. Selecting the command will open KPlayer, put all the selected files on the current playlist and play them. You can also click a directory and play all multimedia files contained in it and in all of its subdirectories.
click context menu inYou can also drag files and directories from Konqueror File Manager and drop them on the KPlayer window. KPlayer will then put them on the current playlist and start playing them.
In a terminal program like Konsole type
kplayer
filename
where
can be an
absolute or relative path to the file or directory you want to play, or just the
name if the file or directory is in the current directory. You can give multiple
file and directory names separated with spaces. After you press Enter,
KPlayer will start if it is not already running, add the files and directories
to the current playlist and start playing them.filename
Use any of the following ways to start playing a remote file or stream with a remote URL using a network protocol like HTTP, FTP, Samba, MMS, RTSP, PNM, etc.
Once KPlayer starts, select ->, or click the button on the main toolbar. The standard Play URL dialog will appear, letting you type or paste in a remote URL. After you click the button or press Enter, KPlayer will start playing the URL you entered.
KPlayer is associated with all media types it can play. If a type has more than one program associated to it, you need to move KPlayer to the top of the list on the File Associations page in the Konqueror configuration dialog. Then you can simply click a link to a media file or stream of that type in Konqueror Web Browser, and it will open KPlayer if it is not yet running, put the link on the current playlist and start playing it.
Sometimes a web page will have a media object embedded in it. If KPlayer is at the top of the list of programs associated with the media type of the object, when you open the page in Konqueror Web Browser it will embed KPlayer into the web page and start playing the media. However, it is recommended that you click the media object and choose so that the full KPlayer opens up and starts playing the media. This will give you a better interface and more options than an embedded KPlayer.
Just like with local files, you can start KPlayer from a terminal program like Konsole with the URL you want to play. This is useful for example if you copied the URL to the clipboard in a text editor. In the terminal program type
kplayer
mediaurl
where
can be any
of the many URL types KPlayer supports. You have to give
the full URL, and if it has spaces or other special
characters in it, you need to enclose the URL in single
quotes so your shell does not try to interpret them. You can give multiple
URLs separated with spaces. After you press Enter,
KPlayer will start if it is not already running, put the
URLs on the current
playlist and start playing them.mediaurl
And of course you can keep your favorite multimedia links in the multimedia library and include them on your playlists. Then you can play a playlist by choosing its name from the -> submenu.
KPlayer finds any disk and tuner devices you have on your computer and shows them on the menu and in the Devices section of the multimedia library.
When you insert a disk into a DVD or CD device, KPlayer finds the titles or tracks on the disk and shows them on the device submenu under the menu as well as in the multimedia library.
To play the whole disk:
Select from the device submenu under the menu, or
Devices section of the multimedia library and select , or
click the device node in theDevices applet in the KDE task bar and select from the menu, or
click the disk icon when it shows in thefrom the menu.
click the disk icon when it shows on the desktop and selectTo play a title or track:
Select the title or track from the device submenu under the menu, or
Open the device node in the Devices section of the multimedia library and execute the title or track with the mouse button or click it and select .
For tuner devices like TV or DVB KPlayer shows the available channels on the device submenu under the menu as well as under the device node in the Devices section of the multimedia library.
To play a channel:
Select the channel from the device submenu under the menu, or
Open the device node in the Devices section of the multimedia library and execute the channel with the mouse button or click it and select .
KDE has a great way to access all kinds of data through a system known
as I/O Slaves. They are little programs that let you
represent many different sources of data as URL like
addresses, and open them in KDE programs like Konqueror and KPlayer.
For example you can access a network host over SSH with
a URL like
fish:/
, or a zip file
with a URL like
host/path
zip:/
.home/cooldude/my.zip
So you paste a URL like that in Konqueror address bar, hit Enter and see the data source as if it was a usual file or a directory with files and subdirectories in it. If one of those files happens to be a multimedia file like an MP3 file for example, you can execute it with the mouse button so that KPlayer opens up and starts playing the file, just like with plain local files. As usual, for this to work KPlayer needs to be the top program for that file type on the File Associations page in Konqueror or KDE Control Center.
Those same URLs will work in the Play
files dialog that you get when you select
->,
or click the button in KPlayer. Or if you have the
full URL to the media file itself, like
fish:/
or
host/path/song.mp3
zip:/
,
you can paste it into the Play URL dialog that you get by
selecting -> or clicking the
button in KPlayer.home/cooldude/my.zip/subdir/song.mp3
Just like with local files and remote addresses, you can start KPlayer from a terminal program like Konsole with the URL you want to play. This is useful for example if you copied the URL to the clipboard in a text editor. In the terminal program type
kplayer
mediaurl
where
can be any
of the many URL types KPlayer supports. You have to give
the full URL, and if it has spaces or other special
characters in it, you need to enclose the URL in single
quotes so your shell does not try to interpret them. You can give multiple
URLs separated with spaces. After you press Enter,
KPlayer will start if it is not already running, add the
URLs to the playlist and start playing them.mediaurl
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team