comparison DOCS/tech/slave.txt @ 17954:16ecd1994e2a

Use <value> and [value] consistently.
author diego
date Sun, 26 Mar 2006 10:02:04 +0000
parents ec6781a09b3a
children 15c0dba0d759
comparison
equal deleted inserted replaced
17953:2cfdd3cf44de 17954:16ecd1994e2a
27 27
28 28
29 alt_src_step <value> (ASX playlist only) 29 alt_src_step <value> (ASX playlist only)
30 When more than one source is available it selects the next/previous one. 30 When more than one source is available it selects the next/previous one.
31 31
32 audio_delay <value> [<abs>] 32 audio_delay <value> [abs]
33 Set/adjust the audio delay. 33 Set/adjust the audio delay.
34 If <abs> is not given or is zero, adjust the delay by <value> seconds. 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. 35 If [abs] is nonzero, set the delay to <value> seconds.
36 36
37 [brightness|contrast|gamma|hue|saturation] <value> [<abs>] 37 [brightness|contrast|gamma|hue|saturation] <value> [abs]
38 Set/adjust video parameters. 38 Set/adjust video parameters.
39 If abs is not given or is zero, modifies parameter by <value>. 39 If [abs] is not given or is zero, modifies parameter by <value>.
40 If abs is non-zero, parameter is set to <value>. 40 If [abs] is non-zero, parameter is set to <value>.
41 <value> is in the range [-100, 100]. 41 <value> is in the range [-100, 100].
42 42
43 change_rectangle <val1> <val2> 43 change_rectangle <val1> <val2>
44 Change the position of the rectangle filter rectangle. 44 Change the position of the rectangle filter rectangle.
45 <val1> 45 <val1>
74 Send <value> as DVDNAV event. DVDNAV support in MPlayer is disabled. 74 Send <value> as DVDNAV event. DVDNAV support in MPlayer is disabled.
75 75
76 edl_mark 76 edl_mark
77 Write the current position into the EDL file. 77 Write the current position into the EDL file.
78 78
79 frame_drop [<value>] 79 frame_drop [value]
80 Toggle/set frame dropping mode. 80 Toggle/set frame dropping mode.
81 81
82 get_percent_pos 82 get_percent_pos
83 Print out the current position in the file, as integer percentage [0-100). 83 Print out the current position in the file, as integer percentage [0-100).
84 84
128 hide Hide the OSD menu. 128 hide Hide the OSD menu.
129 129
130 set_menu <menu_name> 130 set_menu <menu_name>
131 Display the menu named <menu_name>. 131 Display the menu named <menu_name>.
132 132
133 mute [<value>] 133 mute [value]
134 Toggle sound output mutting or set it to <value> when <value> >= 0 134 Toggle sound output mutting or set it to [value] when [value] >= 0
135 (1 == on, 0 == off). 135 (1 == on, 0 == off).
136 136
137 osd [<level>] 137 osd [level]
138 Toggle OSD mode or set it to level when <level> >= 0. 138 Toggle OSD mode or set it to [level] when [level] >= 0.
139 139
140 osd_show_text <string> 140 osd_show_text <string>
141 Show <string> on the OSD. 141 Show <string> on the OSD.
142 142
143 panscan <-1.0 - 1.0> | <0.0 - 1.0> <absolute> 143 panscan <-1.0 - 1.0> | <0.0 - 1.0> <absolute>
150 Pause/unpause the playback. 150 Pause/unpause the playback.
151 151
152 frame_step 152 frame_step
153 Play one frame, then pause again. 153 Play one frame, then pause again.
154 154
155 pt_step <value> [<force>] 155 pt_step <value> [force]
156 Go to the next/previous entry in the playtree. The sign of <value> tells 156 Go to the next/previous entry in the playtree. The sign of <value> tells
157 the direction. If no entry is available in the given direction it will do 157 the direction. If no entry is available in the given direction it will do
158 nothing unless force is non-zero. 158 nothing unless [force] is non-zero.
159 159
160 pt_up_step <value> [<force>] 160 pt_up_step <value> [force]
161 Similar to pt_step but jumps to the next/previous entry in the parent list. 161 Similar to pt_step but jumps to the next/previous entry in the parent list.
162 Useful to break out of the inner loop in the playtree. 162 Useful to break out of the inner loop in the playtree.
163 163
164 quit [<value>] 164 quit [value]
165 Quit MPlayer. The optional integer value is used as the return code 165 Quit MPlayer. The optional integer [value] is used as the return code
166 for the mplayer process (default: 0). 166 for the mplayer process (default: 0).
167 167
168 seek <value> [<type>] 168 seek <value> [type]
169 Seek to some place in the movie. 169 Seek to some place in the movie.
170 0 is a relative seek of +/- <value> seconds (default). 170 0 is a relative seek of +/- <value> seconds (default).
171 1 is a seek to <value> % in the movie. 171 1 is a seek to <value> % in the movie.
172 2 is a seek to an absolute position of <value> seconds. 172 2 is a seek to an absolute position of <value> seconds.
173 173
184 Set the speed to <value>. 184 Set the speed to <value>.
185 185
186 sub_alignment [<value>] 186 sub_alignment [<value>]
187 Toggle/set subtitle alignment. 187 Toggle/set subtitle alignment.
188 188
189 sub_delay <value> [<abs>] 189 sub_delay <value> [abs]
190 Adjust the subtitle delay by +/- <value> seconds or set it to <value> 190 Adjust the subtitle delay by +/- <value> seconds or set it to <value>
191 seconds when <abs> is nonzero. 191 seconds when [abs] is nonzero.
192 192
193 sub_load <subtitle_file> 193 sub_load <subtitle_file>
194 Loads subtitles from <subtitle_file>. 194 Loads subtitles from <subtitle_file>.
195 195
196 sub_log 196 sub_log
197 Logs the current or last displayed subtitle together with filename 197 Logs the current or last displayed subtitle together with filename
198 and time information to ~/.mplayer/subtitle_log. Intended purpose 198 and time information to ~/.mplayer/subtitle_log. Intended purpose
199 is to allow convenient marking of bogus subtitles which need to be 199 is to allow convenient marking of bogus subtitles which need to be
200 fixed while watching the movie. 200 fixed while watching the movie.
201 201
202 sub_pos <value> [<abs>] 202 sub_pos <value> [abs]
203 Adjust/set subtitle position. 203 Adjust/set subtitle position.
204 204
205 sub_remove [<value>] 205 sub_remove [value]
206 If the <value> argument is present and non-negative, removes the subtitle 206 If the [value] argument is present and non-negative, removes the subtitle
207 file with index <value>. If the argument is omitted or negative, removes 207 file with index [value]. If the argument is omitted or negative, removes
208 all subtitle files. 208 all subtitle files.
209 209
210 sub_select [<value>] 210 sub_select [value]
211 Display subtitle with index <value>. Turn subtitle display off if 211 Display subtitle with index [value]. Turn subtitle display off if
212 <value> is -1 or greater than the highest available subtitle index. 212 [value] is -1 or greater than the highest available subtitle index.
213 Cycle through the available subtitles if <value> is omitted or less 213 Cycle through the available subtitles if [value] is omitted or less
214 than -1. Supported subtitle sources are -sub options on the command 214 than -1. Supported subtitle sources are -sub options on the command
215 line, VOBsubs, DVD subtitles, and Ogg and Matroska text streams. 215 line, VOBsubs, DVD subtitles, and Ogg and Matroska text streams.
216 216
217 vobsub_lang 217 vobsub_lang
218 This is a stub linked to sub_select for backwards compatibility. 218 This is a stub linked to sub_select for backwards compatibility.
219 219
220 sub_step <value> 220 sub_step <value>
221 Step forward in the subtitle list by <value> steps or backwards if <value> 221 Step forward in the subtitle list by <value> steps or backwards if <value>
222 is negative. 222 is negative.
223 223
224 sub_visibility [<value>] 224 sub_visibility [value]
225 Toggle/set subtitle visibility. 225 Toggle/set subtitle visibility.
226 226
227 forced_subs_only [<value>] 227 forced_subs_only [value]
228 Toggle/set forced subtitles only. 228 Toggle/set forced subtitles only.
229 229
230 switch_audio [<value>] (MPEG and Matroska only) 230 switch_audio [value] (MPEG and Matroska only)
231 Switch to the audio track with the id <value>. Cycle through the 231 Switch to the audio track with the id [value]. Cycle through the
232 available tracks if <value> is omitted or negative. 232 available tracks if [value] is omitted or negative.
233 233
234 switch_ratio [<value>] 234 switch_ratio [value]
235 Change aspect ratio at runtime. Value is the new aspect ratio expressed 235 Change aspect ratio at runtime. [value] is the new aspect ratio expressed
236 as a float (e.g. 1.77778 for 16/9). 236 as a float (e.g. 1.77778 for 16/9).
237 There might be problems with some video filters. 237 There might be problems with some video filters.
238 238
239 switch_vsync [<value>] 239 switch_vsync [value]
240 Toggle vsync (1 == on, 0 == off). If no value is provided, 240 Toggle vsync (1 == on, 0 == off). If [value] is not provided,
241 vsync status is inverted. 241 vsync status is inverted.
242 242
243 tv_step_channel <channel> 243 tv_step_channel <channel>
244 Select next/previous TV channel. 244 Select next/previous TV channel.
245 245
274 Set TV tuner saturation. 274 Set TV tuner saturation.
275 275
276 use_master 276 use_master
277 Switch volume control between master and PCM. 277 Switch volume control between master and PCM.
278 278
279 vo_border [<value>] 279 vo_border [value]
280 Toggle/set borderless display. 280 Toggle/set borderless display.
281 281
282 vo_fullscreen [<value>] 282 vo_fullscreen [value]
283 Toggle/set fullscreen mode. 283 Toggle/set fullscreen mode.
284 284
285 vo_ontop [<value>] 285 vo_ontop [value]
286 Toggle/set stay-on-top. 286 Toggle/set stay-on-top.
287 287
288 vo_rootwin [<value>] 288 vo_rootwin [value]
289 Toggle/set playback on the root window. 289 Toggle/set playback on the root window.
290 290
291 volume <value> [<abs>] 291 volume <value> [abs]
292 Increase/decrease volume or set it to <value> if <abs> is nonzero. 292 Increase/decrease volume or set it to <value> if [abs] is nonzero.
293 293
294 294
295 The following commands are really only useful for OSD menu console mode: 295 The following commands are really only useful for OSD menu console mode:
296 296
297 help 297 help