# Avancerede indstillinger

Denne minivejledning beskriver en del af de mere avancerede indstillinger tilgængelige i dialogen &kplayer;s indstillinger, som du kan åbne ved brug af Indstil &kplayer; i menuen Indstillinger.

## Genrel opsætning

Ændr størrelse af hovedvinduet automatisk

  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 Minimale oprindelige videobredde. Vinduets størrelse ændres også automatisk for at beholde videoproportionener hvis det tilvalg er aktiveret.

  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 minivejledningen for fejlrapportering.

Maximum entries on playlist menus, Maximum entries on Play Recent menu and Maximum Recent entries in the library

  These options control the size of playlist menus, the recent menu and the recent list in the multimedia library respectively. If the limits are exceeded, the menus will show the top items up to the limit you provide, and items from the Recent section of the library that exceed the limit will be removed.

Meta information cache size limit

  &kplayer; will remember the properties of any files or URLs it has played, even when they are removed from the multimedia library. 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 Advanced page for that.

Allow duplicate entries on playlists

  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' URLs are exactly the same. Note however that different playlist folders can have identical entries regardless of this setting.

Show messages if a file fails to play

  When an error occurs while trying to play a file, &kplayer; shows an Error indicator in the status bar. You can then left click the indicator to show the message log containing the full output from &mplayer; and &kde; I/O Slaves. When this option is turned on, &kplayer; will show the message log automatically whenever an error occurs.

## Indstillinger af Kontroller

Husk altid følgende indstillinger for hver fil

  &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. Minivejledningen for filegenskaber har mere information.

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

Husk alle ændringer som gøres med &Shift; for nuværende fil

  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 Advanced submenu of the Player menu. &kplayer; will then use that setting for this file only, and will continue using the default setting for all other files.

## Kontrolindstillinger af Fremgang og søgning

Søgeafstand

  Dette lader dig vælge hvor meget &kplayer; søger fremad eller tilbage når du bruger søgevalgmulighederne i menuen Afspiller. Du kan indstille værdier i procent af videoens længde eller i sekunder.

## Kontrolindstillinger af Lydstyrke og video

Justeringsværdi

  Dette er værdien som en indstilling såsom lydstyrken eller kontrasten ændres når du bruger tilvalg såsom Skru op eller Formindsk kontrast i menuen Afspiller.

## Indstillinger af Lyd og video

Driver

  This option allows you to choose the video or audio output that &mplayer; will use. The recommended outputs are XVideo for video and ALSA for audio.

Enhed

  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 &mplayer; manpage.

Afkoder

  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 file properties and the ability to set the codec for each file or URL individually.

## Indstillinger af Video

Skalering

  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.

Dobbeltbuffering

  Dette er normalt aktiveret. Det giver jævnere video i de fleste tilfælde.

Direkte fremvisning

  Dette kan give bedre ydelse. Det virker dog ikke med dobbeltbuffering, og gør også at undertekster bliver springende. Det er normalt deaktiveret.

## Audio settings

Control volume independently of other programs

  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 Maximum volume setting, which is in percent of the normal volume level.

Mixer device and Mixer channel

  These options let you choose an ALSA or OSS 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.

Delay adjustment amount

  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 Increase Delay and Decrease Delay commands on the Audio or Subtitles submenu of the Player menu or the corresponding keyboard shortcuts.

## Subtitle settings

Font name, Bold, Italic and Outline

  These options select the font for subtitle display and determine its style and appearance.

Text size and Auto scale

  These options determine the size of subtitle text. When Auto scale is checked, the size option gives the scale factor, otherwise it gives the font size in points.

Encoding

  This option selects the default encoding of text in subtitle files. You can also specify the encoding of individual subtitle files in the subtitle properties of the corresponding video file.

Auto expand video area to aspect ratio

  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.

  Normally you should choose the aspect ratio to match your monitor, usually 4:3. 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.

Autoload subtitles and Extensions

  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 Subtitles submenu of the Player menu, allowing you to choose another file to display.

## Avancerede indstillinger

Yderligere kommandolinjeflag

  In this field you can place additional command line options you want to pass to &mplayer;. For example, to get more informational output in the message log, put the `-v` option in this field. You can add more options for an individual file or URL in its file properties.

Preferred demuxer

  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 file properties. For example you can choose the `lavf` option if the `libavformat` demuxer works better for your multimedia than other &mplayer; demuxers.

Spring over billeder

  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 URL basis. Just hold down the &Shift; key when selecting a frame dropping option from the Advanced submenu of the Player menu, and &kplayer; will remember it for the current file or URL. If you need frame dropping, try the soft option first.

Cache

  This is probably the most tricky of &mplayer; options. It is especially important when playing directly from a &kde; I/O Slave. 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 DVD, VCD, NFS, Samba, etc. may sometimes require much larger cache like eight megabytes. On the other hand, low bitrate media like online radio stations may need smaller cache so they start playing more quickly. Also, according to &mplayer; crashing message, non-interleaved AVI files may need cache to be turned off. As usual, you can set the Cache option for each individual file or URL in its file properties.

Byg nyt indeks

  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 Påtving bør kun angives i egenskaberne for en individuel fil eller url.

Brug midlertidig fil til at afspille fra I/O-slave

  Dette får kun virkning når en &kde; I/O-slave 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; I/O-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 fil-egenskaberne, så du kan ændre det for individuelle filer og url'er.

Brug I/O-slave for HTTP, FTP, SMB

  Those three URL types can be played either directly by &mplayer; or using a &kde; I/O Slave. All three options are turned off by default, so the URLs 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 I/O Slave. You can also set this option in the individual file properties.