From 27dd6344e3f503a2cd2d307f3ce893bb37bdf3f7 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 4 Sep 2005 16:08:18 +0000 Subject: [PATCH] Reorder slave mode commands to appear in alphabetical order with a few exceptions for commands that are very closely related. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16387 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/slave.txt | 346 ++++++++++++++++++++++---------------------- 1 file changed, 174 insertions(+), 172 deletions(-) diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt index 281133e88d..82f1962158 100644 --- a/DOCS/tech/slave.txt +++ b/DOCS/tech/slave.txt @@ -19,170 +19,19 @@ All commands can be prefixed with "pausing ", causing MPlayer to pause as soon as possible after processing the command. Please note that this can be before the command is fully executed. + Available commands ('mplayer -input cmdlist' will print a list): -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. - -speed_set - Set the speed to . - -speed_incr - Add to the current playback speed. - -speed_mult - Multiply the current speed by . - -edl_mark - Write the current position into the EDL file. - -audio_delay - Adjust the audio delay by seconds. - -quit [] - Quit MPlayer. The optional integer value is used as the return code - for the mplayer process (default: 0). - -pause - Pause/unpause the playback. - -frame_step - Play one frame, then pause again. - -grab_frames - Currently unimplemented. - -pt_step [] - Go to the next/previous entry in the playtree. The sign of tells - the direction. If no entry is available in the given direction it will do - nothing unless force is non-zero. - -pt_up_step [] - Similar to pt_step but jumps to the next/previous entry in the parent list. - Useful to break out of the inner loop in the playtree. - alt_src_step (ASX playlist only) When more than one source is available it selects the next/previous one. -sub_delay [] - Adjust the subtitle delay by +/- seconds or set it to - seconds when is nonzero. +audio_delay + Adjust the audio delay by seconds. -sub_step - Step forward in the subtitle list by steps or backwards if - is negative. - -sub_load - Loads subtitles from . - -sub_remove [] - If the argument is present and non-negative, removes the subtitle - file with index . If the argument is omitted or negative, removes - all subtitle files. - -osd [] - Toggle OSD mode or set it to level when >= 0. - -osd_show_text - Show on the OSD. - -volume - Increase/decrease volume. - -use_master - Switch volume control between master and PCM. - -mute - Mute/unmute sound output. - -switch_audio [] (MPEG and Matroska only) - Switch to the audio track with the id . Cycle through the - available tracks if is omitted or negative. - -[contrast|gamma|brightness|hue|saturation] <-100 - 100> [] +[brightness|contrast|gamma|hue|saturation] <-100 - 100> [] Set/adjust video parameters. -frame_drop [] - Toggle/set frame dropping mode. - -sub_pos - Adjust subtitle position. - -sub_alignment - Set subtitle alignment. - -sub_visibility - Toggle subtitle visibility. - -get_sub_visibility - Print out subtitle visibility (1 == on, 0 == off). - -sub_select [] - Display subtitle with index . Turn subtitle display off if - is -1 or greater than the highest available subtitle index. - Cycle through the available subtitles if is omitted or less - than -1. Supported subtitle sources are -sub options on the command - line, VOBsubs, DVD subtitles, and Ogg and Matroska text streams. - -sub_log - Logs the current or last displayed subtitle together with filename - and time information to ~/.mplayer/subtitle_log. Intended purpose - is to allow convenient marking of bogus subtitles which need to be - fixed while watching the movie. - -vobsub_lang - This is a stub linked to sub_select for backwards compatibility. - -get_percent_pos - Print out the current position in the file, as integer percentage [0-100). - -get_time_pos - Print out the current position in the file in seconds, as float. - -get_time_length - Print out the length of the current file in seconds. - -vo_fullscreen - Switch to fullscreen mode. - -get_vo_fullscreen - Print out fullscreen status (1 == fullscreened, 0 == windowed). - -vo_ontop - Toggle stay-on-top. - -vo_rootwin - Toggle playback on the root window. - -switch_vsync [] - Toggle vsync (1 == on, 0 == off). If no value is provided, - vsync status is inverted. - -switch_ratio [] - Change aspect ratio at runtime. Value is the new aspect ratio expressed - as a float (e.g. 1.77778 for 16/9). - There might be problems with some video filters. - -panscan <-1.0 - 1.0> | <0.0 - 1.0> - Increase or decrease the pan-and-scan range by , 1.0 is the maximum. - Negative values decrease the pan-and-scan range. - If is != 0, then the pan-and scan range is interpreted as an - absolute range. - -loadfile - Load the given file/URL, stopping playback of the current file/URL. - If is nonzero playback continues and the file/URL is - appended to the current playlist instead. - -loadlist - Load the given playlist file, stopping playback of the current file. - If is nonzero playback continues and the playlist file is - appended to the current playlist instead. - change_rectangle Change the position of the rectangle filter rectangle. @@ -201,6 +50,9 @@ change_rectangle rectangle corner. Positive values move the rectangle right/down and negative values move the rectangle left/up. +dvb_set_channel + Set DVB channel. + dvdnav