Wikia

How To Wiki

How to configure MPlayer

Talk0
1,788pages on
this wiki



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 filesEdit

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


ConfigurationEdit

Configuration will set the default settings when MPlayer loads.

  • Config file
    • ~/.mplayer/config

Configuration format is one command per line, and # for comments

  • Config
    • OPTION="PARAMETER"
  • Example
    • vo="xv"

Input Keyboard/joystick/mouse/LIRC bindingsEdit

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<space>COMMAND<space>PARAMETER
    • Example: RIGHT seek +10
  • Keys/Inputs
    • For a full key list
    • 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


ReferencesEdit

Around Wikia's network

Random Wiki