<sect1 id="howto-settings">
<title
>Avancerede indstillinger</title>

<para
>Denne minivejledning beskriver en del af de mere avancerede indstillinger tilgængelige i dialogen <link linkend="settings"
>&kplayer;s indstillinger</link
>, som du kan åbne ved brug af  <guimenuitem
>Indstil &kplayer;</guimenuitem
> i menuen <link linkend="menu-settings"
><guimenu
>Indstillinger</guimenu
></link
>.</para>

<sect2 id="howto-settings-general">
<title
><link linkend="settings-general"
>Genrel</link
> opsætning</title>

<variablelist>

<varlistentry
><term
><guilabel
>Ændr størrelse af hovedvinduet automatisk </guilabel
></term>
<listitem
><para
>Normalt ændrer &kplayer; automatisk størrelse af hovedvinduet hvis det ikke er maksimeret eller i fuldskærmstilstand. Når &kplayer; indlæser og begynder at afspille en ny video, skaleres den med 50 % størrelsesforøgelse indtil videobredden når den indstillede <guilabel
>Minimale oprindelige videobredde</guilabel
>. Vinduets størrelse ændres også automatisk for at beholde videoproportionener hvis det tilvalg er aktiveret.</para>

<para
>Hvis du vil undgå automatisk størrelsesændring og altid lade vinduet have den størrelse du giver det, så slå dette fra. &kplayer; beholder så videoproportionerne ved at begrænse videoen indeni vinduet, som om vinduet for eksempel var maksimeret. Du bør også slå dette fra hvis du får problemer når du går tilbage fra fuldskærmstilstand, som for eksempel endeløs flimren. Hvis dette er tilfældet bør du dog også rapportere fejlen ifølge instruktionerne i <link linkend="howto-bug-reporting"
>minivejledningen for fejlrapportering</link
>.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Maximum entries on playlist menus</guilabel
>, <guilabel
>Maximum entries on Play Recent menu</guilabel
> and <guilabel
>Maximum Recent entries in the library</guilabel
></term>
<listitem
><para
>These options control the size of playlist menus, the recent menu and the recent list in the <link linkend="parts-library"
><interface
>multimedia library</interface
></link
> respectively. If the limits are exceeded, the menus will show the top items up to the limit you provide, and items from the <guilabel
>Recent</guilabel
> section of the library that exceed the limit will be removed.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Meta information cache size limit</guilabel
></term>
<listitem
><para
>&kplayer; will remember the <link linkend="howto-properties"
>properties</link
> of any files or <acronym
>URL</acronym
>s it has played, even when they are removed from the <interface
>multimedia library</interface
>. It will only start forgetting old file properties after a large number of files have been played. This setting controls that number, by default it is 10000. This has nothing to do with &mplayer; cache, look on the <link linkend="howto-settings-advanced"
>Advanced page</link
> for that.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Allow duplicate entries on playlists</guilabel
></term>
<listitem
><para
>By default &kplayer; removes duplicate entries from playlists when adding new entries. Turning the option on allows you to have duplicate entries on playlists. Duplicate means that the entries' <acronym
>URL</acronym
>s are exactly the same. Note however that different playlist folders can have identical entries regardless of this setting.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Show messages if a file fails to play</guilabel
></term>
<listitem
><para
>When an error occurs while trying to play a file, &kplayer; shows an <guilabel
>Error</guilabel
> indicator in the status bar. You can then <mousebutton
>left</mousebutton
> click the indicator to show the <link linkend="parts-message-log"
>message log</link
> containing the full output from &mplayer; and &kde; <acronym
>I/O</acronym
> Slaves. When this option is turned on, &kplayer; will show the message log automatically whenever an error occurs.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-controls">
<title
>Indstillinger af <link linkend="settings-controls"
>Kontroller</link
></title>

<variablelist>

<varlistentry
><term
><guilabel
>Husk altid følgende indstillinger for hver fil</guilabel
></term>
<listitem
><para
>&kplayer; 0.5 og senere levereres med mulighed for at indstille et stort antal tilvalg baseret på hver fil eller url. Disse tilvalg kaldes fil-egenskaber. <link linkend="howto-properties"
>Minivejledningen for filegenskaber</link
> har mere information.</para>

<para
>On this page you can choose the properties that will be remembered automatically for each file or <acronym
>URL</acronym
>. By default &kplayer; remembers the video aspect ratio, audio delay and subtitle delay.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Husk alle ændringer som gøres med &Shift; for nuværende fil</guilabel
></term>
<listitem
><para
>Alternatively, you can make &kplayer; remember a setting for the current file by holding the &Shift; key while changing that setting. For example, if you have a video file that needs too much resources to play correctly on your system, you can hold the &Shift; key and choose a frame dropping setting from the <link linkend="submenu-advanced"
><guisubmenu
>Advanced</guisubmenu
> submenu</link
> of the <link linkend="menu-player"
><guimenu
>Player</guimenu
> menu</link
>. &kplayer; will then use that setting for this file only, and will continue using the default setting for all other files.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-progress">
<title
>Kontrolindstillinger af <link linkend="settings-progress"
>Fremgang</link
> og søgning</title>

<variablelist>

<varlistentry
><term
><guilabel
>Søgeafstand</guilabel
></term>
<listitem
><para
>Dette lader dig vælge hvor meget &kplayer; søger fremad eller tilbage når du bruger  søgevalgmulighederne i menuen <link linkend="menu-player"
><guimenu
>Afspiller</guimenu
></link
>. Du kan indstille værdier i procent af videoens længde eller i sekunder.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-volume">
<title
>Kontrolindstillinger af <link linkend="settings-volume"
>Lydstyrke</link
> og <link linkend="settings-contrast"
>video</link
></title>

<variablelist>

<varlistentry
><term
><guilabel
>Justeringsværdi</guilabel
></term>
<listitem
><para
>Dette er værdien som en indstilling såsom lydstyrken eller kontrasten ændres når du bruger tilvalg såsom <guimenuitem
>Skru op</guimenuitem
> eller <guimenuitem
>Formindsk kontrast</guimenuitem
> i menuen <link linkend="menu-player"
><guimenu
>Afspiller</guimenu
></link
>.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-audio-video">
<title
>Indstillinger af <link linkend="settings-audio"
>Lyd</link
> og <link linkend="settings-video"
>video</link
></title>

<variablelist>

<varlistentry
><term
><guilabel
>Driver</guilabel
></term>
<listitem
><para
>This option allows you to choose the video or audio output that <link linkend="howto-installation-mplayer"
>&mplayer;</link
> will use. The recommended outputs are XVideo for video and <acronym
>ALSA</acronym
> for audio.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Enhed</guilabel
></term>
<listitem
><para
>For some output types you can also specify the device that &mplayer; will use for output. For other output types this sets the output subtype instead. For still other output types this setting may not be meaningful at all. You can find the details on the <ulink url="man:/mplayer"
>&mplayer; manpage</ulink
>.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Afkoder</guilabel
></term>
<listitem
><para
>This sets the preferred decoder and codec that &mplayer; should use for decoding video or audio. This option is not of much use anymore since &kplayer; 0.5 introduced <link linkend="howto-properties"
>file properties</link
> and the ability to set the codec for each file or <acronym
>URL</acronym
> individually.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-video">
<title
>Indstillinger af <link linkend="settings-video"
>Video</link
></title>

<variablelist>

<varlistentry
><term
><guilabel
>Skalering</guilabel
></term>
<listitem
><para
>Når videoudskrift som ikke understøtter hardware-skelering bruges, såsom X11, indstiller dette den skalerings-type der skal bruges. Eftersom du normalt bruger XVideo eller en anden videoudskrift som understøtter hardware-skalering, har dette ingen virkning. Men hvis du bruger X11-udskrift eller på anden måde aktiverer programmel-skalering, kan du eksperimentere med dette for at se hvilken indstilling giver bedst resultat. Bikubisk og bikubisk spline siges at give et jævnt billede i de fleste tilfælde.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Dobbeltbuffering</guilabel
></term>
<listitem
><para
>Dette er normalt aktiveret. Det giver jævnere video i de fleste tilfælde.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Direkte fremvisning</guilabel
></term>
<listitem
><para
>Dette kan give bedre ydelse. Det virker dog ikke med dobbeltbuffering, og gør også at undertekster bliver springende. Det er normalt deaktiveret.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-audio">
<title
><link linkend="settings-audio"
>Audio</link
> settings</title>

<variablelist>

<varlistentry
><term
><guilabel
>Control volume independently of other programs</guilabel
></term>
<listitem
><para
>This option tells &mplayer; to use software volume control, which does not affect global volume settings on your system, but may result in some distortion of the sound. When this is enabled, the maximum volume level is controlled by the <guilabel
>Maximum volume</guilabel
> setting, which is in percent of the normal volume level.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Mixer device</guilabel
> and <guilabel
>Mixer channel</guilabel
></term>
<listitem
><para
>These options let you choose an <acronym
>ALSA</acronym
> or <acronym
>OSS</acronym
> device and channel that will be used to control the sound volume. These options are not available when the software volume option above is enabled.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Delay adjustment amount</guilabel
></term>
<listitem
><para
>This option and a similar one for subtitles gives the amount by which the delay of audio or subtitles relative to video will be changed when using the <guimenuitem
>Increase Delay</guimenuitem
> and <guimenuitem
>Decrease Delay</guimenuitem
> commands on the <link linkend="submenu-audio"
><guisubmenu
>Audio</guisubmenu
></link
> or <link linkend="submenu-subtitles"
><guisubmenu
>Subtitles</guisubmenu
></link
> submenu of the <guimenu
>Player</guimenu
> menu or the corresponding keyboard shortcuts.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-subtitles">
<title
><link linkend="settings-subtitles"
>Subtitle</link
> settings</title>

<variablelist>

<varlistentry
><term
><guilabel
>Font name</guilabel
>, <guilabel
>Bold</guilabel
>, <guilabel
>Italic</guilabel
> and <guilabel
>Outline</guilabel
></term>
<listitem
><para
>These options select the font for subtitle display and determine its style and appearance.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Text size</guilabel
> and <guilabel
>Auto scale</guilabel
></term>
<listitem
><para
>These options determine the size of subtitle text. When <guilabel
>Auto scale</guilabel
> is checked, the size option gives the scale factor, otherwise it gives the font size in points.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Encoding</guilabel
></term>
<listitem
><para
>This option selects the default encoding of text in subtitle files. You can also specify the encoding of individual subtitle files in the <link linkend="properties-subtitles"
>subtitle properties</link
> of the corresponding video file.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Auto expand video area to aspect ratio</guilabel
></term>
<listitem
><para
>This option automatically expands the video area to fit the aspect ratio you choose and displays subtitles in the black area below or above the video. &kplayer; will only expand the video when playing it with subtitles, and only if the video is wider than the aspect ratio you choose.</para>

<para
>Normally you should choose the aspect ratio to match your monitor, usually <guilabel
>4:3</guilabel
>. Then, if the video aspect ratio is higher, for example 16:9, and you play it with subtitles, &kplayer; will expand it to fit the 4:3 aspect ratio, so that the subtitles appear in the black area below the video.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Autoload subtitles</guilabel
> and <guilabel
>Extensions</guilabel
></term>
<listitem
><para
>These options enable automatic loading of external subtitle files from the same directory where the video file is located. &kplayer; will use the name of the video file and the specified extensions to look for any matching subtitle files and automatically load them. If any files are found, one of them will be automatically used to display subtitles, and all of the subtitle files will appear on the <guisubmenu
>Subtitles</guisubmenu
> submenu of the <guimenu
>Player</guimenu
> menu, allowing you to choose another file to display.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

<sect2 id="howto-settings-advanced">
<title
><link linkend="settings-advanced"
>Avancerede</link
> indstillinger</title>

<variablelist>

<varlistentry
><term
><guilabel
>Yderligere kommandolinjeflag</guilabel
></term>
<listitem
><para
>In this field you can place additional command line options you want to pass to <link linkend="howto-installation-mplayer"
>&mplayer;</link
>. For example, to get more informational output in the <link linkend="parts-message-log"
>message log</link
>, put the <option
>-v</option
> option in this field. You can add more options for an individual file or <acronym
>URL</acronym
> in its <link linkend="howto-properties-advanced"
>file properties</link
>.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Preferred demuxer</guilabel
></term>
<listitem
><para
>This sets the preferred demultiplexer that &mplayer; should use for decoding files and streams. You can also choose a demuxer for each individual file or stream in its <link linkend="howto-properties-advanced"
>file properties</link
>. For example you can choose the <literal
>lavf</literal
> option if the <literal
>libavformat</literal
> demuxer works better for your multimedia than other &mplayer; demuxers.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Spring over billeder</guilabel
></term>
<listitem
><para
>If your system is too slow to play your files properly, this option will tell &mplayer; to drop some frames. You can also set the frame dropping option on a per file or <acronym
>URL</acronym
> basis. Just hold down the &Shift; key when selecting a frame dropping option from the <link linkend="submenu-advanced"
><guisubmenu
>Advanced</guisubmenu
> submenu</link
> of the <link linkend="menu-player"
><guimenu
>Player</guimenu
> menu</link
>, and &kplayer; will remember it for the current file or <acronym
>URL</acronym
>. If you need frame dropping, try the <guilabel
>soft</guilabel
> option first.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Cache</guilabel
></term>
<listitem
><para
>This is probably the most tricky of &mplayer; options. It is especially important when playing directly from a <link linkend="howto-slaves"
>&kde; <acronym
>I/O</acronym
> Slave</link
>. Although most audio files will play fine with only 64 kilobyte cache, such a small cache will cause problems with many video files. Also, some slow media types like <acronym
>DVD</acronym
>, <acronym
>VCD</acronym
>, <acronym
>NFS</acronym
>, Samba, etc. may sometimes require much larger cache like eight megabytes. On the other hand, low bitrate media like <link linkend="howto-streams"
>online radio stations</link
> may need smaller cache so they start playing more quickly. Also, according to &mplayer; crashing message, non-interleaved <acronym
>AVI</acronym
> files may need cache to be turned off. As usual, you can set the <guilabel
>Cache</guilabel
> option for each individual file or <acronym
>URL</acronym
> in its <link linkend="properties-advanced"
>file properties</link
>.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Byg nyt indeks</guilabel
></term>
<listitem
><para
>Hvis en fil ikke har et indeks, eller har et forkert sådant, så søgning ikke fungerer, kan du forsøge at aktivere dette for at se om det giver en forbedring. At aktivere det gør oftest ingen skade, men indstillingen <guilabel
>Påtving</guilabel
> bør kun angives i <link linkend="properties-advanced"
>egenskaberne</link
> for en individuel fil eller url.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Brug midlertidig fil til at afspille fra I/O-slave</guilabel
></term>
<listitem
><para
>Dette får kun virkning når en <link linkend="howto-slaves"
>&kde; <acronym
>I/O</acronym
>-slave</link
> bruges. Normalt er det slået fra, så data sendes til &mplayer; via en navngiven pipe. Det virker  som oftest, med den ene bagdel at søgning ikke er mulig og at tidslængden ofte er ukendt. Hvis afspilning direkte fra en &kde; <acronym
>I/O</acronym
>-slave ikke fungerer for dig, så aktivér dette. Så henter &kplayer; filen og gemmer den lokalt inden den afspilles. Det tager længere tid og bruger  også midlertidigt en del disk-plads, men det gør det muligt at detektere længden og at søge. Dette er også tilgængeligt i <link linkend="properties-advanced"
>fil-egenskaberne</link
>, så du kan ændre det for individuelle filer og url'er.</para
></listitem
></varlistentry>

<varlistentry
><term
><guilabel
>Brug I/O-slave for HTTP, FTP, SMB</guilabel
></term>
<listitem
><para
>Those three <acronym
>URL</acronym
> types can be played either directly by &mplayer; or using a <link linkend="howto-slaves"
>&kde; <acronym
>I/O</acronym
> Slave</link
>. All three options are turned off by default, so the <acronym
>URL</acronym
>s are passed to &mplayer; directly. But if that does not work for any reason, you will want to turn the corresponding option on, so that &kplayer; uses the <acronym
>I/O</acronym
> Slave. You can also set this option in the individual <link linkend="howto-properties-advanced"
>file properties</link
>.</para
></listitem
></varlistentry>

</variablelist>

</sect2>

</sect1>
