2002-03-01 21:55:26 +00:00
|
|
|
##
|
|
|
|
## MPlayer input control file
|
|
|
|
##
|
|
|
|
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
|
2003-05-05 03:13:43 +00:00
|
|
|
## add new ones here.
|
2005-12-11 21:59:13 +00:00
|
|
|
## See DOCS/tech/slave.txt for possible commands that can be bound.
|
2006-11-30 08:47:29 +00:00
|
|
|
## Also see mplayer -input cmdlist for other possible options.
|
2003-05-05 03:13:43 +00:00
|
|
|
## The file should be placed in the $HOME/.mplayer directory.
|
2002-03-01 21:55:26 +00:00
|
|
|
##
|
2008-04-09 20:53:11 +00:00
|
|
|
## If you wish to unbind a key, use key ignore.
|
|
|
|
## e.g. ENTER ignore
|
|
|
|
##
|
2010-12-19 10:12:20 +00:00
|
|
|
## You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
|
|
|
|
## modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
|
|
|
|
## key combinations is only supported through the video windows of X-based
|
|
|
|
## output drivers (not in output windows of other drivers or in a terminal).
|
2002-03-01 21:55:26 +00:00
|
|
|
|
|
|
|
RIGHT seek +10
|
|
|
|
LEFT seek -10
|
|
|
|
DOWN seek -60
|
|
|
|
UP seek +60
|
2010-12-19 11:34:06 +00:00
|
|
|
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
|
|
|
Shift+Right seek +1 0 1
|
|
|
|
Shift+Left seek -1 0 1
|
|
|
|
Shift+Down seek -5 0 1
|
|
|
|
Shift+Up seek +5 0 1
|
2002-03-01 21:55:26 +00:00
|
|
|
PGUP seek 600
|
|
|
|
PGDWN seek -600
|
2007-03-16 13:59:02 +00:00
|
|
|
m mute
|
2006-11-30 08:47:29 +00:00
|
|
|
# switch_audio # switch audio streams
|
2006-04-15 14:24:36 +00:00
|
|
|
+ audio_delay 0.100
|
2009-04-04 04:27:09 +00:00
|
|
|
= audio_delay 0.100
|
2006-04-15 14:24:36 +00:00
|
|
|
- audio_delay -0.100
|
2004-10-20 20:07:50 +00:00
|
|
|
[ speed_mult 0.9091 # scale playback speed
|
|
|
|
] speed_mult 1.1
|
|
|
|
{ speed_mult 0.5
|
|
|
|
} speed_mult 2.0
|
|
|
|
BS speed_set 1.0 # reset speed to normal
|
2002-03-01 21:55:26 +00:00
|
|
|
q quit
|
|
|
|
ESC quit
|
2006-11-30 08:47:29 +00:00
|
|
|
ENTER pt_step 1 1 # skip to next file
|
2002-03-01 21:55:26 +00:00
|
|
|
p pause
|
2006-11-30 08:47:29 +00:00
|
|
|
. frame_step # advance one frame and pause
|
2002-03-01 21:55:26 +00:00
|
|
|
SPACE pause
|
|
|
|
HOME pt_up_step 1
|
|
|
|
END pt_up_step -1
|
2006-11-30 08:47:29 +00:00
|
|
|
> pt_step 1 # skip to next file
|
|
|
|
< pt_step -1 # previous
|
2002-03-01 21:55:26 +00:00
|
|
|
INS alt_src_step 1
|
|
|
|
DEL alt_src_step -1
|
|
|
|
o osd
|
2006-11-30 08:47:29 +00:00
|
|
|
I osd_show_property_text "${filename}" # display filename in osd
|
2010-04-09 19:20:52 +00:00
|
|
|
P osd_show_progression
|
2006-11-30 08:47:29 +00:00
|
|
|
z sub_delay -0.1 # subtract 100 ms delay from subs
|
|
|
|
x sub_delay +0.1 # add
|
2002-03-01 21:55:26 +00:00
|
|
|
9 volume -1
|
|
|
|
/ volume -1
|
|
|
|
0 volume 1
|
|
|
|
* volume 1
|
|
|
|
1 contrast -1
|
|
|
|
2 contrast 1
|
|
|
|
3 brightness -1
|
|
|
|
4 brightness 1
|
|
|
|
5 hue -1
|
|
|
|
6 hue 1
|
|
|
|
7 saturation -1
|
|
|
|
8 saturation 1
|
2007-06-20 02:26:20 +00:00
|
|
|
( balance -0.1 # adjust audio balance in favor of left
|
|
|
|
) balance +0.1 # right
|
2002-03-01 21:55:26 +00:00
|
|
|
d frame_drop
|
2008-01-15 19:37:16 +00:00
|
|
|
D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
|
2006-11-30 08:47:29 +00:00
|
|
|
r sub_pos -1 # move subtitles up
|
|
|
|
t sub_pos +1 # down
|
2002-12-07 20:32:03 +00:00
|
|
|
#? sub_step +1 # immediately display next subtitle
|
|
|
|
#? sub_step -1 # previous
|
2009-07-06 23:26:13 +00:00
|
|
|
#? sub_scale +0.1 # increase subtitle font size
|
|
|
|
#? sub_scale -0.1 # decrease subtitle font size
|
2011-08-04 19:47:36 +00:00
|
|
|
V step_property_osd ass_vsfilter_aspect_compat # stretch SSA/ASS subtitles with anamorphic videos to match historical VSFilter behavior
|
2002-03-15 22:27:09 +00:00
|
|
|
f vo_fullscreen
|
2006-11-30 08:47:29 +00:00
|
|
|
T vo_ontop # toggle video window ontop of other windows
|
|
|
|
w panscan -0.1 # zoom out with -panscan 0 -fs
|
|
|
|
e panscan +0.1 # in
|
|
|
|
s screenshot # take a png screenshot with -vf screenshot
|
|
|
|
# S will take a png screenshot of every frame
|
2002-03-01 21:55:26 +00:00
|
|
|
|
|
|
|
h tv_step_channel 1
|
|
|
|
l tv_step_channel -1
|
|
|
|
n tv_step_norm
|
|
|
|
b tv_step_chanlist
|
|
|
|
|
2011-03-09 12:30:56 +00:00
|
|
|
##
|
|
|
|
## Mouse section
|
|
|
|
##
|
|
|
|
|
|
|
|
MOUSE_BTN0_DBL vo_fullscreen # toggle fullscreen on/off
|
|
|
|
MOUSE_BTN2 pause # toggle pause on/off
|
|
|
|
|
2002-03-01 21:55:26 +00:00
|
|
|
##
|
|
|
|
## Joystick section
|
|
|
|
## WARNING: joystick support has to be explicitly enabled at
|
|
|
|
## compiletime with --enable-joystick
|
|
|
|
##
|
|
|
|
|
|
|
|
JOY_RIGHT seek 10
|
|
|
|
JOY_LEFT seek -10
|
|
|
|
JOY_UP seek 60
|
|
|
|
JOY_DOWN seek -60
|
|
|
|
JOY_BTN0 pause
|
|
|
|
JOY_BTN1 osd
|
2002-03-19 13:27:44 +00:00
|
|
|
JOY_BTN2 volume 1
|
|
|
|
JOY_BTN3 volume -1
|
2007-12-11 21:58:42 +00:00
|
|
|
JOY_BTN4 set_menu main
|
2002-11-23 21:58:29 +00:00
|
|
|
|
2007-08-14 14:29:22 +00:00
|
|
|
##
|
|
|
|
## Apple Remote section
|
|
|
|
##
|
2007-12-12 04:00:07 +00:00
|
|
|
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
|
|
|
|
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
|
|
|
|
##
|
2007-08-14 14:29:22 +00:00
|
|
|
|
|
|
|
AR_PLAY pause
|
|
|
|
AR_PLAY_HOLD quit
|
|
|
|
AR_NEXT seek 30
|
|
|
|
AR_NEXT_HOLD seek 120
|
|
|
|
AR_PREV seek -10
|
|
|
|
AR_PREV_HOLD seek -120
|
2008-05-18 12:28:34 +00:00
|
|
|
AR_MENU menu up
|
2007-12-25 08:01:46 +00:00
|
|
|
#AR_MENU menu cancel
|
2007-08-14 14:29:22 +00:00
|
|
|
AR_MENU_HOLD mute
|
|
|
|
AR_VUP volume 1
|
|
|
|
AR_VDOWN volume -1
|
|
|
|
|
2002-11-23 21:58:29 +00:00
|
|
|
##
|
|
|
|
## OSD Menu movement keys
|
|
|
|
##
|
|
|
|
## If you are using only the keyboard it is enough to define one command (like
|
2003-05-05 03:13:43 +00:00
|
|
|
## "menu up"), because then that single key will display the menu, which can
|
2007-12-12 02:48:47 +00:00
|
|
|
## then be navigated with the cursor keys and ENTER (defined in menu.conf).
|
2002-11-23 21:58:29 +00:00
|
|
|
##
|
|
|
|
## LIRC users should bind each "menu" command to a button on their remote.
|
|
|
|
##
|
2003-05-05 03:13:43 +00:00
|
|
|
## The set_menu command directly displays the (sub)menu specified as
|
2002-11-23 21:58:29 +00:00
|
|
|
## its argument. Usage should be self-explanatory (although not likely
|
|
|
|
## to be needed), after reading input.conf.
|
|
|
|
##
|
|
|
|
|
|
|
|
#MOUSE_BTN0 menu up
|
|
|
|
#y menu down
|
|
|
|
#y menu ok
|
|
|
|
#y menu cancel
|
|
|
|
#y menu hide
|
|
|
|
#y set_menu general_pref
|
2006-09-09 21:57:45 +00:00
|
|
|
|
2006-11-30 08:47:29 +00:00
|
|
|
##
|
|
|
|
## DVDNAV
|
|
|
|
## Requires dvdnav://
|
|
|
|
##
|
|
|
|
|
2008-06-19 18:51:42 +00:00
|
|
|
UP {dvdnav} dvdnav up # DVDNav UP
|
|
|
|
DOWN {dvdnav} dvdnav down # DVDNav DOWN
|
|
|
|
LEFT {dvdnav} dvdnav left # DVDNav LEFT
|
|
|
|
RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
|
|
|
|
ESC {dvdnav} dvdnav menu # DVDNav MENU
|
|
|
|
ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
|
|
|
BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
|
2006-11-30 08:47:29 +00:00
|
|
|
|
2008-06-19 18:51:42 +00:00
|
|
|
AR_VUP {dvdnav} dvdnav up # DVDNav UP
|
|
|
|
AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
|
|
|
|
AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
|
|
|
|
AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
|
|
|
|
AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
|
|
|
|
AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
|
2008-05-18 12:19:51 +00:00
|
|
|
|
2006-11-30 08:47:29 +00:00
|
|
|
#? seek_chapter -1 # skip to previous dvd chapter
|
|
|
|
#? seek_chapter +1 # next
|