.\" $Revision$ .\" MPlayer (C) 2000-2006 MPlayer Team .\" This man page was/is done by Gabucino, Diego Biurrun, Jonas Jermann . .\" -------------------------------------------------------------------------- .\" Macro definitions .\" -------------------------------------------------------------------------- . .\" default indentation is 7, don't change! .nr IN 7 .\" define indentation for suboptions .nr SS 5 .\" add new suboption .de IPs .IP "\\$1" \n(SS .. .\" begin of first level suboptions, end with .RE .de RSs .RS \n(IN+3 .. .\" begin of 2nd level suboptions .de RSss .PD 0 .RS \n(SS+3 .. .\" end of 2nd level suboptions .de REss .RE .PD 1 .. . .\" -------------------------------------------------------------------------- .\" Title .\" -------------------------------------------------------------------------- . .TH MPlayer 1 "2006-01-04" "The MPlayer Project" "The Movie Player" . .SH NAME mplayer \- movie player .br mencoder \- movie encoder . .\" -------------------------------------------------------------------------- .\" Synopsis .\" -------------------------------------------------------------------------- . .SH SYNOPSIS .na .nh .B mplayer .RI [options]\ [ \ file\ | \ URL\ | \ playlist\ | \ \-\ ] . .br .in .B mplayer 'in +\n[.k]u [global options] .I file1 [specific options] [file2] [specific options] . .br .in .B mplayer 'in +\n[.k]u [global options] .RI { "group of files and options" } [group specific options] . .br .in .B mplayer 'in +\n[.k]u .I dvd://[title | [start_title]\-end_title ] [options] . .br .in .B mplayer 'in +\n[.k]u .I vcd://track[/device] . .br .in .B mplayer 'in +\n[.k]u .I tv://[channel] [options] . .br .in .B mplayer 'in +\n[.k]u .I dvb://[card_number@]channel [options] . .br .in .B mplayer 'in +\n[.k]u .I mf://filemask [-mf options] [options] . .br .in .B mplayer 'in +\n[.k]u .I [cdda|cddb]://track[-endtrack][:speed][/device] [options] . .br .in .B mplayer 'in +\n[.k]u .I cue://file[:track] [options] . .br .in .B mplayer 'in +\n[.k]u .RI [ file | mms[t] | http | http_proxy | rt[s]p | ftp | udp | unsv] :// [user:passwd@]\fIURL\fP[:port] [options] . .br .in .B mplayer 'in +\n[.k]u .I sdp://file [options] . .br .in .B mplayer 'in +\n[.k]u .I mpst://host[:port]/URL [options] . .br .in .B mplayer 'in +\n[.k]u .I tivo://host/list [options] .br .in .B mplayer 'in +\n[.k]u .I tivo://host/llist [options] .br .in .B mplayer 'in +\n[.k]u .I tivo://host/fsid [options] .br .in .B gmplayer 'in +\n[.k]u [options] [\-skin\ skin] . .br .in .B mencoder 'in +\n[.k]u [options] .RI [ \ file\ | \ URL\ | \ \-\ ] [\-o\ file] . .br .in .B mencoder 'in +\n[.k]u [global options] .I file1 [specific options] [file2] [specific options] .ad .hy . .\" -------------------------------------------------------------------------- .\" Description .\" -------------------------------------------------------------------------- . .SH DESCRIPTION .B mplayer is a movie player for Linux (runs on many other platforms and CPU architectures, see the documentation). It plays most MPEG/\:VOB, AVI, ASF/\:WMA/\:WMV, RM, QT/\:MOV/\:MP4, Ogg/\:OGM, MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many native and binary codecs. You can watch Video CD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too. .PP MPlayer supports a wide range of video and audio output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, libcaca, DirectFB, Quartz, Mac OS X CoreVideo, but you can also use GGI, SDL (and all their drivers), VESA (on every VESA-compatible card, even without X11), some low-level card-specific drivers (for Matrox, 3dfx and ATI) and some hardware MPEG decoder boards, such as the Siemens DVB, DXR2 and DXR3/\:Hollywood+. Most of them support software or hardware scaling, so you can enjoy movies in fullscreen mode. .PP MPlayer has an onscreen display (OSD) for status information, nice big antialiased shaded subtitles and visual feedback for keyboard controls. European/\:ISO8859-1,2 (Hungarian, English, Czech, etc), Cyrillic and Korean fonts are supported along with 12 subtitle formats (MicroDVD, SubRip, OGM, SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub, PJS and our own: MPsub) and DVD subtitles (SPU streams, VOBsub and Closed Captions). .PP .B mencoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to encode MPlayer-playable movies (see above) to other MPlayer-playable formats (see below). It encodes to MPEG-4 (DivX/XviD), one of the libavcodec codecs and PCM/\:MP3/\:VBRMP3 audio in 1, 2 or 3 passes. Furthermore it has stream copying abilities, a powerful filter system (crop, expand, flip, postprocess, rotate, scale, noise, RGB/\:YUV conversion) and more. .PP .B gmplayer is MPlayer with a graphical user interface. It has the same options as MPlayer. .PP Usage examples to get you started quickly can be found at the end of this man page. .PP .B Also see the HTML documentation! . . .\" -------------------------------------------------------------------------- .\" interactive control .\" -------------------------------------------------------------------------- . .SH "INTERACTIVE CONTROL" MPlayer has a fully configurable, command-driven control layer which allows you to control MPlayer using keyboard, mouse, joystick or remote control (with LIRC). See the \-input option for ways to customize it. . .TP .B keyboard control .PD 0 .RS .IPs "<\- and \->" Seek backward/\:forward 10 seconds. .IPs "up and down" Seek backward/\:forward 1 minute. .IPs "pgup and pgdown" Seek backward/\:forward 10 minutes. .IPs "[ and ]" Decrease/increase current playback speed by 10%. .IPs "{ and }" Halve/double current playback speed. .IPs "backspace" Reset playback speed to normal. .IPs "< and >" Go backward/\:forward in the playlist. .IPs "ENTER" Go forward in the playlist, even over the end. .IPs "HOME and END" next/\:previous playtree entry in the parent list .IPs "INS and DEL (ASX playlist only)" next/\:previous alternative source. .IPs "p / SPACE" Pause (pressing again unpauses). .IPs .\ \ \ \ Step forward. Pressing once will pause movie, every consecutive press will play one frame and then go into pause mode again (any other key unpauses). .IPs "q / ESC" Stop playing and quit. .IPs "+ and -" Adjust audio delay by +/- 0.1 seconds. .IPs "/ and *" Decrease/\:increase volume. .IPs "9 and 0" Decrease/\:increase volume. .IPs m\ \ \ \ Mute sound. .IPs "# (MPEG and Matroska only)" Cycle through the available audio tracks. .IPs f\ \ \ \ Toggle fullscreen (also see \-fs). .IPs T\ \ \ \ Toggle stay-on-top (also see \-ontop). .IPs "w and e" Decrease/\:increase pan-and-scan range. .IPs o\ \ \ \ Toggle OSD states: none / seek / seek + timer / seek + timer + total time. .IPs d\ \ \ \ Toggle frame dropping states: none / skip display / skip decoding (see \-framedrop and \-hardframedrop). .IPs v\ \ \ \ Toggle subtitle visibility. .IPs "b / j" Cycle through the available subtitles. .IPs "y and g" Step forward/backward in the subtitle list. .IP F\ \ \ \ Toggle displaying "forced subtitles". .IPs a\ \ \ \ Toggle subtitle alignment: top / middle / bottom. .IPs "x and z" Adjust subtitle delay by +/- 0.1 seconds. .IPs "r and t" Move subtitles up/down. .IPs i\ \ \ \ Set EDL mark. .IPs "s (screenshot filter must be loaded)" Take a screenshot. .RE .PD 1 .PP .RS (The following keys are valid only when using a hardware accelerated video output (xv, (x)vidix, (x)mga, etc), the software equalizer (\-vf eq or \-vf eq2) or hue filter (\-vf hue). .RE .PP .PD 0 .RS .IPs "1 and 2" Adjust contrast. .IPs "3 and 4" Adjust brightness. .IPs "5 and 6" Adjust hue. .IPs "7 and 8" Adjust saturation. .RE .PD 1 .PP .RS (The following keys are valid only when using the quartz or macosx video output driver.) .RE .PP .PD 0 .RS .IPs "command + 0" Resize movie window to half its original size. .IPs "command + 1" Resize movie window to its original size. .IPs "command + 2" Resize movie window to double its original size. .IPs "command + f" Toggle fullscreen (also see \-fs). .IPs "command + [ and command + ]" Set movie window alpha. .RE .PD 1 .PP .RS (The following keys are valid if you have a keyboard with multimedia keys.) .RE .PP .PD 0 .RS .IPs PAUSE Pause. .IPs STOP\ Stop playing and quit. .IPs "PREVIOUS and NEXT" Seek backward/\:forward 1 minute. .RE .PD 1 .PP .RS (The following keys are only valid if GUI support is compiled in and will take precedence over the keys defined above.) .RE .PP .PD 0 .RS .IPs ENTER Start playing. .IPs ESC\ \ Stop playing. .IPs l\ \ \ \ Load file. .IPs t\ \ \ \ Load subtitle. .IPs c\ \ \ \ Open skin browser. .IPs p\ \ \ \ Open playlist. .IPs r\ \ \ \ Open preferences. .RE .PD 1 .PP .RS (The following keys are only valid if you compiled with TV input support and will take precedence over the keys defined above.) .RE .PP .PD 0 .RS .IPs "h and k" Select previous/\:next channel. .IPs n\ \ \ \ Change norm. .IPs u\ \ \ \ Change channel list. .RE .PD 1 . .TP .B mouse control .PD 0 .RS .IPs "button 3 and button 4" Seek backward/\:forward 1 minute. .IPs "button 5 and button 6" Decrease/\:increase volume. .RE .PD 1 . .TP .B joystick control .PD 0 .RS .IPs "left and right" Seek backward/\:forward 10 seconds. .IPs "up and down" Seek backward/\:forward 1 minute. .IPs "button 1" pause .IPs "button 2" Toggle OSD states: none / seek / seek + timer / seek + timer + total time. .IPs "button 3 and button 4" Decrease/\:increase volume. .RE .PD 1 . . .\" -------------------------------------------------------------------------- .\" Usage .\" -------------------------------------------------------------------------- . .SH "USAGE" Every 'flag' option has a 'noflag' counterpart, e.g.\& the opposite of the \-fs option is \-nofs. .PP If an option is marked as (XXX only), it will only work in combination with the XXX option or if XXX is compiled in. .PP .I NOTE: The suboption parser (used for example for -ao pcm suboptions) supports a special kind of string-escaping intended for use with external GUIs. .br It has the following format: .br %n%string_of_length_n .br .I EXAMPLES: .br mplayer -ao pcm:file=%10%C:test.wav test.avi .br Or in a script: .br mplayer -ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi .PP . .\" -------------------------------------------------------------------------- .\" Configuration files .\" -------------------------------------------------------------------------- . .SH "CONFIGURATION FILES" You can put all of the options in configuration files which will be read every time MPlayer/MEncoder is run. The system-wide configuration file 'mplayer.conf' is in your configuration directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the user specific one is '~/\:.mplayer/\:config'. The configuration file for MEncoder is 'mencoder.conf' in your configuration directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the user specific one is '~/\:.mplayer/\:mencoder. User specific options override system-wide options and options given on the command line override either. The syntax of the configuration files is 'option=', everything after a '#' is considered a comment. Options that work without values can be enabled by setting them to 'yes' or '1' or 'true' and disabled by setting them to 'no' or '0' or 'false'. Even suboptions can be specified in this way. .PP .I EXAMPLE MPLAYER CONFIGURATION FILE: .sp 1 .nf # Use Matrox driver by default. vo=xmga # I love practicing handstands while watching videos. flip=yes # Decode/encode multiple files from PNG, # start with mf://filemask mf=type=png:fps=25 # Eerie negative images are cool. vf=eq2=1.0:-0.8 .fi .PP .I "EXAMPLE MENCODER CONFIGURATION FILE:" .sp 1 .nf # Make MEncoder output to a default filename. o=encoded.avi # The next 4 lines allow mencoder tv:// to start capturing immediately. oac=pcm=yes ovc=lavc=yes lavcopts=vcodec=mjpeg tv=driver=v4l2:input=1:width=768:height=576:device=/dev/video0:audiorate=48000 # more complex default encoding option set lavcopts=vcodec=mpeg4:autoaspect=1 lameopts=aq=2:vbr=4 ovc=lavc=1 oac=lavc=1 passlogfile=pass1stats.log noautoexpand=1 subfont-autoscale=3 subfont-osd-scale=6 subfont-text-scale=4 subalign=2 subpos=96 spuaa=20 .fi .PP You can also write file-specific configuration files. If you wish to have a configuration file for a file called 'movie.avi', create a file named 'movie.avi.conf' with the file-specific options in it and put it in ~/.mplayer/ or in the same directory as the file. . .\" -------------------------------------------------------------------------- .\" Profiles .\" -------------------------------------------------------------------------- . .SH "PROFILES" To ease working with different configurations profiles can be defined in the configuration files. A profile starts with its name between square brackets, e.g.\& '[my-profile]'. All following options will be part of the profile. A description (shown by \-profile help) can be defined with the profile-desc option. To end the profile, start another one or use the profile name 'default' to continue with normal options. .fi .PP .I "EXAMPLE MENCODER PROFILE:" .sp 1 .nf [mpeg4] profile-desc="MPEG4 encoding" ovc=lacv=yes lavcopts=vcodec=mpeg4:vbitrate=1200 [mpeg4-hq] profile-desc="HQ MPEG4 encoding" profile=mpeg4 lavcopts=mbd=2:trell=yes:v4mv=yes .fi . .\" -------------------------------------------------------------------------- .\" Options .\" -------------------------------------------------------------------------- . .SH "GENERAL OPTIONS" . .TP .B \-codecs-file (also see \-afm, \-ac, \-vfm, \-vc) Override the standard search path and use the specified file instead of the builtin codecs.conf. . .TP .B \-include Specify configuration file to be parsed after the default ones. . .TP .B \-list-options Prints all available options. . .TP .B \-msglevel :=:...> Control verbosity directly for each module. The 'all' module changes the verbosity of all the modules not explicitly specified on the command line. See '\-msglevel help' for a list of all modules. .br .I NOTE: Messages printed before the command line is parsed can be controlled only by the MPLAYER_VERBOSE environment variable, which applies to all modules. .br Available levels: .PD 0 .RSs .IPs "-1" complete silence .IPs " 0" fatal messages only .IPs " 1" error messages .IPs " 2" warning messages .IPs " 3" short hints .IPs " 4" informational messages .IPs " 5" status messages (those hidden by \-quiet) .IPs " 6" verbose messages .IPs " 7" debug level 2 .IPs " 8" debug level 3 .IPs " 9" debug level 4 .RE .PD 1 . .TP .B \-quiet\ Make console output less verbose; in particular, prevents the status line (i.e.\& A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed. Particularly useful on slow terminals or broken ones which do not properly handle carriage return (i.e.\& \\r). . .TP .B \-priority (Windows only) Set process priority for MPlayer according to the predefined priorities available under Windows. Possible values of : .RSs idle|belownormal|normal|abovenormal|high|realtime .RE .sp 1 .RS .I WARNING: Using realtime priority can cause system lockup. .RE . .TP .B \-profile Use the given profile(s), \-profile help displays a list of the defined profiles. . .TP .B \-really-quiet (also see \-quiet) Display even less output and status messages than with \-quiet. . .TP .B \-show-profile Show the description and content of a profile. . .TP .B \-v\ \ \ \ \ Increment verbosity level, one level for each \-v found on the command line. . . . .SH "PLAYER OPTIONS (MPLAYER ONLY)" . .TP .B \-autoq (use with \-vf [s]pp) Dynamically changes the level of postprocessing depending on the available spare CPU time. The number you specify will be the maximum level used. Usually you can use some big number. You have to use \-vf [s]pp without parameters in order for this to work. . .TP .B \-autosync Gradually adjusts the A/V sync based on audio delay measurements. Specifying \-autosync 0, the default, will cause frame timing to be based entirely on audio delay measurements. Specifying \-autosync 1 will do the same, but will subtly change the A/V correction algorithm. An uneven video framerate in a movie which plays fine with \-nosound can often be helped by setting this to an integer value greater than 1. The higher the value, the closer the timing will be to \-nosound. Try \-autosync 30 to smooth out problems with sound drivers which do not implement a perfect audio delay measurement. With this value, if large A/V sync offsets occur, they will only take about 1 or 2 seconds to settle out. This delay in reaction time to sudden A/V offsets should be the only side-effect of turning this option on, for all sound drivers. . .TP .B \-benchmark Prints some statistics on CPU usage and dropped frames at the end of playback. Use in combination with \-nosound and \-vo null for benchmarking only the video codec. .br .I NOTE: With this option MPlayer will also ignore frame duration when playing only video (you can think of that as infinite fps). . .TP .B \-colorkey Changes the colorkey to an RGB value of your choice. 0x000000 is black and 0xffffff is white. Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix, xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output drivers. . .TP .B \-nocolorkey Disables colorkeying. Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix, xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output drivers. . .TP .B \-crash-debug (DEBUG CODE) Automatically attaches gdb upon crash or SIGTRAP. Support must be compiled in by configuring with --enable-crash-debug or by having a .developer file in the source tree. . .TP .B \-edlout (EDL only) Creates a new file and writes edit decision list (EDL) records to that file. During playback, when the user hits 'i', an entry to skip over the last two seconds of playback will be written to the file. This provides a starting point from which the user can fine-tune EDL entries later. See DOCS/\:HTML/\:en/\:edl.html for details. . .TP .B \-enqueue (GUI only) Enqueue files given on the command line in the playlist instead of playing them immediately. . .TP .B \-fixed-vo Enforces a fixed video system for multiple files (one (un)initialization for all files). Therefore only one window will be opened for all files. Currently the following drivers are fixed-vo compliant: gl, gl2, mga, svga, x11, xmga, xv, xvidix and dfbmga. . .TP .B \-framedrop (also see \-hardframedrop) Skip displaying some frames to maintain A/V sync on slow systems. Video filters are not applied to such frames. For B-frames even decoding is skipped completely. . .TP .B \-h, \-help, \-\-help Show short summary of options. . .TP .B \-hardframedrop More intense frame dropping (breaks decoding). Leads to image distortion! . .TP .B \-identify Show file parameters in an easily parseable format. Also prints more detailed information about subtitle and audio track languages and IDs. The wrapper script TOOLS/\:midentify suppresses the other MPlayer output and (hopefully) shellescapes the filenames. . .TP .B \-idle (also see \-slave) Makes MPlayer wait idly instead of quitting when there is no file to play. Mostly useful in slave mode where MPlayer can be controlled through input commands. . .TP .B \-input This option can be used to configure certain parts of the input system. Paths are relative to ~/.mplayer/. .br .I NOTE: Autorepeat is currently only supported by joysticks. .sp 1 Available commands are: .sp 1 .PD 0 .RSs .IPs conf= Specify input configuration file other than the default ~/\:.mplayer/\:input.conf. ~/\:.mplayer/\: is assumed if no full path is given. .IPs ar-delay Delay in milliseconds before we start to autorepeat a key (0 to disable). .IPs ar-rate Number of key presses to generate per second on autorepeat. .IPs keylist Prints all keys that can be bound to commands. .IPs cmdlist Prints all commands that can be bound to keys. .IPs js-dev Specifies the joystick device to use (default: /dev/\:input/\:js0). .IPs file= Read commands from the given file. Mostly useful with a FIFO. .br .I NOTE: When the given file is a FIFO MPlayer opens both ends so you can do several 'echo "seek 10" > mp_pipe' and the pipe will stay valid. .RE .PD 1 . .TP .B \-key-fifo-size <2\-65000> Specify the size of the FIFO that buffers key events (default: 10). A FIFO of size n can buffer (n-1) events. If it is too small some events may be lost (leading to "stuck mouse buttons" and similar effects). If it is too big, MPlayer may seem to hang while it processes the buffered events. To get the same behavior as before this option was introduced, set it to 2 for Linux or 1024 for Windows. . .TP .B \-lircconf (LIRC only) Specifies a configuration file for LIRC (default: ~/.lircrc). . .TP .B \-loop Loops movie playback times. 0 means forever. . .TP .B \-menu (OSD menu only) Turn on OSD menu support. . .TP .B \-menu-cfg (OSD menu only) Use an alternative menu.conf. . .TP .B \-menu-root (OSD menu only) Specify the main menu. . .TP .B \-menu-startup (OSD menu only) Display the main menu at MPlayer startup. . .TP .B \-noconsolecontrols Prevent MPlayer from reading key events from standard input. Useful when reading data from standard input. This is automatically enabled when \- is found on the command line. There are situations where you have to set it manually, e.g.\& if you open /dev/\:stdin (or the equivalent on your system), use stdin in a playlist or intend to read from stdin later on via the loadfile or loadlist slave commands. . .TP .B \-nojoystick Turns off joystick support. . .TP .B \-nolirc Turns off LIRC support. . .TP .B \-nomouseinput (X11 only) Disable mouse button press/\:release input (mozplayerxp's context menu relies on this option). . .TP .B \-nortc (RTC only) Turns off usage of the Linux RTC (realtime clock \- /dev/\:rtc) as timing mechanism. . .TP .B \-playlist Play files according to a playlist file (ASX, Winamp, SMIL, or one-file-per-line format). .br .I NOTE: This option is considered an entry so options found after it will apply only to the elements of this playlist. .br FIXME: This needs to be clarified and documented thoroughly. . .TP .B \-rtc-device Use the specified device for RTC timing. . .TP .B \-shuffle Play files in random order. . .TP .B \-skin (GUI only) Loads a skin from the directory given as parameter below the default skin directories, /usr/\:local/\:share/\:mplayer/\:Skin/\: and ~/.mplayer/\:Skin/. .sp 1 .I EXAMPLE: .PD 0 .RSs .IPs "\-skin fittyfene" Tries /usr/\:local/\:share/\:mplayer/\:Skin/\:fittyfene and afterwards ~/.mplayer/\:Skin/\:fittyfene. .RE .PD 1 . .TP .B \-slave (also see \-input) Switches on slave mode, in which MPlayer works as a backend for other programs. Instead of intercepting keyboard events, MPlayer will read commands separated by a newline (\\n) from stdin. .br .I NOTE: See \-input cmdlist for a list of slave commands and DOCS/tech/slave.txt for their description. . .TP .B \-softsleep Use high-quality software timers instead of the RTC. As precise as the RTC without requiring special privileges. Comes at the price of higher CPU consumption. . .TP .B \-sstep Skip seconds after every frame. The normal framerate of the movie is kept, so playback is accelerated. Since MPlayer can only seek to the next keyframe this may be inexact. . . . .SH "DEMUXER/STREAM OPTIONS" . .TP .B \-a52drc Select the Dynamic Range Compression level for AC3 audio streams. is a float value ranging from 0 to 1, where 0 means no compression and 1 (which is the default) means full compression (make loud passages more silent and vice versa). This option only shows an effect if the AC3 stream contains the required range compression information. . .TP .B \-aid (also see \-alang) Select audio channel (MPEG: 0\-31, AVI/\:OGM: 1\-99, ASF/\:RM: 0\-127, VOB(AC3): 128\-159, VOB(LPCM): 160\-191, MPEG-TS 17\-8190). MPlayer prints the available audio IDs when run in verbose (\-v) mode. When playing an MPEG-TS stream, MPlayer/\:MEncoder will use the first program (if present) with the chosen audio stream. . .TP .B \-alang (also see \-aid) Specify a priority list of audio languages to use. Different container formats employ different language codes. DVDs use ISO 639-1 two letter language codes, Matroska and NUT use ISO 639-2 three letter language codes while OGM uses a free-form identifier. MPlayer prints the available languages when run in verbose (\-v) mode. .sp 1 .I EXAMPLE: .PD 0 .RSs .IPs "mplayer dvd://1 \-alang hu,en" Chooses the Hungarian language track on a DVD and falls back on English if Hungarian is not available. .IPs "mplayer \-alang jpn example.mkv" Plays a Matroska file in Japanese. .RE .PD 1 . .TP .B \-audio-demuxer <[+]name> (\-audiofile only) Force audio demuxer type for \-audiofile. Use a '+' before the name to force it, this will skip some checks! Give the demuxer name as printed by \-audio-demuxer help. For backward compatibility it also accepts the demuxer ID as defined in libmpdemux/\:demuxer.h. \-audio-demuxer audio or \-audio-demuxer 17 forces MP3. . .TP .B \-audiofile Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a movie. . .TP .B \-audiofile-cache Enables caching for the stream used by \-audiofile, using the specified amount of memory. . .TP .B \-bandwidth (network only) Specify the maximum bandwidth for network streaming (for servers that are able to send content in different bitrates). Useful if you want to watch live streamed media behind a slow connection. With Real RTSP streaming, it is also used to set the maximum delivery bandwidth allowing faster cache filling and stream dumping. . .TP .B \-cache This option specifies how much memory (in kBytes) to use when precaching a file or URL. Especially useful on slow media. . .TP .B \-nocache Turns off caching. . .TP .B \-cache-min Playback will start when the cache has been filled up to of the total. . .TP .B \-cache-seek-min If a seek is to be made to a position within of the cache size from the current position, MPlayer will wait for the cache to be filled to this position rather than performing a stream seek (default: 50). . .TP .B \-cdda (CDDA only) This option can be used to tune the CD Audio reading feature of MPlayer. .sp 1 Available options are: .RSs .IPs speed= Set CD spin speed. .IPs paranoia=<0\-2> Set paranoia level. Values other than 0 seem to break playback of anything but the first track. .RSss 0: disable checking (default) .br 1: overlap checking only .br 2: full data correction and verification .REss .IPs generic-dev= Use specified generic SCSI device. .IPs sector-size= Set atomic read size. .IPs overlap= Force minimum overlap search during verification to sectors. .IPs toc-bias Assume that the beginning offset of track 1 as reported in the TOC will be addressed as LBA 0. Some Toshiba drives need this for getting track boundaries correct. .IPs toc-offset= Add sectors to the values reported when addressing tracks. May be negative. .IPs (no)skip (Never) accept imperfect data reconstruction. .RE . .TP .B \-cdrom-device Specify the CD-ROM device (default: /dev/\:cdrom). . .TP .B \-channels (also see \-af channels) Request the number of playback channels (default: 2). MPlayer asks the decoder to decode the audio into as many channels as specified. Then it is up to the decoder to fulfill the requirement. This is usually only important when playing videos with AC3 audio (like DVDs). In that case liba52 does the decoding by default and correctly downmixes the audio into the requested number of channels. To directly control the number of output channels independently of how many channels are decoded, use the channels filter. .br .I NOTE: This option is honored by codecs (AC3 only), filters (surround) and audio output drivers (OSS at least). .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs 2 stereo .IPs 4 surround .IPs 6 full 5.1 .RE .PD 1 . .TP .B \-chapter [\-] (DVD only) Specify which chapter to start playing at. Optionally specify which chapter to end playing at (default: 1). . .TP .B \-cookies (network only) Send cookies when making HTTP requests. . .TP .B \-cookies-file (network only) Read HTTP cookies from (default: ~/.mozilla/ and ~/.netscape/) and skip reading from default locations. The file is assumed to be in Netscape format. . .TP .B \-delay audio delay in seconds (positive or negative float value) .br .I NOTE: When used with MEncoder, this is not guaranteed to work correctly with \-ovc copy; use \-audio-delay instead. . .TP .B \-ignore-start Ignore the specified starting time for streams in AVI files. In MPlayer, this nullifies stream delays in files encoded with the \-audio-delay option. During encoding, this option prevents MEncoder from transferring original stream start times to the new file; the \-audio-delay option is not affected. Note that MEncoder sometimes adjusts stream starting times automatically to compensate for anticipated decoding delays, so don't use this option for encoding without testing it first. . .TP .B \-demuxer <[+]name> Force demuxer type. Use a '+' before the name to force it, this will skip some checks! Give the demuxer name as printed by \-demuxer help. For backward compatibility it also accepts the demuxer ID as defined in libmpdemux/\:demuxer.h. \-demuxer audio or \-demuxer 17 forces MP3. . .TP .B \-dumpaudio (MPlayer only) Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/\:AC3). If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream on the command line only the last one will work. . .TP .B \-dumpfile (MPlayer only) Specify which file MPlayer should dump to. Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream. . .TP .B \-dumpstream (MPlayer only) Dumps the raw stream to ./stream.dump. Useful when ripping from DVD or network. If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream on the command line only the last one will work. . .TP .B \-dumpvideo (MPlayer only) Dump raw compressed video stream to ./stream.dump (not very usable). If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream on the command line only the last one will work. . .TP .B \-dvbin (DVB only) Pass the following parameters to the DVB input module, in order to override the default ones: .sp 1 .PD 0 .RSs .IPs card=<1\-4> Specifies using card number 1\-4 (default: 1). .IPs file= Instructs MPlayer to read the channels list from . Default is ~/.mplayer/\:channels.conf.{sat,ter,cbl,atsc} (based on your card type) or ~/.mplayer/\:channels.conf as a last resort. .RE .PD 1 . .TP .B \-dvd-device (DVD only) Specify the DVD device (default: /dev/\:dvd). You can also specify a directory that contains files previously copied directly from a DVD (with e.g.\& vobcopy). Note that using \-dumpstream is usually a better way to copy DVD titles in the first place (see the examples). . .TP .B \-dvdangle (DVD only) Some DVD discs contain scenes that can be viewed from multiple angles. Here you can tell MPlayer which angles to use (default: 1). . .TP .B \-edl (EDL only) Enables edit decision list (EDL) actions during playback. Video will be skipped over and audio will be muted and unmuted according to the entries in the given file. See DOCS/\:HTML/\:en/\:edl.html for details on how to use this. . .TP .B \-forceidx Force index rebuilding. Useful for files with broken index (A/V desync, etc). This will enable seeking in files where seeking was not possible. You can fix the index permanently with MEncoder (see the documentation). .br .I NOTE: This option only works if the underlying media supports seeking (i.e.\& not with stdin, pipe, etc). . .TP .B \-fps Override video framerate. Useful if the original value is wrong or missing. . .TP .B \-frames Play/\:convert only first frames, then quit. . .TP .B \-hr-mp3-seek (MP3 only) Hi-res MP3 seeking. Enabled when playing from an external MP3 file, as we need to seek to the very exact position to keep A/V sync. Can be slow especially when seeking backwards since it has to rewind to the beginning to find an exact frame position. . .TP .B \-idx (also see \-forceidx) Rebuilds index of files if no index was found, allowing seeking. Useful with broken/\:incomplete downloads, or badly created files. .br .I NOTE: This option only works if the underlying media supports seeking (i.e.\& not with stdin, pipe, etc). . .TP .B \-ipv4-only-proxy (network only) Skip the proxy for IPv6 addresses. It will still be used for IPv4 connections. . .TP .B \-loadidx The file from which to read the video index data saved by \-saveidx. This index will be used for seeking, overriding any index data contained in the AVI itself. MPlayer will not prevent you from loading an index file generated from a different AVI, but this is sure to cause unfavorable results. .br .I NOTE: This option is obsolete now that MPlayer has OpenDML support. . .TP .B \-mc maximum A-V sync correction per frame (in seconds) . .TP .B \-mf Used when decoding from multiple PNG or JPEG files. .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs w= output width (default: autodetect) .IPs h= output height (default: autodetect) .IPs fps= output fps (default: 25) .IPs type= input file type (available: jpeg, png, tga, sgi) .RE .PD 1 . .TP .B \-ni (AVI only) Force usage of non-interleaved AVI parser (fixes playback of some bad AVI files). . .TP .B \-nobps (AVI only) Do not use average byte/\:second value for A-V sync. Helps with some AVI files with broken header. . .TP .B \-noextbased Disables extension-based demuxer selection. By default, when the file type (demuxer) cannot be detected reliably (the file has no header or it is not reliable enough), the filename extension is used to select the demuxer. Always falls back on content-based demuxer selection. . .TP .B \-passwd (also see \-user) (network only) Specify password for HTTP authentication. . .TP .B \-prefer-ipv4 (network only) Use IPv4 on network connections. Falls back on IPv6 automatically. . .TP .B \-prefer-ipv6 (IPv6 network only) Use IPv6 on network connections. Falls back on IPv4 automatically. . .TP .B \-rawaudio This option lets you play raw audio files. You have to use \-demuxer rawaudio as well. It may also be used to play audio CDs which are not 44kHz 16-bit stereo. For playing raw AC3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio. .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs channels= number of channels .IPs rate= rate in samples per second .IPs samplesize= sample size in bytes .IPs bitrate= bitrate for rawaudio files .IPs format= fourcc in hex .RE .PD 1 . .TP .B \-rawvideo This option lets you play raw video files. You have to use \-demuxer rawvideo as well. .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs fps= rate in frames per second (default: 25.0) .IPs sqcif|qcif|cif|4cif|pal|ntsc set standard image size .IPs w= image width in pixels .IPs h= image height in pixels .IPs i420|yv12|yuy2|y8 set colorspace .IPs format= colorspace (fourcc) in hex .IPs size= frame size in Bytes .REss .sp 1 .RS .I EXAMPLE: .RE .PD 0 .RSs .IPs "mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif" Play the famous "foreman" sample video. .IPs "mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576" Play a raw YUV sample. .RE .PD 1 . .TP .B \-rtsp-port (LIVE555 only) Used with 'rtsp://' URLs to force the client's port number. This option may be useful if you are behind a router and want to forward the RTSP stream from the server to a specific client. . .TP .B \-rtsp-stream-over-tcp (LIVE555 only) Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCP packets be streamed over TCP (using the same TCP connection as RTSP). This option may be useful if you have a broken internet connection that does not pass incoming UDP packets (see http://www.live555.com/\:mplayer/). . .TP .B \-saveidx Force index rebuilding and dump the index to . Currently this only works with AVI files. .br .I NOTE: This option is obsolete now that MPlayer has OpenDML support. . .TP .B \-sb (also see \-ss) Seek to byte position. Useful for playback from CD-ROM images or VOB files with junk at the beginning. . .TP .B \-speed <0.01\-100> Slow down or speed up playback by the factor given as parameter. Not guaranteed to work correctly with \-oac copy. . .TP .B \-srate Selects the output sample rate to be used (of course sound cards have limits on this). If the sample frequency selected is different from that of the current media, the resample or lavcresample audio filter will be inserted into the audio filter layer to compensate for the difference. The type of resampling can be controlled by the \-af-adv option. The default is fast resampling that may cause distortion. . .TP .B \-ss