Mercurial > mplayer.hg
annotate etc/input.conf @ 35690:f6470f5787b9
Make variables local.
A global scope isn't necessary.
author | ib |
---|---|
date | Fri, 18 Jan 2013 20:29:02 +0000 |
parents | 10fae2d68e7f |
children |
rev | line source |
---|---|
4909 | 1 ## |
2 ## MPlayer input control file | |
3 ## | |
4 ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or | |
10070 | 5 ## add new ones here. |
17179 | 6 ## See DOCS/tech/slave.txt for possible commands that can be bound. |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
7 ## Also see mplayer -input cmdlist for other possible options. |
10070 | 8 ## The file should be placed in the $HOME/.mplayer directory. |
4909 | 9 ## |
26348 | 10 ## If you wish to unbind a key, use key ignore. |
11 ## e.g. ENTER ignore | |
12 ## | |
4909 | 13 |
14 RIGHT seek +10 | |
15 LEFT seek -10 | |
16 DOWN seek -60 | |
17 UP seek +60 | |
18 PGUP seek 600 | |
19 PGDWN seek -600 | |
22614
0c811221c415
add mute bind which has been default for a while, any other missing defaults?
compn
parents:
21391
diff
changeset
|
20 m mute |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
21 # switch_audio # switch audio streams |
18100
826a0faa2a0f
Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents:
17179
diff
changeset
|
22 + audio_delay 0.100 |
29098
efed5bc41ca6
make = and + both adjust audio delay, useful for keyboards without keypads
compn
parents:
27068
diff
changeset
|
23 = audio_delay 0.100 |
18100
826a0faa2a0f
Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents:
17179
diff
changeset
|
24 - audio_delay -0.100 |
13710 | 25 [ speed_mult 0.9091 # scale playback speed |
26 ] speed_mult 1.1 | |
27 { speed_mult 0.5 | |
28 } speed_mult 2.0 | |
29 BS speed_set 1.0 # reset speed to normal | |
4909 | 30 q quit |
31 ESC quit | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
32 ENTER pt_step 1 1 # skip to next file |
4909 | 33 p pause |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
34 . frame_step # advance one frame and pause |
4909 | 35 SPACE pause |
36 HOME pt_up_step 1 | |
37 END pt_up_step -1 | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
38 > pt_step 1 # skip to next file |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
39 < pt_step -1 # previous |
4909 | 40 INS alt_src_step 1 |
41 DEL alt_src_step -1 | |
42 o osd | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
43 I osd_show_property_text "${filename}" # display filename in osd |
30986
2186c040f9e0
Add osd_show_progression: Show progress bar and elapsed/total time.
cehoyos
parents:
29263
diff
changeset
|
44 P osd_show_progression |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
45 z sub_delay -0.1 # subtract 100 ms delay from subs |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
46 x sub_delay +0.1 # add |
4909 | 47 9 volume -1 |
48 / volume -1 | |
49 0 volume 1 | |
50 * volume 1 | |
51 1 contrast -1 | |
52 2 contrast 1 | |
53 3 brightness -1 | |
54 4 brightness 1 | |
55 5 hue -1 | |
56 6 hue 1 | |
57 7 saturation -1 | |
58 8 saturation 1 | |
23568 | 59 ( balance -0.1 # adjust audio balance in favor of left |
60 ) balance +0.1 # right | |
4909 | 61 d frame_drop |
25731 | 62 D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
63 r sub_pos -1 # move subtitles up |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
64 t sub_pos +1 # down |
8399 | 65 #? sub_step +1 # immediately display next subtitle |
66 #? sub_step -1 # previous | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
29098
diff
changeset
|
67 #? sub_scale +0.1 # increase subtitle font size |
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
29098
diff
changeset
|
68 #? sub_scale -0.1 # decrease subtitle font size |
5113 | 69 f vo_fullscreen |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
70 T vo_ontop # toggle video window ontop of other windows |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
71 w panscan -0.1 # zoom out with -panscan 0 -fs |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
72 e panscan +0.1 # in |
32584
bec4b99cda2a
add c key for capturing default bind, missing from r32524
compn
parents:
31404
diff
changeset
|
73 c capturing # save (and append) file/stream to stream.dump with -capture |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
74 s screenshot # take a png screenshot with -vf screenshot |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
75 # S will take a png screenshot of every frame |
4909 | 76 |
77 h tv_step_channel 1 | |
78 l tv_step_channel -1 | |
79 n tv_step_norm | |
80 b tv_step_chanlist | |
81 | |
82 ## | |
83 ## Joystick section | |
84 ## WARNING: joystick support has to be explicitly enabled at | |
85 ## compiletime with --enable-joystick | |
86 ## | |
87 | |
88 JOY_RIGHT seek 10 | |
89 JOY_LEFT seek -10 | |
90 JOY_UP seek 60 | |
91 JOY_DOWN seek -60 | |
92 JOY_BTN0 pause | |
93 JOY_BTN1 osd | |
5195 | 94 JOY_BTN2 volume 1 |
95 JOY_BTN3 volume -1 | |
25337 | 96 JOY_BTN4 set_menu main |
8261 | 97 |
98 ## | |
24037 | 99 ## Apple Remote section |
100 ## | |
25344 | 101 ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command, |
102 ## or just comment out the 'AR_MENU osd' line and uncomment the line after it. | |
103 ## | |
24037 | 104 |
105 AR_PLAY pause | |
106 AR_PLAY_HOLD quit | |
107 AR_NEXT seek 30 | |
108 AR_NEXT_HOLD seek 120 | |
109 AR_PREV seek -10 | |
110 AR_PREV_HOLD seek -120 | |
26769
d6b7b1c4e652
Make "Menu" button of AppleIR remote call OSD Menu instead
ben
parents:
26768
diff
changeset
|
111 AR_MENU menu up |
25497
68dcca125c25
Change the default osd menu command for AR_MENU in comment of input.conf.
ulion
parents:
25344
diff
changeset
|
112 #AR_MENU menu cancel |
24037 | 113 AR_MENU_HOLD mute |
114 AR_VUP volume 1 | |
115 AR_VDOWN volume -1 | |
116 | |
117 ## | |
8261 | 118 ## OSD Menu movement keys |
119 ## | |
120 ## If you are using only the keyboard it is enough to define one command (like | |
10070 | 121 ## "menu up"), because then that single key will display the menu, which can |
25343
c852fa4bd3a1
Update comment that navigating keys is defined in menu.conf.
ulion
parents:
25337
diff
changeset
|
122 ## then be navigated with the cursor keys and ENTER (defined in menu.conf). |
8261 | 123 ## |
124 ## LIRC users should bind each "menu" command to a button on their remote. | |
125 ## | |
10070 | 126 ## The set_menu command directly displays the (sub)menu specified as |
8261 | 127 ## its argument. Usage should be self-explanatory (although not likely |
128 ## to be needed), after reading input.conf. | |
129 ## | |
130 | |
131 #MOUSE_BTN0 menu up | |
132 #y menu down | |
133 #y menu ok | |
134 #y menu cancel | |
135 #y menu hide | |
136 #y set_menu general_pref | |
19770
0b8e84663cb2
added unallocated keys to navigate the dvdnav menus
nicodvb
parents:
18222
diff
changeset
|
137 |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
138 ## |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
139 ## DVDNAV |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
140 ## Requires dvdnav:// |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
141 ## |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
142 |
27068 | 143 UP {dvdnav} dvdnav up # DVDNav UP |
144 DOWN {dvdnav} dvdnav down # DVDNav DOWN | |
145 LEFT {dvdnav} dvdnav left # DVDNav LEFT | |
146 RIGHT {dvdnav} dvdnav right # DVDNav RIGHT | |
147 ESC {dvdnav} dvdnav menu # DVDNav MENU | |
148 ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok) | |
149 BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root) | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
150 |
27068 | 151 AR_VUP {dvdnav} dvdnav up # DVDNav UP |
152 AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN | |
153 AR_PREV {dvdnav} dvdnav left # DVDNav LEFT | |
154 AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT | |
155 AR_MENU {dvdnav} dvdnav menu # DVDNav MENU | |
156 AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok) | |
26768 | 157 |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
158 #? seek_chapter -1 # skip to previous dvd chapter |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
159 #? seek_chapter +1 # next |
33290
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
160 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
161 ## |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
162 ## Advanced seek |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
163 ## Uncomment the following lines to be able to seek to n% of the media with |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
164 ## the Fx keys. |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
165 ## |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
166 #F1 seek 10 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
167 #F2 seek 20 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
168 #F3 seek 30 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
169 #F4 seek 40 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
170 #F5 seek 50 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
171 #F6 seek 60 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
172 #F7 seek 70 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
173 #F8 seek 80 1 |
10fae2d68e7f
Add commented out binds for users who want percentage seek.
cboesch
parents:
32584
diff
changeset
|
174 #F9 seek 90 1 |