How to configure MPlayer

This howto is not for configuring mplayer's installation, its for configuring MPlayer's operation

MPlayer is a highly configurable video player. You can configure default settings, keyboard/mouse bindings.

Configuration files

 * Global
 * /etc/mplayer/mplayer.conf
 * Local
 * ~/.mplayer/config
 * ~/.mplayer/input.conf
 * ~/.mplayer/menu.conf

Configuration
Configuration will set the default settings when MPlayer loads.


 * Config file
 * ~/.mplayer/config


 * Have MPlayer list all options
 * Execute: mplayer −list−options
 * Example list-options

Configuration format is one command per line, and # for comments
 * Config
 * OPTION="PARAMETER"
 * Example
 * vo="xv"

Input Keyboard/joystick/mouse/LIRC bindings
Bindings for the keyboard, mouse, and joystick are set in input.conf, and can be placed in ~/.mplayer/input.conf. LIRC is configured in the standard ~/.lircrc. The format of the config file is one binding per line, and # are comments.


 * Format
 * KEY COMMAND PARAMETER
 * Example: RIGHT seek +10


 * Commands
 * In depth description of each command view
 * MPlayer slave.txt
 * List of command usable in you MPlayer compilation.
 * Execute: mplayer -input cmdlist
 * Example input cmdlist


 * Keys/Inputs
 * For a full key list
 * Execute: mplayer -input keylist
 * Example input keylist
 * Keyboard
 * all normal keys are used normally
 * Example 'm' is m
 * Special Characters: RIGHT, LEFT, UP, DOWN, PGUP, PGDWN, ESC, ENTER, SPACE, HOME, END, INS, DEL, F1-F12
 * Backspace: BS
 * Keypad
 * With num-lock ON
 * KP0-KP9, KP_DEL, KP_ENTER
 * With num-lock OFF
 * KP1-FP9, KP_INS, KP_DEL, KP_ENTER
 * (+ - / *) are the same as the other part of keyboard
 * Joystick
 * JOY_RIGHT, JOY_LEFT, JOY_UP, JOY_DOWN, JOY_BTN0, JOY_BTN1, JOY_BTN2, JOY_BTN3
 * Mouse
 * Left click: MOUSE_BTN0
 * Middle click: MOUSE_BTN1
 * Right click: MOUSE_BTN2
 * Double click
 * Left double click: MOUSE_BTN0_DBL


 * Example of input.conf
 * input.conf