# HG changeset patch # User diego # Date 1068255218 0 # Node ID e250b0e9e6084e8ab3ef9cb81c85b4a571713255 # Parent ec3dac7d17a02353012cc4d53e5b3f6943031fab Missing commands added, parameters checked, explanations improved. diff -r ec3dac7d17a0 -r e250b0e9e608 DOCS/tech/slave.txt --- a/DOCS/tech/slave.txt Sat Nov 08 00:26:51 2003 +0000 +++ b/DOCS/tech/slave.txt Sat Nov 08 01:33:38 2003 +0000 @@ -4,93 +4,172 @@ If the -slave option is given, playback is controlled by a line-based protocol. Each line must contain one of the following commands: -seek [type=<0/\:1/\:2>] - Seek to some place in the movie. - Type 0 is a relative seek of +/\:- seconds. - Type 1 seek to % in the movie. - Type 2 is a seek to an absolute position of seconds. +seek [] + Seek to some place in the movie. + 0 is a relative seek of +/- seconds (default). + 1 is a seek to % in the movie. + 2 is a seek to an absolute position of seconds. + edl_mark - ???? + ??? + audio_delay - Adjust the audio delay of value seconds + Adjust the audio delay of value seconds. + quit - Quit MPlayer + Quit MPlayer. + pause - Pause/\:unpause the playback -grap_frames - Somebody know ? -pt_step [force=] - Go to next/\:previous entry in the playtree. -pt_up_step [force=] - Like pt_step but it jumps to next/\:previous in the parent list. + Pause/unpause the playback. + +grab_frames + ??? + +pt_step [] + Go to next/previous entry in the playtree. + +pt_up_step [] + Like pt_step but it jumps to next/previous in the parent list. + alt_src_step - When more than one source is available it selects the next/\:previous one - (only supported by asx playlist). -sub_delay [abs=] - Adjust the subtitles delay of +/\:- seconds or set it to - seconds when abs is non zero. -osd [level=] - Toggle OSD mode or set it to level when level >= 0. -volume - Increase/\:decrease volume + When more than one source is available it selects the next/previous one + (only supported by ASX playlist). + +sub_delay [] + Adjust the subtitles delay of +/- seconds or set it to + seconds when abs is nonzero. + +osd [] + Toggle OSD mode or set it to level when level >= 0. + +osd_show_text + +volume + Increase/decrease volume. + use_master - Switch volume control between master and pcm. + Switch volume control between master and PCM. + mute - Mute/\:unmute sound output. -[contrast|brightness|hue|saturation] <-100-100> [abs=] - Set/\:Adjust video parameters. -frame_drop [type=] - Toggle/\:Set frame dropping mode. -sub_alignment - Set subtitle alignment. -sub_visibility - Toggle subtitle visibility. -get_sub_visibility - Print out subtitle visibility (1 == on, 0 == off). + Mute/unmute sound output. + +[contrast|gamma|brightness|hue|saturation] <-100 - 100> [] + Set/Adjust video parameters. + +frame_drop [] + Toggle/Set frame dropping mode. + sub_pos - Adjust subtitles position. + Adjust subtitles position. + +sub_alignment + Set subtitle alignment. + +sub_visibility + Toggle subtitle visibility. + +get_sub_visibility + Print out subtitle visibility (1 == on, 0 == off). + vobsub_lang - Switch the subtitle language when using VOBSub subtitles. + Switch the subtitle language when using VOBSub subtitles. + get_percent_pos - Print out the current position in the file, in integer percentage [0-100). + Print out the current position in the file, in integer percentage [0-100). + get_time_length - Print out the length of the current file in seconds. + Print out the length of the current file in seconds. + vo_fullscreen - Switch to fullscreen mode. + Switch to fullscreen mode. + get_vo_fullscreen - Print out fullscreen status (1 == fullscreened, 0 == windowed). -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 - Select next/\:previous tv channel. + Print out fullscreen status (1 == fullscreened, 0 == windowed). + +panscan [value2] + ??? + +loadfile + Load the given file/url. + +loadlist + Load the given playlist file. + +change_rectangle + ??? + +dvdnav