From aa02ce5279005c6c6d09d8bf8365b32c979325ff Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 21 Oct 2004 11:17:42 +0000 Subject: Remove incomplete key list and command list and update the other sections accordingly, commands are documented in DOCS/tech/slave.txt. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13718 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/usage.xml | 218 +++----------------------------------------------- 1 file changed, 13 insertions(+), 205 deletions(-) (limited to 'DOCS') diff --git a/DOCS/xml/en/usage.xml b/DOCS/xml/en/usage.xml index cf1f43b92e..cfc1335e6b 100644 --- a/DOCS/xml/en/usage.xml +++ b/DOCS/xml/en/usage.xml @@ -119,6 +119,13 @@ using the option (relative path are relative to $HOME/.mplayer). + +You can get a full list of supported key names by running +mplayer -input keylist +and a full list of available commands by running +mplayer -input cmdlist. + + A simple input control file @@ -136,207 +143,6 @@ q quit ENTER pt_step 1 1 - - - -Key names - - -You can have a full list by running -mplayer -input keylist. - - - -Keyboard -Any printable character -SPACE -ENTER -TAB -CTRL -BS -DEL -INS -HOME -END -PGUP -PGDWN -ESC -RIGHT -LEFT -UP -DOWN - - - -Mouse (only supported under X) - - MOUSE_BTN0 (Left button) - - MOUSE_BTN1 (Right button) - - MOUSE_BTN2 (Middle button) - - MOUSE_BTN3 (Wheel) - - MOUSE_BTN4 (Wheel) -... -MOUSE_BTN9 - - - -Joystick (support must be enabled at compile time) - - JOY_RIGHT or - JOY_AXIS0_PLUS - - JOY_LEFT or - JOY_AXIS0_MINUS - - JOY_UP or - JOY_AXIS1_MINUS - - JOY_DOWN or - JOY_AXIS1_PLUS -JOY_AXIS2_PLUS -JOY_AXIS2_MINUS -... -JOY_AXIS9_PLUS -JOY_AXIS9_MINUS - - - - - -Commands - - -You can have a full list of known commands by running -mplayer -input cmdlist. - - - -seek (int) val [(int) type=0] - - Seek to some place in the movie. - Type 0 is a relative seek of +/- val seconds. - Type 1 seek to val % in the movie. - -speed_mult (float) val - - Multiply the current speed with val. - -speed_incr (float) val - - Add val to the current playback speed. - -speed_set (float) val - - Set the speed to val. - -audio_delay (float) val - - Adjust the audio delay of val seconds - -quit - - Quit MPlayer - -pause - - Pause/unpause the playback - -grap_frames - - Somebody know ? - -pt_step (int) val [(int) force=0] - - Go to next/previous entry in playtree. Val sign tell the direction. If - no other entry is available in the given direction it won't do anything - unless force is non 0. - -pt_up_step (int) val [(int) force=0] - - Like pt_step but it jump to next/previous in the parent list. It's useful - to break inner loop in the playtree. - -alt_src_step (int) val - - When more than one source is available it select the next/previous one - (only supported by asx playlist). - -sub_delay (float) val [(int) abs=0] - - Adjust the subtitles delay of +/- val seconds or set it to val seconds - when abs is non zero. - -osd [(int) level=-1] - - Toggle osd mode or set it to level when level > 0. - -volume (int) dir - Increase/decrease volume - -contrast (int) val [(int) abs=0] - -brightness (int) val [(int) abs=0] - -hue (int) val [(int) abs=0] - -saturation (int) val [(int) abs=0] - - Set/Adjust video parameters. Val range from -100 to 100. - -frame_drop [(int) type=-1] - - Toggle/Set frame dropping mode. - -sub_visibility - - Adjust subtitles visibility. - -sub_pos (int) val - - Adjust subtitles position. - -vobsub_lang - - Change the language of VOBsub subtitles. - -vo_fullscreen - - Switch fullscreen mode. - -vo_ontop - - Toggle stay-on-top. Supported by drivers which use X11, except SDL, - as well as directx and gl2 under Windows. - -tv_step_channel (int) dir - - Select next/previous tv channel. - -tv_step_norm - - Change TV norm. - -tv_step_chanlist - - Change channel list. - -gui_loadfile -gui_loadsubtitle -gui_about -gui_play -gui_stop -gui_playlist -gui_preferences -gui_skinbrowser - - GUI actions - - - @@ -406,10 +212,12 @@ file. Slave mode -The slave mode allow you to build simple frontend to -MPlayer. When enabled (with the - option) MPlayer will -read commands separated by new line (\n) from stdin. +The slave mode allows you to build simple frontends to +MPlayer. When run with the + option MPlayer will +read commands separated by a newline (\n) from stdin. +The commands are documented in the +slave.txt file. -- cgit v1.2.3