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: 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 ??? 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 ??? 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. sub_step ??? osd [] Toggle OSD mode or set it to level when >= 0. osd_show_text ??? volume Increase/decrease volume. use_master Switch volume control between master and PCM. mute 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 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 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, as integer percentage [0-100). 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 [value2] ??? loadfile Load the given file/URL. loadlist Load the given playlist file. change_rectangle Change the position of the rectangle filter rectangle. Must be one of the following: 0 = width 1 = height 2 = x position 3 = y position 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. If is 2 or 3: Relative integer amount by which to move the upper left rectangle corner. Positive values move the rectangle right/down and negative values move the rectangle left/up. dvdnav