annotate DOCS/tech/slave.txt @ 17917:a7c7acb53f87

1.1232: put options in alphabetical order 1.1231: New option: -ignore-start
author kraymer
date Wed, 22 Mar 2006 17:06:34 +0000
parents 3ab613cdf96a
children 0eac85e451cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
4 The -slave option switches on slave mode, in which MPlayer works as a backend
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
5 for other programs. Instead of intercepting keyboard events, MPlayer will read
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
6 commands separated by a newline (\n) from stdin.
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
7
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
8 To try slave mode out by hand, run
15264
1692cd76d52a better slave mode description
diego
parents: 15155
diff changeset
9
15267
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
10 mplayer -slave -quiet <movie>
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
11
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
12 and type slave commands into the console window.
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
13
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
14 Most slave mode commands are equivalent to command line options, though not
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
15 necessarily under the same name. Detailed descriptions can be found in the
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
16 man page.
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
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
ed3a0e55240f (hopefully) better description of slave mode
diego
parents: 15264
diff changeset
26 Available commands ('mplayer -input cmdlist' will print a list):
15264
1692cd76d52a better slave mode description
diego
parents: 15155
diff changeset
27
14688
7a7565f28455 Put general note at the top of the file.
diego
parents: 14684
diff changeset
28
13715
ca0a780a6a47 Better descriptions merged from the XML docs.
diego
parents: 13714
diff changeset
29 alt_src_step <value> (ASX playlist only)
ca0a780a6a47 Better descriptions merged from the XML docs.
diego
parents: 13714
diff changeset
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
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
32 audio_delay <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
33 Adjust the audio delay by <value> seconds.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
34
17178
2bc6bb113ed0 improve video equalizer command (brightness, contrast, etc.) description
reimar
parents: 16969
diff changeset
35 [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
36 Set/adjust video parameters.
17182
3a892a5656db minor grammar clarification to the last commit, + omitted periods
wanderer
parents: 17178
diff changeset
37 If abs is not given or is zero, modifies parameter by <value>.
3a892a5656db minor grammar clarification to the last commit, + omitted periods
wanderer
parents: 17178
diff changeset
38 If abs is non-zero, parameter is set to <value>.
3a892a5656db minor grammar clarification to the last commit, + omitted periods
wanderer
parents: 17178
diff changeset
39 <value> is in the range [-100, 100].
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
40
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
41 change_rectangle <val1> <val2>
11932
a3e5b0b07ba8 change_rectangle documentation by Angel <knight@sunflower.com>
diego
parents: 11542
diff changeset
42 Change the position of the rectangle filter rectangle.
13109
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
43 <val1>
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
44 Must be one of the following:
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
45 0 = width
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
46 1 = height
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
47 2 = x position
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
48 3 = y position
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
49 <val2>
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
50 If <val1> is 0 or 1:
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
51 Integer amount to add/subtract from the width/height.
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
52 Positive values add to width/height and negative values
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
53 subtract from it.
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
54 If <val1> is 2 or 3:
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
55 Relative integer amount by which to move the upper left
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
56 rectangle corner. Positive values move the rectangle
693f3b591c25 cosmetics
diego
parents: 13108
diff changeset
57 right/down and negative values move the rectangle left/up.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
58
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
59 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
60 Set DVB channel.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
61
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
62 dvdnav <button>
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
63 Press the given dvdnav button.
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
64 1 up
13714
3995da1d8d68 grammar + indentation cosmetics
diego
parents: 13710
diff changeset
65 2 down
3995da1d8d68 grammar + indentation cosmetics
diego
parents: 13710
diff changeset
66 3 left
3995da1d8d68 grammar + indentation cosmetics
diego
parents: 13710
diff changeset
67 4 right
3995da1d8d68 grammar + indentation cosmetics
diego
parents: 13710
diff changeset
68 5 menu
3995da1d8d68 grammar + indentation cosmetics
diego
parents: 13710
diff changeset
69 6 select
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
70
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
71 dvdnav_event <value>
14329
74e323b9e5db More commands documented, based on Reimar's findings.
diego
parents: 14323
diff changeset
72 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
73
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
74 edl_mark
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
75 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
76
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
77 frame_drop [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
78 Toggle/set frame dropping mode.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
79
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
80 get_percent_pos
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
81 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
82
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
83 get_sub_visibility
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
84 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
85
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
86 get_time_length
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
87 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
88
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
89 get_time_pos
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
90 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
91
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
92 get_vo_fullscreen
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
93 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
94
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
95 grab_frames
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
96 Currently unimplemented.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
97
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
98 screenshot
16479
e56a4aea6512 The screenshot command is now implemented, wording/spelling fixes.
diego
parents: 16445
diff changeset
99 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
100
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
101 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
102 GUI actions
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
103
16445
9597d55ee7ab key_down_event
nplourde
parents: 16386
diff changeset
104 key_down_event <value>
16479
e56a4aea6512 The screenshot command is now implemented, wording/spelling fixes.
diego
parents: 16445
diff changeset
105 Inject <value> key code event into MPlayer.
16445
9597d55ee7ab key_down_event
nplourde
parents: 16386
diff changeset
106
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
107 loadfile <file|url> <append>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
108 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
109 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
110 appended to the current playlist instead.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
111
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
112 loadlist <file> <append>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
113 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
114 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
115 appended to the current playlist instead.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
116
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
117 menu <command>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
118 Execute an OSD menu command.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
119 up Move cursor up.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
120 down Move cursor down.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
121 ok Accept selection.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
122 cancel Cancel selection.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
123 hide Hide the OSD menu.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
124
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
125 set_menu <menu_name>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
126 Display the menu named <menu_name>.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
127
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
128 mute
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
129 Mute/unmute sound output.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
130
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
131 osd [<level>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
132 Toggle OSD mode or set it to level when <level> >= 0.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
133
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
134 osd_show_text <string>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
135 Show <string> on the OSD.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
136
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
137 panscan <-1.0 - 1.0> | <0.0 - 1.0> <absolute>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
138 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
139 Negative values decrease the pan-and-scan range.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
140 If <absolute> is != 0, then the pan-and scan range is interpreted as an
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
141 absolute range.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
142
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
143 pause
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
144 Pause/unpause the playback.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
145
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
146 frame_step
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
147 Play one frame, then pause again.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
148
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
149 pt_step <value> [<force>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
150 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
151 the direction. If no entry is available in the given direction it will do
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
152 nothing unless force is non-zero.
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 pt_up_step <value> [<force>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
155 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
156 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
157
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
158 quit [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
159 Quit MPlayer. The optional integer value is used as the return code
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
160 for the mplayer process (default: 0).
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
161
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
162 seek <value> [<type>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
163 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
164 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
165 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
166 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
167
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
168 speed_incr <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
169 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
170
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
171 speed_mult <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
172 Multiply the current speed by <value>.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
173
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
174 speed_set <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
175 Set the speed to <value>.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
176
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
177 sub_alignment <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
178 Set subtitle alignment.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
179
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
180 sub_delay <value> [<abs>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
181 Adjust the subtitle delay by +/- <value> seconds or set it to <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
182 seconds when <abs> is nonzero.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
183
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
184 sub_load <subtitle_file>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
185 Loads subtitles from <subtitle_file>.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
186
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
187 sub_log
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
188 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
189 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
190 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
191 fixed while watching the movie.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
192
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
193 sub_pos <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
194 Adjust subtitle position.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
195
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
196 sub_remove [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
197 If the <value> argument is present and non-negative, removes the subtitle
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
198 file with index <value>. If the argument is omitted or negative, removes
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
199 all subtitle files.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
200
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
201 sub_select [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
202 Display subtitle with index <value>. Turn subtitle display off if
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
203 <value> is -1 or greater than the highest available subtitle index.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
204 Cycle through the available subtitles if <value> is omitted or less
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
205 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
206 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
207
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
208 vobsub_lang
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
209 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
210
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
211 sub_step <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
212 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
213 is negative.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
214
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
215 sub_visibility
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
216 Toggle subtitle visibility.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
217
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
218 forced_subs_only
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
219 Display forced subtitles only.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
220
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
221 switch_audio [<value>] (MPEG and Matroska only)
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
222 Switch to the audio track with the id <value>. Cycle through the
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
223 available tracks if <value> is omitted or negative.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
224
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
225 switch_ratio [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
226 Change aspect ratio at runtime. Value is the new aspect ratio expressed
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
227 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
228 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
229
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
230 switch_vsync [<value>]
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
231 Toggle vsync (1 == on, 0 == off). If no value is provided,
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
232 vsync status is inverted.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
233
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
234 tv_step_channel <channel>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
235 Select next/previous TV channel.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
236
10218
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
237 tv_step_norm
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
238 Change TV norm.
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
239
10218
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
240 tv_step_chanlist
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
241 Change channel list.
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
242
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
243 tv_set_channel <channel>
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
244 Set the current TV channel.
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
245
10218
f82646fc1431 Moved video filters to a separate section, moved slave mode section to the
jonas
parents:
diff changeset
246 tv_last_channel
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
247 Set the current TV channel to the last one.
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
248
10521
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
249 tv_set_freq <frequency in MHz>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
250 Set the TV tuner frequency.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
251
10521
141141fdd250 I'd like to change tv tuner frequency in the slave mode. So this patch
gabucino
parents: 10218
diff changeset
252 tv_set_norm <norm>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
253 Set the TV tuner norm (PAL, SECAM, NTSC, ...).
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
254
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
255 tv_set_brightness <-100 - 100>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
256 Set TV tuner brightness.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
257
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
258 tv_set_contrast <-100 -100>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
259 Set TV tuner contrast.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
260
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
261 tv_set_hue <-100 - 100>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
262 Set TV tuner hue.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
263
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
264 tv_set_saturation <-100 - 100>
13108
a7ff30cf339f spelling, rewording, some additions
diego
parents: 13091
diff changeset
265 Set TV tuner saturation.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
266
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
267 use_master
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
268 Switch volume control between master and PCM.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
269
16969
c35e21308577 alphabetical order
diego
parents: 16968
diff changeset
270 vo_border
c35e21308577 alphabetical order
diego
parents: 16968
diff changeset
271 Toggle borderless display.
c35e21308577 alphabetical order
diego
parents: 16968
diff changeset
272
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
273 vo_fullscreen
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
274 Switch to fullscreen mode.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
275
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
276 vo_ontop
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
277 Toggle stay-on-top.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
278
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
279 vo_rootwin
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
280 Toggle playback on the root window.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
281
16386
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
282 volume <value>
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
283 Increase/decrease volume.
9e1ba1ac3c7d Reorder slave mode commands to appear in alphabetical order with a few
diego
parents: 16254
diff changeset
284
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
285
14691
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
286 The following commands are really only useful for OSD menu console mode:
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
287
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
288 help
14691
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
289 Displays help text, currently empty.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
290
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
291 exit
14691
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
292 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
293
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
294 hide
14691
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
295 Hides the OSD menu console. Clicking a menu command unhides it. Other
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
296 keybindings act as usual.
11413
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
297
e250b0e9e608 Missing commands added, parameters checked, explanations improved.
diego
parents: 10927
diff changeset
298 run <value>
14691
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
299 Run <value> as shell command. In OSD menu console mode stdout and stdin
17f07706a4a0 Document missing slave mode commands.
diego
parents: 14688
diff changeset
300 are through the video output driver.