From 7b8ec42f0275b9be0011d5ac01304afd2353591e Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 24 Aug 2004 10:52:28 +0000 Subject: spelling, rewording, some additions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13109 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/slave.txt | 55 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 24 deletions(-) (limited to 'DOCS/tech/slave.txt') diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt index 481494c7d5..1fc0afeb7a 100644 --- a/DOCS/tech/slave.txt +++ b/DOCS/tech/slave.txt @@ -1,6 +1,11 @@ SLAVE MODE PROTOCOL ------------------- +FIXME: Some of these options are still not documented, patches welcome. + +Most slave mode commands are equivalent to command line options. +Have a look at the man page for more detailed descriptions. + If the -slave option is given, playback is controlled by a line-based protocol. Each line must contain one of the following commands: @@ -26,7 +31,7 @@ grab_frames ??? pt_step [] - Go to next/previous entry in the playtree. + Go to the next/previous entry in the playtree. pt_up_step [] Like pt_step but it jumps to next/previous in the parent list. @@ -36,13 +41,17 @@ alt_src_step (only supported by ASX playlist). sub_delay [] - Adjust the subtitles delay of +/- seconds or set it to - seconds when abs is nonzero. + Adjust the subtitle delay by +/- seconds or set it to + seconds when is nonzero. + +sub_step + ??? osd [] - Toggle OSD mode or set it to level when level >= 0. + Toggle OSD mode or set it to level when >= 0. osd_show_text + ??? volume Increase/decrease volume. @@ -54,13 +63,13 @@ mute Mute/unmute sound output. [contrast|gamma|brightness|hue|saturation] <-100 - 100> [] - Set/Adjust video parameters. + Set/adjust video parameters. frame_drop [] - Toggle/Set frame dropping mode. + Toggle/set frame dropping mode. sub_pos - Adjust subtitles position. + Adjust subtitle position. sub_alignment Set subtitle alignment. @@ -72,15 +81,15 @@ get_sub_visibility Print out subtitle visibility (1 == on, 0 == off). sub_select - Cycle through the subtitle set. Supported subtitle sources are -sub - options on the command line, VOBSubs, DVD subtitles, and OGG text + Cycle through the available subtitles. Supported subtitle sources are + -sub options on the command line, VOBsubs, DVD subtitles, and Ogg text streams. vobsub_lang This is a stub linked to sub_select for backwards compatibility. get_percent_pos - Print out the current position in the file, in integer percentage [0-100). + Print out the current position in the file, as integer percentage [0-100). get_time_length Print out the length of the current file in seconds. @@ -92,18 +101,16 @@ get_vo_fullscreen Print out fullscreen status (1 == fullscreened, 0 == windowed). vo_ontop - Toggle stay-on-top. Supported by drivers which use X11, except SDL, - as well as directx and gl2 under Windows. + Toggle stay-on-top. vo_rootwin - Toggle playback on the root window. This runtime toggle is only - supported by the directx driver at the moment. + Toggle playback on the root window. panscan [value2] ??? loadfile - Load the given file/url. + Load the given file/URL. loadlist Load the given playlist file. @@ -117,11 +124,11 @@ change_rectangle 2 = x position 3 = y position - For values of 0 or 1 for : + If is 0 or 1: Integer amount to add/subtract from the width/height. Positive values add to width/height and negative values subtract from it. - For values of 2 or 3 for : + If is 2 or 3: Relative integer amount by which to move the upper left corner of the rectangle. Positive values move the rectangle right/down and negative values move the rectangle left/up. @@ -139,7 +146,7 @@ dvdnav_event ??? tv_step_channel - Select next/previous tv channel. + Select next/previous TV channel. tv_step_norm Change TV norm. @@ -154,22 +161,22 @@ tv_last_channel Set the current TV channel to the last one. tv_set_freq - Set the tv tuner frequency. + Set the TV tuner frequency. tv_set_norm - Set the tv tuner norm. PAL, SECAM, NTSC and so on.. + Set the TV tuner norm (PAL, SECAM, NTSC, ...). tv_set_brightness <-100 - 100> - Set tv tuner brightness. + Set TV tuner brightness. tv_set_contrast <-100 -100> - Set tv tuner contrast. + Set TV tuner contrast. tv_set_hue <-100 - 100> - Set tv tuner hue. + Set TV tuner hue. tv_set_saturation <-100 - 100> - Set tv tuner saturation. + Set TV tuner saturation. gui_[loadfile|loadsubtitle|about|play|stop|gui_playlist|gui_preferences|skinbrowser] GUI actions -- cgit v1.2.3