diff --git a/doc/index.docbook b/doc/index.docbook index e220db4..516aa64 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -1,189 +1,198 @@ Kmplayer'> ]> The &kmplayer; Handbook Koos Vriezen
koos dot vriezen at xs4all dot nl
2002 2003 Koos Vriezen &FDLNotice; 2003-12-24 0.05.00 &kmplayer; is an application is a &kde; frontend to MPlayer. KDE kdemultimedia MPlayer konqueror video
Introduction &kmplayer; is a simple frontend to MPlayer, Xine and FFMpeg. You can use it for watching all the movie file formats that MPlayer/Xine supports as well as watching DVDs, VCD or TV/camera. The documentation for &kappname; was not finished when &kde; was installed on this computer. If you need help, please check The KDE Website for updates, or by submitting your question to The &kde; User Mailing list. The &kde; Team The playable sources &kmplayer; can play from various sources. These sources are listed in the Source menu.
TV - KMPlayer can play from TV cards using MPlayer or XVideo. Before you can watch TV, you have to configure which device to use and the TV channel. You can use the scanner from the configure dialog for this or edit the config file manually. + KMPlayer can play from TV cards using MPlayer or XVideo. Before you can watch TV, you have to configure which device to use and the TV channels. You can use the scanner from the configure dialog for this or edit the config file manually. The config file for TV settings is a XML file, located ~/.kde/share/apps/kmplayer/tv.xml. The XML format is like this example: <tvdevices> <device path="/dev/video0" width="320" height="240" name="BT878 video (Hauppauge (bt878))" audio="" minwidth="48" minheight="32" maxwidth="924" maxheight="576" playback="0" xvport="240"> <input name="Television" id="0" tuner="1" norm="PAL" xvenc="0"> <channel name="Ned1" frequency="21600"/> <channel name="VCR" frequency="59490"/> </input> <input name="Composite1" id="1" xvenc="7"/> <input name="S-Video" id="2" xvenc="14"/> <input name="Composite3" id="3"/> </device> <device path="/dev/video1" width="640" height="480" name="Philips 740 webcam" audio="" minwidth="160" minheight="120" maxwidth="640" maxheight="480" playback="1"> <input name="Webcam" id="0"/> </device> </tvdevices> -Note that currently the xvport and xvenc attributes can only be set manually editing this file. The values of these two attributes can be retrieved by running kxvplayer in a terminal application like konsole. See the VDR section for more information about using XVideo. +Note that currently the xvport and xvenc attributes can only be set manually editing this file. The values of these two attributes can be retrieved by running kxvplayer in a terminal application like konsole. For every port, kxvplayer will output lines like below and the numbers can be set for the attributes mentioned. + + xvport 240 + .... + encoding: 0 PAL-television + encoding: 1 NTSC-television + encoding: 2 SECAM-television + .... + +See the VDR section for more information about using XVideo.
VDR To configure your VDR settings in kmplayer, see the Configure panel->Source->VDR->XVideo port panel. There should be ports detected, from which you should select one. You have to figure out what encoding you should use (eg. for western europe, that is PAL) and likely the correct one has a name with dvb in it. For instance, I have a TV card, a DVB-S card and a webcam pluged into my system. With these, my settings are that there are three Ports. The first one has a long list of NTSC(-JP)/PAL(-M)/SECAM entries all saying something about television/composite/svideo (my TV card). The second one has NTSC-dvb/PAL-dvb/SECAM-dvb (my DVB-S card). And finally the third has only ntsc/pal (probably my webcam). I should therefore configure (just select it) the second port and second entry (PAL-dvb). Because VDR support from kmplayer can only use XVideo, of course XVideo should work (and I believe for video devices, this way of viewing only works on linux). Also this only works on your first display (:0.0). So make sure videoforlinux extension works with the X server. For the XFree86 server, therefor in its configuration (/etc/X11/XF86Config) it should have Section "Module" .... Load "v4l" EndSection Unfortunately, when ever you update your video driver, you have to reconfigure this setting.
Questions, Answers, and Tips Frequently asked questions Xine starts up slow, why does it have to benchmark my CPU all the time? The Xine frontend for &kmplayer;, kxineplayer, uses ~/.xine/config2 for its configuration. Settings for Xine are found in the configuration dialog General Options|Xine. (If you change an option here and save it, ~/.xine/config2 will contain some explainations too). The CPU benchmarking is caused by the option misc.memcpy_method set to probe. To see which memcpy version works the fastest for you, enable Show Console Output from the View menu and look at the results from this benchmarking when you play something with Xine. Configure misc.memcpy_method with the method with the lowest time. Any hints to make my CDROM less noisy when playing from it (not VCD://)? Sure, try hdparm -E 8 /dev/cdrom as root after mounting the device. But be sure to double check /dev/cdrom pointing to your CDROM drive. Credits and Licenses &kmplayer; copyright 2002,2003 Koos Vriezen &underFDL; &underGPL; &documentation.index;