2 ## MPlayer input control file
4 ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
6 ## See DOCS/tech/slave.txt for possible commands that can be bound.
7 ## Also see mplayer -input cmdlist for other possible options.
8 ## The file should be placed in the $HOME/.mplayer directory.
10 ## If you wish to unbind a key, use key ignore.
13 ## You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
14 ## modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
15 ## key combinations is only supported through the video windows of X-based
16 ## output drivers (not in output windows of other drivers or in a terminal).
22 # Do smaller, always exact (non-keyframe-limited), seeks with shift.
23 Shift+Right seek +1 0 1
24 Shift+Left seek -1 0 1
25 Shift+Down seek -5 0 1
30 # switch_audio # switch audio streams
34 [ speed_mult 0.9091 # scale playback speed
38 BS speed_set 1.0 # reset speed to normal
41 ENTER pt_step 1 1 # skip to next file
43 . frame_step # advance one frame and pause
47 > pt_step 1 # skip to next file
48 < pt_step -1 # previous
52 I osd_show_property_text "${filename}" # display filename in osd
53 P osd_show_progression
54 z sub_delay -0.1 # subtract 100 ms delay from subs
55 x sub_delay +0.1 # add
68 ( balance -0.1 # adjust audio balance in favor of left
69 ) balance +0.1 # right
71 D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
72 r sub_pos -1 # move subtitles up
74 #? sub_step +1 # immediately display next subtitle
75 #? sub_step -1 # previous
76 #? sub_scale +0.1 # increase subtitle font size
77 #? sub_scale -0.1 # decrease subtitle font size
78 V step_property_osd ass_vsfilter_aspect_compat # stretch SSA/ASS subtitles with anamorphic videos to match historical VSFilter behavior
80 T vo_ontop # toggle video window ontop of other windows
81 w panscan -0.1 # zoom out with -panscan 0 -fs
83 s screenshot # take a png screenshot with -vf screenshot
84 # S will take a png screenshot of every frame
95 MOUSE_BTN0_DBL vo_fullscreen # toggle fullscreen on/off
96 MOUSE_BTN2 pause # toggle pause on/off
100 ## WARNING: joystick support has to be explicitly enabled at
101 ## compiletime with --enable-joystick
112 JOY_BTN4 set_menu main
115 ## Apple Remote section
117 ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
118 ## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
124 AR_NEXT_HOLD seek 120
126 AR_PREV_HOLD seek -120
134 ## OSD Menu movement keys
136 ## If you are using only the keyboard it is enough to define one command (like
137 ## "menu up"), because then that single key will display the menu, which can
138 ## then be navigated with the cursor keys and ENTER (defined in menu.conf).
140 ## LIRC users should bind each "menu" command to a button on their remote.
142 ## The set_menu command directly displays the (sub)menu specified as
143 ## its argument. Usage should be self-explanatory (although not likely
144 ## to be needed), after reading input.conf.
152 #y set_menu general_pref
156 ## Requires dvdnav://
159 UP {dvdnav} dvdnav up # DVDNav UP
160 DOWN {dvdnav} dvdnav down # DVDNav DOWN
161 LEFT {dvdnav} dvdnav left # DVDNav LEFT
162 RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
163 ESC {dvdnav} dvdnav menu # DVDNav MENU
164 ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
165 BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
167 AR_VUP {dvdnav} dvdnav up # DVDNav UP
168 AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
169 AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
170 AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
171 AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
172 AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
174 #? seek_chapter -1 # skip to previous dvd chapter
175 #? seek_chapter +1 # next