summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/slave.txt
diff options
context:
space:
mode:
authorjonas <jonas@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-31 16:41:41 +0000
committerjonas <jonas@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-31 16:41:41 +0000
commit740a650ff6f5156d270549b4ad1b6b64d430b4cd (patch)
tree4b1f2a2fd134b42d88d5ddd460ee52c8b26920e7 /DOCS/tech/slave.txt
parente3a2ddb55aba5d3f57c0322b8e88209228ca7b1e (diff)
downloadmpv-740a650ff6f5156d270549b4ad1b6b64d430b4cd.tar.bz2
mpv-740a650ff6f5156d270549b4ad1b6b64d430b4cd.tar.xz
Moved video filters to a separate section, moved slave mode section to the
tech subdir, random improvements, default indentation reduced. Straight from the LUG camp Felsberg by Jonas and Diego. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10219 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/slave.txt')
-rw-r--r--DOCS/tech/slave.txt80
1 files changed, 80 insertions, 0 deletions
diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt
new file mode 100644
index 0000000000..b344217790
--- /dev/null
+++ b/DOCS/tech/slave.txt
@@ -0,0 +1,80 @@
+SLAVE MODE PROTOCOL
+-------------------
+
+If the -slave option is given, playback is controlled by a line-based protocol.
+Each line must contain one of the following commands:
+
+seek <value> [type=<0/\:1/\:2>]
+ Seek to some place in the movie.
+ Type 0 is a relative seek of +/\:- <value> seconds.
+ Type 1 seek to <value> % in the movie.
+ Type 2 is a seek to an absolute position of <value> seconds.
+edl_mark
+ ????
+audio_delay <value>
+ Adjust the audio delay of value seconds
+quit
+ Quit MPlayer
+pause
+ Pause/\:unpause the playback
+grap_frames
+ Somebody know ?
+pt_step <value> [force=<value>]
+ Go to next/\:previous entry in the playtree.
+pt_up_step <value> [force=<value>]
+ Like pt_step but it jumps to next/\:previous in the parent list.
+alt_src_step <value>
+ When more than one source is available it selects the next/\:previous one
+ (only supported by asx playlist).
+sub_delay <value> [abs=<value>]
+ Adjust the subtitles delay of +/\:- <value> seconds or set it to <value>
+ seconds when abs is non zero.
+osd [level=<value>]
+ Toggle OSD mode or set it to level when level >= 0.
+volume <dir>
+ Increase/\:decrease volume
+use_master
+ Switch volume control between master and pcm.
+mute
+ Mute/\:unmute sound output.
+[contrast|brightness|hue|saturation] <-100-100> [abs=<value>]
+ Set/\:Adjust video parameters.
+frame_drop [type=<value>]
+ Toggle/\:Set frame dropping mode.
+sub_alignment <value>
+ Set subtitle alignment.
+sub_visibility
+ Toggle subtitle visibility.
+sub_pos <value>
+ Adjust subtitles position.
+vobsub_lang
+ Switch the subtitle language when using VOBSub subtitles.
+get_percent_pos
+ ???
+get_time_length
+ ???
+vo_fullscreen
+ Switch to fullscreen mode.
+panscan value [value2]
+ ???
+loadfile url
+ Load the given file/\:url.
+loadlist file
+ Load the given playlist file.
+change_rectangle val1 val2
+ ??? used by the rectangle video filter.
+dvdnav button
+ Press the given dvdnav button.
+ 1 is up, 2 is down, 3 is left, 4 is right, 5 is menu and 6 is select.
+tv_step_channel <dir>
+ Select next/\:previous tv channel.
+tv_step_norm
+ Change TV norm.
+tv_step_chanlist
+ Change channel list.
+tv_set_channel channel
+ Set the current TV channel.
+tv_last_channel
+ Set the current TV channel to the last one.
+gui_[loadsubtitle|about|play|stop]
+ GUI actions