Mercurial > mplayer.hg
annotate DOCS/tech/slave.txt @ 19788:04e58f0701c8
separate independant clauses with a semicolon, as suggested by The Wanderer
author | gpoirier |
---|---|
date | Sun, 10 Sep 2006 20:42:15 +0000 |
parents | b9babb64ca2a |
children | 10f36060390a |
rev | line source |
---|---|
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
1 SLAVE MODE PROTOCOL |
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
2 ------------------- |
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
3 |
15267 | 4 The -slave option switches on slave mode, in which MPlayer works as a backend |
5 for other programs. Instead of intercepting keyboard events, MPlayer will read | |
6 commands separated by a newline (\n) from stdin. | |
7 | |
8 To try slave mode out by hand, run | |
15264 | 9 |
15267 | 10 mplayer -slave -quiet <movie> |
11 | |
12 and type slave commands into the console window. | |
13 | |
14 Most slave mode commands are equivalent to command line options, though not | |
15 necessarily under the same name. Detailed descriptions can be found in the | |
16 man page. | |
13108 | 17 |
17241
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
18 All commands can be prefixed with one of "pausing ", "pausing_keep ", or |
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
19 "pausing_toggle ". "pausing " tells MPlayer to pause as soon as possible |
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
20 after processing the command. "pausing_keep " tells MPlayer to do so only if |
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
21 it was already in paused mode. "pausing_toggle " tells MPlayer to do so |
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
22 only if it was not already in paused mode. Please note that "as soon as |
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
23 possible" can be before the command is fully executed. |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
24 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
25 |
15267 | 26 Available commands ('mplayer -input cmdlist' will print a list): |
15264 | 27 |
14688 | 28 |
13715 | 29 alt_src_step <value> (ASX playlist only) |
30 When more than one source is available it selects the next/previous one. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
31 |
17954 | 32 audio_delay <value> [abs] |
17937 | 33 Set/adjust the audio delay. |
17954 | 34 If [abs] is not given or is zero, adjust the delay by <value> seconds. |
35 If [abs] is nonzero, set the delay to <value> seconds. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
36 |
17954 | 37 [brightness|contrast|gamma|hue|saturation] <value> [abs] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
38 Set/adjust video parameters. |
17954 | 39 If [abs] is not given or is zero, modifies parameter by <value>. |
40 If [abs] is non-zero, parameter is set to <value>. | |
17182
3a892a5656db
minor grammar clarification to the last commit, + omitted periods
wanderer
parents:
17178
diff
changeset
|
41 <value> is in the range [-100, 100]. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
42 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
43 change_rectangle <val1> <val2> |
11932
a3e5b0b07ba8
change_rectangle documentation by Angel <knight@sunflower.com>
diego
parents:
11542
diff
changeset
|
44 Change the position of the rectangle filter rectangle. |
13109 | 45 <val1> |
46 Must be one of the following: | |
47 0 = width | |
48 1 = height | |
49 2 = x position | |
50 3 = y position | |
51 <val2> | |
52 If <val1> is 0 or 1: | |
53 Integer amount to add/subtract from the width/height. | |
54 Positive values add to width/height and negative values | |
55 subtract from it. | |
56 If <val1> is 2 or 3: | |
57 Relative integer amount by which to move the upper left | |
58 rectangle corner. Positive values move the rectangle | |
59 right/down and negative values move the rectangle left/up. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
60 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
61 dvb_set_channel <channel_number> <card_number> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
62 Set DVB channel. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
63 |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
64 dvdnav <button> |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
65 Press the given dvdnav button. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
66 1 up |
13714 | 67 2 down |
68 3 left | |
69 4 right | |
70 5 menu | |
71 6 select | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
72 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
73 dvdnav_event <value> |
14329
74e323b9e5db
More commands documented, based on Reimar's findings.
diego
parents:
14323
diff
changeset
|
74 Send <value> as DVDNAV event. DVDNAV support in MPlayer is disabled. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
75 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
76 edl_mark |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
77 Write the current position into the EDL file. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
78 |
17954 | 79 frame_drop [value] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
80 Toggle/set frame dropping mode. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
81 |
19534 | 82 get_audio_bitrate |
83 Print out the audio bitrate of the current file. | |
84 | |
85 get_audio_codec | |
86 Print out the audio codec name of the current file. | |
87 | |
88 get_audio_samples | |
89 Print out the audio frequency and number of channels of the current file. | |
90 | |
91 get_file_name | |
92 Print out the name of the current file. | |
93 | |
94 get_meta_album | |
95 Print out the 'Album' metadata of the current file. | |
96 | |
97 get_meta_artist | |
98 Print out the 'Artist' metadata of the current file. | |
99 | |
100 get_meta_comment | |
101 Print out the 'Comment' metadata of the current file. | |
102 | |
103 get_meta_genre | |
104 Print out the 'Genre' metadata of the current file. | |
105 | |
106 get_meta_title | |
107 Print out the 'Title' metadata of the current file. | |
108 | |
109 get_meta_track | |
110 Print out the 'Track Number' metadata of the current file. | |
111 | |
112 get_meta_year | |
113 Print out the 'Year' metadata of the current file. | |
114 | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
115 get_percent_pos |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
116 Print out the current position in the file, as integer percentage [0-100). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
117 |
17924
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
118 get_property <property> |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
119 Print out the current value of a property. |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
120 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
121 get_sub_visibility |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
122 Print out subtitle visibility (1 == on, 0 == off). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
123 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
124 get_time_length |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
125 Print out the length of the current file in seconds. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
126 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
127 get_time_pos |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
128 Print out the current position in the file in seconds, as float. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
129 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
130 get_vo_fullscreen |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
131 Print out fullscreen status (1 == fullscreened, 0 == windowed). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
132 |
19534 | 133 get_video_bitrate |
134 Print out the video bitrate of the current file. | |
135 | |
136 get_video_codec | |
137 Print out the video codec name of the current file. | |
138 | |
139 get_video_resolution | |
140 Print out the video resolution of the current file. | |
141 | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
142 grab_frames |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
143 Currently unimplemented. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
144 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
145 screenshot |
16479
e56a4aea6512
The screenshot command is now implemented, wording/spelling fixes.
diego
parents:
16445
diff
changeset
|
146 Take a screenshot. Requires the screenshot filter to be loaded. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
147 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
148 gui_[about|loadfile|loadsubtitle|play|playlist|preferences|skinbrowser|stop] |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
149 GUI actions |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
150 |
16445 | 151 key_down_event <value> |
16479
e56a4aea6512
The screenshot command is now implemented, wording/spelling fixes.
diego
parents:
16445
diff
changeset
|
152 Inject <value> key code event into MPlayer. |
16445 | 153 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
154 loadfile <file|url> <append> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
155 Load the given file/URL, stopping playback of the current file/URL. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
156 If <append> is nonzero playback continues and the file/URL is |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
157 appended to the current playlist instead. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
158 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
159 loadlist <file> <append> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
160 Load the given playlist file, stopping playback of the current file. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
161 If <append> is nonzero playback continues and the playlist file is |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
162 appended to the current playlist instead. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
163 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
164 menu <command> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
165 Execute an OSD menu command. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
166 up Move cursor up. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
167 down Move cursor down. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
168 ok Accept selection. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
169 cancel Cancel selection. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
170 hide Hide the OSD menu. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
171 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
172 set_menu <menu_name> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
173 Display the menu named <menu_name>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
174 |
17954 | 175 mute [value] |
17955 | 176 Toggle sound output muting or set it to [value] when [value] >= 0 |
17924
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
177 (1 == on, 0 == off). |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
178 |
17954 | 179 osd [level] |
180 Toggle OSD mode or set it to [level] when [level] >= 0. | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
181 |
18222
8c35bd43135f
Add a new command: osd_show_property_text that show an expanded property
albeu
parents:
18208
diff
changeset
|
182 osd_show_property_text <string> [duration] [level] |
8c35bd43135f
Add a new command: osd_show_property_text that show an expanded property
albeu
parents:
18208
diff
changeset
|
183 Show an expanded property string on the OSD, see -playing-msg for a |
8c35bd43135f
Add a new command: osd_show_property_text that show an expanded property
albeu
parents:
18208
diff
changeset
|
184 description of the available expansions. If [duration] is >= 0 the text |
18224 | 185 is shown for [duration] ms. [level] sets the minimum OSD level needed |
186 for the message to be visible (default: 0 - always show). | |
18222
8c35bd43135f
Add a new command: osd_show_property_text that show an expanded property
albeu
parents:
18208
diff
changeset
|
187 |
18223 | 188 osd_show_text <string> [duration] [level] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
189 Show <string> on the OSD. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
190 |
17955 | 191 panscan <-1.0 - 1.0> | <0.0 - 1.0> <abs> |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
192 Increase or decrease the pan-and-scan range by <value>, 1.0 is the maximum. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
193 Negative values decrease the pan-and-scan range. |
17955 | 194 If <abs> is != 0, then the pan-and scan range is interpreted as an |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
195 absolute range. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
196 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
197 pause |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
198 Pause/unpause the playback. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
199 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
200 frame_step |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
201 Play one frame, then pause again. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
202 |
17954 | 203 pt_step <value> [force] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
204 Go to the next/previous entry in the playtree. The sign of <value> tells |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
205 the direction. If no entry is available in the given direction it will do |
17954 | 206 nothing unless [force] is non-zero. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
207 |
17954 | 208 pt_up_step <value> [force] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
209 Similar to pt_step but jumps to the next/previous entry in the parent list. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
210 Useful to break out of the inner loop in the playtree. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
211 |
17954 | 212 quit [value] |
213 Quit MPlayer. The optional integer [value] is used as the return code | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
214 for the mplayer process (default: 0). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
215 |
19589
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
216 radio_set_channel <channel> |
19607 | 217 Switch to <channel>. The 'channels' radio parameter needs to be set. |
19589
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
218 |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
219 radio_set_freq <frequency in MHz> |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
220 Set the radio tuner frequency. |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
221 |
19607 | 222 radio_step_channel <-1|1> |
223 Step forwards (1) or backwards (-1) in channel list. Works only when the | |
224 'channels' radio parameter was set. | |
225 | |
17954 | 226 seek <value> [type] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
227 Seek to some place in the movie. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
228 0 is a relative seek of +/- <value> seconds (default). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
229 1 is a seek to <value> % in the movie. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
230 2 is a seek to an absolute position of <value> seconds. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
231 |
19342 | 232 seek_chapter <value> [type] |
233 Seek to the start of a chapter. | |
19346 | 234 0 is a relative seek of +/- <value> chapters (default). |
235 1 is a seek to chapter <value>. | |
19342 | 236 |
17924
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
237 set_property <property> <value> |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
238 Set a property. |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
239 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
240 speed_incr <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
241 Add <value> to the current playback speed. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
242 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
243 speed_mult <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
244 Multiply the current speed by <value>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
245 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
246 speed_set <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
247 Set the speed to <value>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
248 |
17976 | 249 sub_alignment [value] |
17937 | 250 Toggle/set subtitle alignment. |
17976 | 251 0 top alignment |
252 1 center alignment | |
253 2 bottom alignment | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
254 |
17954 | 255 sub_delay <value> [abs] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
256 Adjust the subtitle delay by +/- <value> seconds or set it to <value> |
17954 | 257 seconds when [abs] is nonzero. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
258 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
259 sub_load <subtitle_file> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
260 Loads subtitles from <subtitle_file>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
261 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
262 sub_log |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
263 Logs the current or last displayed subtitle together with filename |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
264 and time information to ~/.mplayer/subtitle_log. Intended purpose |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
265 is to allow convenient marking of bogus subtitles which need to be |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
266 fixed while watching the movie. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
267 |
17954 | 268 sub_pos <value> [abs] |
17937 | 269 Adjust/set subtitle position. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
270 |
17954 | 271 sub_remove [value] |
272 If the [value] argument is present and non-negative, removes the subtitle | |
273 file with index [value]. If the argument is omitted or negative, removes | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
274 all subtitle files. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
275 |
17954 | 276 sub_select [value] |
277 Display subtitle with index [value]. Turn subtitle display off if | |
278 [value] is -1 or greater than the highest available subtitle index. | |
279 Cycle through the available subtitles if [value] is omitted or less | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
280 than -1. Supported subtitle sources are -sub options on the command |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
281 line, VOBsubs, DVD subtitles, and Ogg and Matroska text streams. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
282 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
283 vobsub_lang |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
284 This is a stub linked to sub_select for backwards compatibility. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
285 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
286 sub_step <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
287 Step forward in the subtitle list by <value> steps or backwards if <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
288 is negative. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
289 |
17954 | 290 sub_visibility [value] |
17937 | 291 Toggle/set subtitle visibility. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
292 |
17954 | 293 forced_subs_only [value] |
17937 | 294 Toggle/set forced subtitles only. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
295 |
17954 | 296 switch_audio [value] (MPEG and Matroska only) |
297 Switch to the audio track with the id [value]. Cycle through the | |
298 available tracks if [value] is omitted or negative. | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
299 |
17954 | 300 switch_ratio [value] |
301 Change aspect ratio at runtime. [value] is the new aspect ratio expressed | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
302 as a float (e.g. 1.77778 for 16/9). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
303 There might be problems with some video filters. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
304 |
17954 | 305 switch_vsync [value] |
306 Toggle vsync (1 == on, 0 == off). If [value] is not provided, | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
307 vsync status is inverted. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
308 |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
309 tv_step_channel <channel> |
13108 | 310 Select next/previous TV channel. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
311 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
312 tv_step_norm |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
313 Change TV norm. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
314 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
315 tv_step_chanlist |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
316 Change channel list. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
317 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
318 tv_set_channel <channel> |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
319 Set the current TV channel. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
320 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
321 tv_last_channel |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
322 Set the current TV channel to the last one. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
323 |
10521
141141fdd250
I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents:
10218
diff
changeset
|
324 tv_set_freq <frequency in MHz> |
13108 | 325 Set the TV tuner frequency. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
326 |
10521
141141fdd250
I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents:
10218
diff
changeset
|
327 tv_set_norm <norm> |
13108 | 328 Set the TV tuner norm (PAL, SECAM, NTSC, ...). |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
329 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
330 tv_set_brightness <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
331 Set TV tuner brightness or adjust it if [abs] is set to 0. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
332 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
333 tv_set_contrast <-100 -100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
334 Set TV tuner contrast or adjust it if [abs] is set to 0. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
335 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
336 tv_set_hue <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
337 Set TV tuner hue or adjust it if [abs] is set to 0. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
338 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
339 tv_set_saturation <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
340 Set TV tuner saturation or adjust it if [abs] is set to 0. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
341 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
342 use_master |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
343 Switch volume control between master and PCM. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
344 |
17954 | 345 vo_border [value] |
17937 | 346 Toggle/set borderless display. |
16969 | 347 |
17954 | 348 vo_fullscreen [value] |
17937 | 349 Toggle/set fullscreen mode. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
350 |
17954 | 351 vo_ontop [value] |
17937 | 352 Toggle/set stay-on-top. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
353 |
17954 | 354 vo_rootwin [value] |
17937 | 355 Toggle/set playback on the root window. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
356 |
17954 | 357 volume <value> [abs] |
358 Increase/decrease volume or set it to <value> if [abs] is nonzero. | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
359 |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
360 |
14691 | 361 The following commands are really only useful for OSD menu console mode: |
362 | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
363 help |
14691 | 364 Displays help text, currently empty. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
365 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
366 exit |
14691 | 367 Exits from OSD menu console. Unlike 'quit', does not quit MPlayer. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
368 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
369 hide |
14691 | 370 Hides the OSD menu console. Clicking a menu command unhides it. Other |
371 keybindings act as usual. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
372 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
373 run <value> |
14691 | 374 Run <value> as shell command. In OSD menu console mode stdout and stdin |
375 are through the video output driver. |