1 # MPlayer input control file
3 # You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
5 # See DOCS/tech/slave.txt for possible commands that can be bound.
6 # Also see mplayer -input cmdlist for other possible options.
7 # The file should be placed in the $HOME/.mplayer directory.
9 # If you wish to unbind a key, use key ignore.
12 # Note that merely removing default key bindings from this file won't remove
13 # the default bindings mplayer was compiled with, unless
14 # --input=nodefault-bindings
17 # Lines starting with # are comments. Use SHARP to assign the # key.
19 # Some characters need to be escaped. In particular, if you want to display
20 # a '\' character as part of an osd_show_property_text OSD message, you have to
22 # key osd_show_property_text "This is a single backslash: \\\\!"
24 # You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
25 # modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
26 # key combinations is only supported through the video windows of X-based
27 # output drivers (not in output windows of other drivers or in a terminal).
29 MOUSE_BTN0_DBL vo_fullscreen # toggle fullscreen on/off
30 MOUSE_BTN2 pause # toggle pause on/off
36 # Seek units are in seconds, but note that these are limited by keyframes
41 # Do smaller, always exact (non-keyframe-limited), seeks with shift.
42 Shift+RIGHT seek 1 0 1
43 Shift+LEFT seek -1 0 1
45 Shift+DOWN seek -5 0 1
48 + audio_delay 0.100 # this changes audio/video sync
50 [ speed_mult 0.9091 # scale playback speed
54 BS speed_set 1.0 # reset speed to normal
57 p pause # toggle pause/playback mode
58 . frame_step # advance one frame and pause
62 > pt_step 1 # skip to next file
63 ENTER pt_step 1 1 # skip to next file or quit
64 < pt_step -1 # skip to previous file
67 o osd # cycle through OSD mode
68 I osd_show_property_text "${filename}" # display filename in osd
69 P osd_show_progression
70 z sub_delay -0.1 # subtract 100 ms delay from subs
71 x sub_delay +0.1 # add
72 g sub_step -1 # immediately display next subtitle
73 y sub_step +1 # previous
78 ( balance -0.1 # adjust audio balance in favor of left
89 d frame_drop # cycle through framedrop modes
90 # toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint
91 D step_property_osd deinterlace
92 c step_property_osd colormatrix
93 # Next 3 currently only work with --no-ass
94 r sub_pos -1 # move subtitles up
98 # stretch SSA/ASS subtitles with anamorphic videos to match historical
99 V step_property_osd ass_vsfilter_aspect_compat
100 j sub_select # cycle through subtitles
101 J sub_select -3 # ...backwards
103 SHARP switch_audio # switch audio streams
104 _ step_property switch_video
105 TAB step_property switch_program
106 i edl_mark # for use with --edlout mode
107 T vo_ontop # toggle video window ontop of other windows
108 f vo_fullscreen # toggle fullscreen
109 C step_property_osd capturing
110 s screenshot 0 # take a png screenshot
111 S screenshot 1 # ...on every frame
112 Alt+s screenshot 0 1 # take a screenshot of window contents
113 Alt+S screenshot 1 1 # ...on every frame
114 w panscan -0.1 # zoom out with -panscan 0 -fs
127 VOLUME_DOWN volume -1
130 ! seek_chapter -1 # skip to previous chapter
131 @ seek_chapter 1 # next
140 X step_property teletext_mode 1
141 W step_property teletext_page 1
142 Q step_property teletext_page -1
154 KP_ENTER dvdnav select
155 MOUSE_BTN0 dvdnav mouse
159 # Apple Remote section
165 AR_NEXT_HOLD seek 120
167 AR_PREV_HOLD seek -120
175 # WARNING: joystick support has to be explicitly enabled at
176 # compiletime with --enable-joystick
179 JOY_AXIS0_PLUS seek 10
180 JOY_AXIS0_MINUS seek -10
181 JOY_AXIS1_MINUS seek 60
182 JOY_AXIS1_PLUS seek -60
189 # Not assigned by default
190 # (not an exhaustive list of unbound commands)
193 #? sub_scale +0.1 # increase subtitle font size
194 #? sub_scale -0.1 # decrease subtitle font size