aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-04 21:04:28 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-04 21:04:28 +0000
commit474a0e6223ad23dd5af8f9db37bf840df37510a7 (patch)
tree38643bddb1a3f56b34185f21ee85833a6b84160a /DOCS
parent95a34e058da0f3eb394b8f1851ffbfc4373f1e2a (diff)
-slave patch by Kilian A. Foth <foth@informatik.uni-hamburg.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3323 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/mplayer.128
1 files changed, 28 insertions, 0 deletions
diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1
index 4a3630a7e7..413dcbaa84 100644
--- a/DOCS/mplayer.1
+++ b/DOCS/mplayer.1
@@ -81,6 +81,7 @@ mplayer \- Movie Player for Linux
.RB [ \-bpp\ depth ]
.RB [ \-flip ]
.RB [ \-playlist\ <filename> ]
+.RB [ \-slave ]
.I - or file or device
.PP
.SH DESCRIPTION
@@ -246,6 +247,19 @@ set aspect ratio of your screen. Examples:
.TP
.B \-playlist <file>
play files according to this filelist (1 file/row).
+
+.TP
+.B \-slave
+This option switches on slave mode. This is intended for use
+of mplayer as a backend to other programs. Instead of intercepting keyboard
+events, mplayer will read simplistic command lines from its stdin.
+See section
+.B SLAVE MODE PROTOCOL
+for the syntax.
+
+
+
+
.IP
.SH "ADVANCED OPTIONS"
.TP
@@ -549,6 +563,20 @@ the DivX4 codec with -vc divx4)
7 or 8 adjust saturation
+.SH SLAVE MODE PROTOCOL
+If the -slave switch is given, playback is controlled by a
+line-based protocol with the following tokens:
+.TP
+ stop pause playback
+
+play resume playback
+
+seek <NUM> continue at second NUM
+
+skip <NUM> skip NUM seconds (may be negative)
+
+quit exit mplayer
+
.IP
.SH FILES AND DIRECTORIES
.TP