.\" MPlayer (C) 2000-2002 Arpad Gereoffy .\" This man page was/is done by Gabucino .\" (Patches done by Jonas Jermann ) .\" .TH "MPlayer" "1" "2002-08-28" .SH "NAME" mplayer \- Movie Player for Linux .br mencoder \- Movie Encoder for Linux .SH "SYNOPSIS" .B mplayer .RB [options]\ [\fIfile\fP\ |\ \fIURL\fP\ |\ \fIplaylist\fP\ |\ \-\ ] .br .B mplayer .RB [global\ options]\ \fIfile1\fP\ [specific\ options]\ [file2]\ [specific\ options] .br .B mplayer .RB [global\ options]\ {\fIgroup\ of\ files\ and\ options\fP}\ [group\ specific\ options] .br .B mplayer .RB [dvd|vcd|cdda|cddb|tv]://[title]\ [options] .br .B mplayer .RB [mms|mmst|http|http_proxy|rtp|rtsp]://[user:passwd@]URL[:port]\ [options] .br .B mencoder .RB [options]\ [\fIfile\fP\ |\ \fIURL\fP\ |\ \-\ ]\ [\-o\ file] .br .B gmplayer .RB [options]\ [\-skin\ skin] .SH "DESCRIPTION" .B mplayer is a movie player for LINUX (runs on many other Unices, and non\-x86 CPUs, see the documentation). It plays most MPEG/VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too (without the avifile library). Another great feature of mplayer is the wide range of supported output drivers. It works with X11, XV, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you can use GGI, SDL (and this way all their drivers), VESA (on every VESA compatible card, even without X11!) and some low level card-specific drivers (for Matrox, 3Dfx and ATI), too! .br Most of them support software or hardware scaling, so you can enjoy movies in fullscreen. MPlayer supports displaying through some hardware MPEG decoder boards, such as the Siemens DVB, DXR2 and DXR3/Hollywood+! MPlayer has an onscreen display (OSD) for status information, nice big antialiased shaded subtitles and visual feedback for keyboard controls. European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic and Korean fonts are supported along with 9 subtitle formats (MicroDVD, SubRip, SubViewer, Sami, VPlayer, RT, SSA, AQTitle and our own: MPsub). DVD subtitles (SPU streams, VobSub and Closed Captions) are supported. .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 DivX4 (1, 2 or 3 passes), XviD, codecs of libavcodec, PCM/MP3/VBRMP3 audio. It also has stream copying abilities, a powerful plugin system (crop, expand, flip, postprocess, rotate, scale, add/remove noise, rgb/yuv conversion) and more. .B gmplayer is MPlayer with a graphical user interface. It has the same options as MPlayer. .SH GENERAL NOTES .B Check the HTML documentation, too! .br Every "flag" option has a "noflag" counterpart, e.g. the opposite of the \-fs option is \-nofs. .br You can put all of the options in a config file which will be read every time .B mplayer is run. The system-wide config file 'mplayer.conf' is in your configuration directory (e.g. /etc/mplayer or /usr/local/etc/mplayer), the user specific one is '~/.mplayer/config'. User specific options override system-wide options and options given on the command line override either. The syntax of the config 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' and disabled by setting them to 'no' or '0'. Even suboptions can be specified in this way. .I EXAMPLE: .br # Use Matrox driver by default. .br vo=xmga .br # I love practicing handstands while watching videos. .br flip=yes # Always encode/decode multiple files from png with 25fps, start it with -mf on .br mf= type=png:fps=25 .SH "DEMUXER/STREAM OPTIONS" .TP .B \-aid (also see \-alang option) Select audio channel [MPG/SUB: 0\-31 AVI/OGM: 1\-99 ASF/RM: 0\-127 VOB: 128\-159 LPCM: 160\-191] .TP .B \-alang (also see \-aid option) Works only for DVD playback! Selects DVD audio language. It always tries to play audio streams whose language matches the given code. For the list of available languages, use with the \-v switch and look at the output. .I EXAMPLE: \-alang hu,en Plays Hungarian and falls back to English if Hungarian is not available. .TP .B \-audio\-demuxer (\-audiofile only) Force audio demuxer type for \-audiofile. Give the demuxer ID as defined in demuxers.h. Use \-audio\-demuxer 17 to force .mp3 detection. .TP .B \-audiofile Play audio from an external file (WAV, MP3 or Ogg Vorbis). .TP .B \-cdrom\-device Override default CDROM drive name /dev/cdrom. .TP .B \-cache This option specifies how much memory (in kbytes) to use when precaching a file/URL. Especially useful on slow media (default is \-nocache). .TP .B \-cdda This option can be used to tune the CD Audio reading feature of MPlayer. Available options are: speed= set CD spin speed paranoia= set paranoia level (0-2) 0: disable checking 1: overlap checking only (default) 2: full data correction and verification generic-dev= use specified generic SCSI device sector-size= atomic read size overlap= force minimum overlap search during verification to sectors. 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. toc-offset= Add sectors to the values reported when addressing tracks. May be negative. (no)skip (never) accept imperfect data reconstruction. .TP .B \-chapter [-] Specify which chapter to start playing at. Optionally specify which chapter to end playing at (default: 1). Examples can be found below. .TP .B \-csslib (old-style DVD option) This option is used to override the default location of libcss.so. .TP .B \-demuxer Force demuxer type. Give the demuxer ID as defined in demuxers.h. Use \-demuxer 17 to force .mp3 detection. .TP .B \-dumpaudio (MPLAYER only) Dumps raw compressed audio stream to ./stream.dump (useful with mpeg/ac3). .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. .TP .B \-dumpsub (MPLAYER only) Dumps the subtitle substream from VOB streams. .TP .B \-dumpvideo (MPLAYER only) Dump raw compressed video stream to ./stream.dump (not very usable). .TP .B \-dvd Tell MPlayer which movies (specified by title id) to play. For example sometimes '1' is a trailer, and '2' is the real movie. .br .I NOTE: Sometimes deinterlacing is required for DVD playback, see the \-pp 0x20000 or \-npp lb options. .TP .B \-dvd\-device Override default DVD device name /dev/dvd. .TP .B \-dvdangle Some DVD discs contain scenes that can be viewed from multiple angles. Here you can tell MPlayer which angles to use (default: 1). Examples can be found below. .TP .B \-dvdauth (old-style DVD option) Turns on DVD authentication using the given device. .TP .B \-dvdkey (old-style DVD option) When decoding a VOB file copied undecrypted from DVD, this option gives the CSS key needed to decrypt the VOB (the key is printed when authenticating with the DVD drive using \-dvdauth). .TP .B \-dvdnav (BETA CODE) Force usage of libdvdnav. .TP .B \-forceidx Force rebuilding of INDEX. Useful for files with broken index (desyncs, etc). Seeking will be possible. You can fix the index permanently with MEncoder (see the documentation). .TP .B \-fps Override video framerate (if value is wrong/missing in the header) (float number). .TP .B \-frames Play/convert only first frames, then quit. .TP .B \-hr\-mp3\-seek (.MP3 only) Hi\-res mp3 seeking. Default is: enabled when playing from external MP3 file, as we need to seek to the very exact position to keep A/V sync. It can be slow especially when seeking backwards \- it has to rewind to the beginning to find the exact frame. .TP .B \-idx (also see \-forceidx) Rebuilds INDEX of the AVI if no INDEX was found, thus allowing seeking. Useful with broken/incomplete downloads, or badly created AVIs. .TP .B \-mc Maximum A-V sync correction per frame (in seconds). .TP .B \-mf Used when decoding from multiple PNG or JPEG files (see documentation). Available options are: on turns on multifile support w= width of the output (autodetect) h= height of the output (autodetect) fps= fps of the output (default: 25) type= type of input files (available types: jpeg, png) .TP .B \-ni (.AVI only) Force usage of non\-interleaved AVI parser (fixes playing of some bad AVI files). .TP .B \-nobps (.AVI only) Do not use average byte/sec value for A\-V sync (AVI). Helps with some AVI files with broken header. .TP .B \-passwd (see \-user option too!) Specify password for http authentication. .TP .B \-rawaudio This option lets you play raw audio files. It may also be used to play audio CDs which are not 44KHz 16Bit stereo. Available options are: on use raw audio demuxer channels= number of channels rate= rate in samples per second samplesize= sample size in byte format= fourcc in hex .TP .B \-skipopening Skip DVD opening (dvdnav only). .TP .B \-sb (see \-ss option too!) Seek to byte position. Useful for playback from CDROM images / vob files with junk at the beginning. .TP .B \-srate Forces the given audio playback rate, changing video speed to keep a-v sync. MEncoder passes this value to lame for resampling. .TP .B \-ss