Online radio and TVOne of the major advantages of &kplayer; is the use of
&mplayer; as the multimedia
playing backend. It allows &kplayer; to support the widest variety of media
types and encodings. In addition to that, &kplayer; detects most playlist file
types and ensures that they are reproduced correctly.Major stream typesThe most widely used stream types for online media are RealMedia,
QuickTime, Windows Media and ShoutCast (MP3). &kplayer; will play all but very
few streams of those types. Choose Play URL... on
&kplayer;'s File menu, paste the stream address into the
URL box and select Open.
Alternatively, make sure your browser is configured to open &kplayer;
for the MIME types you would like to play with it, as well
as for rtsp:, pnm: and
mms: URLs. When you install &kplayer;,
&konqueror; configuration is done automatically, you
then just need to open File Association settings in
&konqueror; or in &kcontrolcenter; and move &kplayer; to the top of the list
for those file types that already had another program associated with them,
including the special types under the uri section.
Then you can simply click an http:, rtsp:,
pnm: or mms: link to your media, and
&kplayer; will start up and play it.If a stream has meta information embedded in it, &kplayer; will extract it
and display it in the multimedia library,
and if it finds the station name, it will also display it in the
title bar and on the
current playlist. Some music
streams also provide the name of the song currently being played. &kplayer; will
then display it in the title bar and on the current playlist instead of the
station name.Playlist filesIf the file a URL points to is a playlist,
&mplayer; needs a special
option to be able to play that file correctly. &kplayer; tries to detect
playlist files by looking at the file extension. If the extension is
ram, smi, smil,
rpm, asx, pls,
m3u or strm, and the protocol is
file, http, http_proxy,
ftp or smb, then &kplayer; passes the
playlist option to &mplayer;. But sometimes a playlist file may have a different
extension, or a file that is not a playlist may have one of those extensions.
In those cases playback will initially fail, and you will need to open the
File Properties dialog from the
File menu and set the Playlist option
correctly.Cache sizeBy default &kplayer; lets &mplayer; choose an optimal cache size, which
will work in almost all cases. But if you play a low bitrate media like a radio
station, it may take a while to fill the cache. In that case you can lower the
cache setting to 128 or even 64 kilobytes if &mplayer; does not do it
automatically. You can do that on the Advanced page for an
individual stream in the File Properties
dialog, or globally in &kplayer;
Settings. Alternatively, you can set a lower minimum cache size required
to start playback, the default one being 20%. That setting goes into the
Additional command line parameters field on the same
Advanced page, for example
-cache-min 5.Embedded streamsA lot of times a media stream will be embedded as an object into a web
page. &kplayer; supports that and will play the stream if it is configured as
the default player for that media type. But it is recommended that you right
click on the web page object and choose Start
&kplayer;. You will then get better interface and more
options.Playing through HTTP I/O SlaveIn &mplayer; 1.0-pre4 there was a bug that made it impossible to play
HTTP URLs that had URL
encodable characters like a space in them. For those URLs
you can turn on the Use KIOSlave option in the
File Properties. &kplayer; will then
use the HTTP I/O Slave to play the file,
sending data to &mplayer; through a named pipe.Where to find stationsThere is no single best resource for finding online radio and TV stations.
VTuner online directory is pretty
good but not very complete.
Radios.com.br is rather spammy
but more complete, their directory of online
TV and
radio stations from
all over the world probably is the most complete on the Internet today. Finally,
TVRadioWorld is an excellent
resource for finding on-the-air TV and radio stations (online
or not), and it links to online streams for some of them.Recording streamsOpen FileProperties for the stream you want to
record, go to the
Advanced page and enter
into the Additional command line
arguments field. Then start playing the stream.
A stream.dump file will then be created in the current
directory. You can later rename it with the correct extension. Or add
filename.ext to the
same Additional command line arguments field. The option in
that field have to be separated with spaces, and the file name must not have
spaces in it.