Mercurial > mplayer.hg
annotate DOCS/tech/slave.txt @ 31510:06d3aac894e8
ffvp8 decodes all reference vectors fine.
author | cehoyos |
---|---|
date | Sun, 27 Jun 2010 20:47:26 +0000 |
parents | 0b7792622c88 |
children | ddedbe455bae |
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 | |
26235
635327338b41
add complete fifo instructions, user didnt know to use mkfifo first.
compn
parents:
25822
diff
changeset
|
14 You can also use a fifo file (named pipe): |
24932
230f1e6a7c2d
Add an example on how to use slave mode with a fifo
reimar
parents:
24258
diff
changeset
|
15 |
26235
635327338b41
add complete fifo instructions, user didnt know to use mkfifo first.
compn
parents:
25822
diff
changeset
|
16 mkfifo </tmp/fifofile> |
27791 | 17 mplayer -slave -input file=</tmp/fifofile> <movie> |
24932
230f1e6a7c2d
Add an example on how to use slave mode with a fifo
reimar
parents:
24258
diff
changeset
|
18 |
15267 | 19 Most slave mode commands are equivalent to command line options, though not |
20 necessarily under the same name. Detailed descriptions can be found in the | |
21 man page. | |
13108 | 22 |
17241
3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
ods15
parents:
17182
diff
changeset
|
23 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
|
24 "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
|
25 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
|
26 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
|
27 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
|
28 possible" can be before the command is fully executed. |
27633
6a7cdd00599f
Add an experimental pausing_keep_force slave mode command prefix
reimar
parents:
27068
diff
changeset
|
29 As a temporary hack, there is also the _experimental_ "pausing_keep_force " |
6a7cdd00599f
Add an experimental pausing_keep_force slave mode command prefix
reimar
parents:
27068
diff
changeset
|
30 prefix, with which MPlayer will not exit the pause loop at all. |
6a7cdd00599f
Add an experimental pausing_keep_force slave mode command prefix
reimar
parents:
27068
diff
changeset
|
31 Like this you can avoid the "frame stepping" effect of "pausing_keep " |
6a7cdd00599f
Add an experimental pausing_keep_force slave mode command prefix
reimar
parents:
27068
diff
changeset
|
32 but most commands will either not work at all or behave in unexpected ways. |
28835
6f5824a39ada
Make pausing_keep_force the default for the set_mouse_pos and key_down_event -
reimar
parents:
27791
diff
changeset
|
33 For "set_mouse_pos" and "key_down_event", "pausing_keep_force" is the default |
6f5824a39ada
Make pausing_keep_force the default for the set_mouse_pos and key_down_event -
reimar
parents:
27791
diff
changeset
|
34 since other values do not make much sense for them. |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
35 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
36 |
29858
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
37 Various tips and tricks (please help expand it!): |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
38 |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
39 - Try using something like |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
40 pausing_keep_force pt_step 1 |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
41 get_property pause |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
42 to switch to the next file. It avoids audio playback starting to play |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
43 the old file for a short time before switching to the new one. |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
44 |
9ad7e1eb5ad1
Add a "tips and tricks" section to the slave mode documentation.
reimar
parents:
29263
diff
changeset
|
45 |
15267 | 46 Available commands ('mplayer -input cmdlist' will print a list): |
15264 | 47 |
30988
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
48 af_add <filter_arguments_list> (comma separated list of audio filters with parameters) |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
49 (experimental) Load the given list of audio filters. |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
50 |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
51 af_clr |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
52 (experimental) Unload all loaded audio filters. |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
53 |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
54 af_del <filter_name_list> (comma separated list of audio filter's names) |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
55 (experimental) Unload the first occurrence of the filters, if loaded. |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
56 |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
57 af_switch <filter_arguments_list> (comma separated list of audio filters with parameters) |
8d840754a921
Add slave commands for loading and unloading audio filters at runtime.
cehoyos
parents:
30986
diff
changeset
|
58 (experimental) Remove all the audio filters and replace them with the given list. |
14688 | 59 |
13715 | 60 alt_src_step <value> (ASX playlist only) |
61 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
|
62 |
17954 | 63 audio_delay <value> [abs] |
17937 | 64 Set/adjust the audio delay. |
17954 | 65 If [abs] is not given or is zero, adjust the delay by <value> seconds. |
66 If [abs] is nonzero, set the delay to <value> seconds. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
67 |
17954 | 68 [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
|
69 Set/adjust video parameters. |
17954 | 70 If [abs] is not given or is zero, modifies parameter by <value>. |
71 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
|
72 <value> is in the range [-100, 100]. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
73 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
74 change_rectangle <val1> <val2> |
11932
a3e5b0b07ba8
change_rectangle documentation by Angel <knight@sunflower.com>
diego
parents:
11542
diff
changeset
|
75 Change the position of the rectangle filter rectangle. |
13109 | 76 <val1> |
77 Must be one of the following: | |
78 0 = width | |
79 1 = height | |
80 2 = x position | |
81 3 = y position | |
82 <val2> | |
83 If <val1> is 0 or 1: | |
84 Integer amount to add/subtract from the width/height. | |
85 Positive values add to width/height and negative values | |
86 subtract from it. | |
87 If <val1> is 2 or 3: | |
88 Relative integer amount by which to move the upper left | |
89 rectangle corner. Positive values move the rectangle | |
90 right/down and negative values move the rectangle left/up. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
91 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
92 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
|
93 Set DVB channel. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
94 |
27068 | 95 dvdnav <button_name> |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
96 Press the given dvdnav button. |
27068 | 97 up |
98 down | |
99 left | |
100 right | |
101 menu | |
102 select | |
103 prev | |
104 mouse | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
105 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
106 edl_mark |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
107 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
|
108 |
17954 | 109 frame_drop [value] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
110 Toggle/set frame dropping mode. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
111 |
19534 | 112 get_audio_bitrate |
113 Print out the audio bitrate of the current file. | |
114 | |
115 get_audio_codec | |
116 Print out the audio codec name of the current file. | |
117 | |
118 get_audio_samples | |
119 Print out the audio frequency and number of channels of the current file. | |
120 | |
121 get_file_name | |
122 Print out the name of the current file. | |
123 | |
124 get_meta_album | |
125 Print out the 'Album' metadata of the current file. | |
126 | |
127 get_meta_artist | |
128 Print out the 'Artist' metadata of the current file. | |
129 | |
130 get_meta_comment | |
131 Print out the 'Comment' metadata of the current file. | |
132 | |
133 get_meta_genre | |
134 Print out the 'Genre' metadata of the current file. | |
135 | |
136 get_meta_title | |
137 Print out the 'Title' metadata of the current file. | |
138 | |
139 get_meta_track | |
140 Print out the 'Track Number' metadata of the current file. | |
141 | |
142 get_meta_year | |
143 Print out the 'Year' metadata of the current file. | |
144 | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
145 get_percent_pos |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
146 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
|
147 |
17924
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
148 get_property <property> |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
149 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
|
150 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
151 get_sub_visibility |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
152 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
|
153 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
154 get_time_length |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
155 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
|
156 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
157 get_time_pos |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
158 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
|
159 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
160 get_vo_fullscreen |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
161 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
|
162 |
19534 | 163 get_video_bitrate |
164 Print out the video bitrate of the current file. | |
165 | |
166 get_video_codec | |
167 Print out the video codec name of the current file. | |
168 | |
169 get_video_resolution | |
170 Print out the video resolution of the current file. | |
171 | |
19833 | 172 screenshot <value> |
16479
e56a4aea6512
The screenshot command is now implemented, wording/spelling fixes.
diego
parents:
16445
diff
changeset
|
173 Take a screenshot. Requires the screenshot filter to be loaded. |
19858 | 174 0 Take a single screenshot. |
175 1 Start/stop taking screenshot of each frame. | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
176 |
16445 | 177 key_down_event <value> |
20109 | 178 Inject <value> key code event into MPlayer. |
16445 | 179 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
180 loadfile <file|url> <append> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
181 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
|
182 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
|
183 appended to the current playlist instead. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
184 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
185 loadlist <file> <append> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
186 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
|
187 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
|
188 appended to the current playlist instead. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
189 |
23727 | 190 loop <value> [abs] |
191 Adjust/set how many times the movie should be looped. -1 means no loop, | |
192 and 0 forever. | |
193 | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
194 menu <command> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
195 Execute an OSD menu command. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
196 up Move cursor up. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
197 down Move cursor down. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
198 ok Accept selection. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
199 cancel Cancel selection. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
200 hide Hide the OSD menu. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
201 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
202 set_menu <menu_name> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
203 Display the menu named <menu_name>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
204 |
17954 | 205 mute [value] |
17955 | 206 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
|
207 (1 == on, 0 == off). |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
208 |
17954 | 209 osd [level] |
210 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
|
211 |
30986
2186c040f9e0
Add osd_show_progression: Show progress bar and elapsed/total time.
cehoyos
parents:
30633
diff
changeset
|
212 osd_show_progression |
2186c040f9e0
Add osd_show_progression: Show progress bar and elapsed/total time.
cehoyos
parents:
30633
diff
changeset
|
213 Show the progression bar, the elapsed time and the total duration of the |
2186c040f9e0
Add osd_show_progression: Show progress bar and elapsed/total time.
cehoyos
parents:
30633
diff
changeset
|
214 movie on the OSD. |
2186c040f9e0
Add osd_show_progression: Show progress bar and elapsed/total time.
cehoyos
parents:
30633
diff
changeset
|
215 |
18222
8c35bd43135f
Add a new command: osd_show_property_text that show an expanded property
albeu
parents:
18208
diff
changeset
|
216 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
|
217 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
|
218 description of the available expansions. If [duration] is >= 0 the text |
18224 | 219 is shown for [duration] ms. [level] sets the minimum OSD level needed |
220 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
|
221 |
18223 | 222 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
|
223 Show <string> on the OSD. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
224 |
17955 | 225 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
|
226 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
|
227 Negative values decrease the pan-and-scan range. |
17955 | 228 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
|
229 absolute range. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
230 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
231 pause |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
232 Pause/unpause the playback. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
233 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
234 frame_step |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
235 Play one frame, then pause again. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
236 |
17954 | 237 pt_step <value> [force] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
238 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
|
239 the direction. If no entry is available in the given direction it will do |
17954 | 240 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
|
241 |
17954 | 242 pt_up_step <value> [force] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
243 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
|
244 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
|
245 |
17954 | 246 quit [value] |
247 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
|
248 for the mplayer process (default: 0). |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
249 |
19589
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
250 radio_set_channel <channel> |
19607 | 251 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
|
252 |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
253 radio_set_freq <frequency in MHz> |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
254 Set the radio tuner frequency. |
d5c80704c04c
description of radio slave commands, copied from TV command descriptions :-)
reimar
parents:
19534
diff
changeset
|
255 |
19607 | 256 radio_step_channel <-1|1> |
257 Step forwards (1) or backwards (-1) in channel list. Works only when the | |
258 'channels' radio parameter was set. | |
259 | |
21042 | 260 radio_step_freq <value> |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
28835
diff
changeset
|
261 Tune frequency by the <value> (positive - up, negative - down). |
21042 | 262 |
17954 | 263 seek <value> [type] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
264 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
|
265 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
|
266 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
|
267 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
|
268 |
19342 | 269 seek_chapter <value> [type] |
270 Seek to the start of a chapter. | |
19346 | 271 0 is a relative seek of +/- <value> chapters (default). |
272 1 is a seek to chapter <value>. | |
19342 | 273 |
25579 | 274 switch_angle <value> |
25822 | 275 Switch to the angle with the ID [value]. Cycle through the |
25579 | 276 available angles if [value] is omitted or negative. |
277 | |
19855 | 278 set_mouse_pos <x> <y> |
19871 | 279 Tells MPlayer the coordinates of the mouse in the window. |
280 This command doesn't move the mouse! | |
19855 | 281 |
17924
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
282 set_property <property> <value> |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
283 Set a property. |
0eac85e451cb
Add get/set_property and update volume/mute to the last changes.
albeu
parents:
17241
diff
changeset
|
284 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
285 speed_incr <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
286 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
|
287 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
288 speed_mult <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
289 Multiply the current speed by <value>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
290 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
291 speed_set <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
292 Set the speed to <value>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
293 |
23412
f6c225ffe60d
Allow setting the direction in the step_property command.
albeu
parents:
22667
diff
changeset
|
294 step_property <property> [value] [direction] |
f6c225ffe60d
Allow setting the direction in the step_property command.
albeu
parents:
22667
diff
changeset
|
295 Change a property by value, or increase by a default if value is |
f6c225ffe60d
Allow setting the direction in the step_property command.
albeu
parents:
22667
diff
changeset
|
296 not given or zero. The direction is reversed if direction is less |
f6c225ffe60d
Allow setting the direction in the step_property command.
albeu
parents:
22667
diff
changeset
|
297 than zero. |
20915 | 298 |
26877 | 299 stop |
300 Stop playback. | |
301 | |
17976 | 302 sub_alignment [value] |
17937 | 303 Toggle/set subtitle alignment. |
17976 | 304 0 top alignment |
305 1 center alignment | |
306 2 bottom alignment | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
307 |
17954 | 308 sub_delay <value> [abs] |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
309 Adjust the subtitle delay by +/- <value> seconds or set it to <value> |
17954 | 310 seconds when [abs] is nonzero. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
311 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
312 sub_load <subtitle_file> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
313 Loads subtitles from <subtitle_file>. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
314 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
315 sub_log |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
316 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
|
317 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
|
318 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
|
319 fixed while watching the movie. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
320 |
17954 | 321 sub_pos <value> [abs] |
17937 | 322 Adjust/set subtitle position. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
323 |
17954 | 324 sub_remove [value] |
325 If the [value] argument is present and non-negative, removes the subtitle | |
326 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
|
327 all subtitle files. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
328 |
17954 | 329 sub_select [value] |
330 Display subtitle with index [value]. Turn subtitle display off if | |
331 [value] is -1 or greater than the highest available subtitle index. | |
332 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
|
333 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
|
334 line, VOBsubs, DVD subtitles, and Ogg and Matroska text streams. |
25129
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
335 This command is mainly for cycling all subtitles, if you want to set |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
336 a specific subtitle, use sub_file, sub_vob, or sub_demux. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
337 |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
338 sub_source [source] |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
339 Display first subtitle from [source]. Here [source] is an integer: |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
340 SUB_SOURCE_SUBS (0) for file subs |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
341 SUB_SOURCE_VOBSUB (1) for VOBsub files |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
342 SUB_SOURCE_DEMUX (2) for subtitle embedded in the media file or DVD subs. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
343 If [source] is -1, will turn off subtitle display. If [source] less than -1, |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
344 will cycle between the first subtitle of each currently available sources. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
345 |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
346 sub_file [value] |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
347 Display subtitle specifid by [value] for file subs. The [value] is |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
348 corresponding to ID_FILE_SUB_ID values reported by '-identify'. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
349 If [value] is -1, will turn off subtitle display. If [value] less than -1, |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
350 will cycle all file subs. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
351 |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
352 sub_vob [value] |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
353 Display subtitle specifid by [value] for vobsubs. The [value] is |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
354 corresponding to ID_VOBSUB_ID values reported by '-identify'. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
355 If [value] is -1, will turn off subtitle display. If [value] less than -1, |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
356 will cycle all vobsubs. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
357 |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
358 sub_demux [value] |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
359 Display subtitle specifid by [value] for subtitles from DVD or embedded |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
360 in media file. The [value] is corresponding to ID_SUBTITLE_ID values |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
361 reported by '-identify'. If [value] is -1, will turn off subtitle display. |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
362 If [value] less than -1, will cycle all DVD subs or embedded subs. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
363 |
23725 | 364 sub_scale <value> [abs] |
365 Adjust the subtitle size by +/- <value> or set it to <value> when [abs] | |
366 is nonzero. | |
367 | |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
368 vobsub_lang |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
369 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
|
370 |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
371 sub_step <value> |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
372 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
|
373 is negative. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
374 |
17954 | 375 sub_visibility [value] |
17937 | 376 Toggle/set subtitle visibility. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
377 |
17954 | 378 forced_subs_only [value] |
17937 | 379 Toggle/set forced subtitles only. |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
380 |
24985
e09187679c34
switch_audio works with many other formats than described
nicodvb
parents:
24932
diff
changeset
|
381 switch_audio [value] (currently MPEG*, AVI, Matroska and streams handled by libavformat) |
25822 | 382 Switch to the audio track with the ID [value]. Cycle through the |
17954 | 383 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
|
384 |
25821
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
385 switch_angle [value] (DVDs only) |
25822 | 386 Switch to the DVD angle with the ID [value]. Cycle through the |
25821
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
387 available angles if [value] is omitted or negative. |
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
388 |
17954 | 389 switch_ratio [value] |
390 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
|
391 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
|
392 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
|
393 |
25821
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
394 switch_title [value] (DVDNAV only) |
25822 | 395 Switch to the DVD title with the ID [value]. Cycle through the |
25821
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
396 available titles if [value] is omitted or negative. |
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
397 |
17954 | 398 switch_vsync [value] |
399 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
|
400 vsync status is inverted. |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
401 |
23904 | 402 teletext_add_digit <value> |
403 Enter/leave teletext page number editing mode and append given digit to | |
404 previously entered one. | |
405 0..9 - Append apropriate digit. (Enables editing mode if called from normal | |
406 mode, and switches to normal mode when third digit is entered.) | |
407 - - Delete last digit from page number. (Backspace emulation, works only | |
408 in page number editing mode.) | |
409 | |
24244 | 410 teletext_go_link <1-6> |
24258 | 411 Follow given link on current teletext page. |
24244 | 412 |
24105
9e71e0345c35
Automatic TV channels scanning ability for MPlayer.
voroshil
parents:
23904
diff
changeset
|
413 tv_start_scan |
24258 | 414 Start automatic TV channel scanning. |
24105
9e71e0345c35
Automatic TV channels scanning ability for MPlayer.
voroshil
parents:
23904
diff
changeset
|
415 |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
416 tv_step_channel <channel> |
13108 | 417 Select next/previous TV channel. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
418 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
419 tv_step_norm |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
420 Change TV norm. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
421 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
422 tv_step_chanlist |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
423 Change channel list. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
424 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
425 tv_set_channel <channel> |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
426 Set the current TV channel. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
427 |
10218
f82646fc1431
Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff
changeset
|
428 tv_last_channel |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
429 Set the current TV channel to the last one. |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
430 |
10521
141141fdd250
I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents:
10218
diff
changeset
|
431 tv_set_freq <frequency in MHz> |
13108 | 432 Set the TV tuner frequency. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
433 |
22667 | 434 tv_step_freq <frequency offset in MHz> |
435 Set the TV tuner frequency relative to current value. | |
436 | |
10521
141141fdd250
I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents:
10218
diff
changeset
|
437 tv_set_norm <norm> |
13108 | 438 Set the TV tuner norm (PAL, SECAM, NTSC, ...). |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
439 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
440 tv_set_brightness <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
441 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
|
442 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
443 tv_set_contrast <-100 -100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
444 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
|
445 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
446 tv_set_hue <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
447 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
|
448 |
18208
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
449 tv_set_saturation <-100 - 100> [abs] |
70edbfdeca61
The tv color control commands can now also adjust the values.
albeu
parents:
17976
diff
changeset
|
450 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
|
451 |
16386
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
452 use_master |
9e1ba1ac3c7d
Reorder slave mode commands to appear in alphabetical order with a few
diego
parents:
16254
diff
changeset
|
453 Switch volume control between master and PCM. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
454 |
17954 | 455 vo_border [value] |
17937 | 456 Toggle/set borderless display. |
16969 | 457 |
17954 | 458 vo_fullscreen [value] |
17937 | 459 Toggle/set fullscreen mode. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
460 |
17954 | 461 vo_ontop [value] |
17937 | 462 Toggle/set stay-on-top. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
463 |
17954 | 464 vo_rootwin [value] |
17937 | 465 Toggle/set playback on the root window. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
466 |
17954 | 467 volume <value> [abs] |
468 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
|
469 |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
470 |
14691 | 471 The following commands are really only useful for OSD menu console mode: |
472 | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
473 help |
14691 | 474 Displays help text, currently empty. |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
475 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
476 exit |
14691 | 477 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
|
478 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
479 hide |
14691 | 480 Hides the OSD menu console. Clicking a menu command unhides it. Other |
481 keybindings act as usual. | |
11413
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
482 |
e250b0e9e608
Missing commands added, parameters checked, explanations improved.
diego
parents:
10927
diff
changeset
|
483 run <value> |
14691 | 484 Run <value> as shell command. In OSD menu console mode stdout and stdin |
485 are through the video output driver. | |
22046 | 486 |
487 | |
488 Available properties: | |
489 | |
22047 | 490 name type min max get set step comment |
491 ================================================================= | |
22046 | 492 |
22047 | 493 osdlevel int 0 3 X X X as -osdlevel |
494 speed float 0.01 100 X X X as -speed | |
23727 | 495 loop int -1 X X X as -loop |
27648
427fec163870
Add a "pause" property to allow checking if MPlayer is paused.
reimar
parents:
27635
diff
changeset
|
496 pause flag 0 1 X 1 if paused, use with pausing_keep_force |
22047 | 497 filename string X file playing wo path |
498 path string X file playing | |
499 demuxer string X demuxer used | |
500 stream_pos pos 0 X X position in stream | |
501 stream_start pos 0 X start pos in stream | |
502 stream_end pos 0 X end pos in stream | |
503 stream_length pos 0 X (end - start) | |
25363 | 504 chapter int 0 X X X select chapter |
27635
22bdd7ba8892
slave command to get the number of chapters; patch by Kevin DeKorte - kdekorte gmail com
nicodvb
parents:
27633
diff
changeset
|
505 chapters int X number of chapters |
25579 | 506 angle int 0 X X X select angle |
23417 | 507 length time X length of file in seconds |
23418 | 508 percent_pos int 0 100 X X X position in percent |
509 time_pos time 0 X X X position in seconds | |
23413
62018ec2eb35
Add the recently introduced properties to the documentation.
albeu
parents:
23412
diff
changeset
|
510 metadata str list X list of metadata key/value |
62018ec2eb35
Add the recently introduced properties to the documentation.
albeu
parents:
23412
diff
changeset
|
511 metadata/* string X metadata values |
22047 | 512 volume float 0 100 X X X change volume |
23568 | 513 balance float -1 1 X X X change audio balance |
22047 | 514 mute flag 0 1 X X X |
515 audio_delay float -100 100 X X X | |
516 audio_format int X | |
23413
62018ec2eb35
Add the recently introduced properties to the documentation.
albeu
parents:
23412
diff
changeset
|
517 audio_codec string X |
22047 | 518 audio_bitrate int X |
519 samplerate int X | |
520 channels int X | |
521 switch_audio int -2 255 X X X select audio stream | |
25821
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
522 switch_angle int -2 255 X X X select DVD angle |
ff2e44f77e52
add documentation about switch_angle and switch_title slave commands
ben
parents:
25579
diff
changeset
|
523 switch_title int -2 255 X X X select DVD title |
22047 | 524 fullscreen flag 0 1 X X X |
525 deinterlace flag 0 1 X X X | |
526 ontop flag 0 1 X X X | |
527 rootwin flag 0 1 X X X | |
528 border flag 0 1 X X X | |
529 framedropping int 0 2 X X X 1 = soft, 2 = hard | |
530 gamma int -100 100 X X X | |
531 brightness int -100 100 X X X | |
532 contrast int -100 100 X X X | |
533 saturation int -100 100 X X X | |
534 hue int -100 100 X X X | |
535 panscan float 0 1 X X X | |
536 vsync flag 0 1 X X X | |
537 video_format int X | |
23413
62018ec2eb35
Add the recently introduced properties to the documentation.
albeu
parents:
23412
diff
changeset
|
538 video_codec string X |
22047 | 539 video_bitrate int X |
540 width int X "display" width | |
541 height int X "display" height | |
542 fps float X | |
543 aspect float X | |
544 switch_video int -2 255 X X X select video stream | |
545 switch_program int -1 65535 X X X (see TAB default keybind) | |
546 sub int -1 X X X select subtitle stream | |
25129
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
547 sub_source int -1 2 X X X select subtitle source |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
548 sub_file int -1 X X X select file subtitles |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
549 sub_vob int -1 X X X select vobsubs |
c04b64054255
Support select subtitle by source, add 4 properties:
ulion
parents:
24985
diff
changeset
|
550 sub_demux int -1 X X X select subs from demux |
22047 | 551 sub_delay float X X X |
552 sub_pos int 0 100 X X X subtitle position | |
553 sub_alignment int 0 2 X X X subtitle alignment | |
554 sub_visibility flag 0 1 X X X show/hide subtitles | |
555 sub_forced_only flag 0 1 X X X | |
23725 | 556 sub_scale float 0 100 X X X subtitles font size |
22047 | 557 tv_brightness int -100 100 X X X |
558 tv_contrast int -100 100 X X X | |
559 tv_saturation int -100 100 X X X | |
560 tv_hue int -100 100 X X X | |
23904 | 561 teletext_page int 0 799 X X X |
562 teletext_subpage int 0 64 X X X | |
563 teletext_mode flag 0 1 X X X 0 - off, 1 - on | |
564 teletext_format int 0 3 X X X 0 - opaque, | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
28835
diff
changeset
|
565 1 - transparent, |
23904 | 566 2 - opaque inverted, |
567 3 - transp. inv. | |
568 teletext_half_page int 0 2 X X X 0 - off, 1 - top half, | |
569 2- bottom half |