/
mplayer
212 lines (188 loc) · 3.52 KB
/
mplayer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# graysky's mplayer streamzap config
#
# see /etc/mplayer/input.conf for a list of available 'config' actions
# additionally see the output of, mplayer -input cmdlist
# Standard keys
# menu toggles on screen display
# power/stop quits mplayer
# vol+/- raise and lower volume
# ok/play toggle pause/play status
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_MENU
config = O
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_EXIT
config = quit
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_MUTE
config = mute
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_VOLUMEUP
config = volume +2
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_VOLUMEDOWN
config = volume -2
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_OK
config = pause
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_PLAY
config = pause
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_STOP
config = quit
repeat = 0
delay = 0
end
## Position control
# pause step frame-by-frame
# left/right +/- 10 sec
# up/down +/- 1 min
# |<< and >>| +/- 5 min
# << and >> decrease by 0.25x and increase by 1.0x
# record normal playback speed (1x)
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_PAUSE
config = frame_step
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_RIGHT
config = seek +10 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_LEFT
config = seek -10 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_UP
config = seek +60 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_DOWN
config = seek -60 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_NEXT
config = seek +300 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_PREVIOUS
config = seek -300 0
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_REWIND
config = speed_incr -.25
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_FORWARD
config = speed_incr +1
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_RECORD
config = speed_set 1
repeat = 0
delay = 0
end
# Special keys
# red toggle subtitles
# yellow audio delay -100 ms
# blue audio delay +100 ms
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_RED
config = sub_visibility
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_YELLOW
config = audio_delay -0.100
repeat = 0
delay = 0
end
begin
remote = Streamzap_PC_Remote
prog = mplayer
button = KEY_BLUE
config = audio_delay 0.100
repeat = 0
delay = 0
end