.\" $Revision$ .\" MPlayer (C) 2000-2005 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 "2005-01-13" "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[: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 [ mms[t] | http | http_proxy | rt[s]p | ftp | udp] :// [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 [options] [\-skin\ skin] . .br .B mencoder [options] .RI [ \ file\ | \ URL\ | \ \-\ ] [\-o\ file] .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 VideoCD, 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, 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/\:ISO 8859-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! . . .\" -------------------------------------------------------------------------- .\" Keyboard control .\" -------------------------------------------------------------------------- . .SH "KEYBOARD 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 general control .PD 0 .RSs .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 ]" Decreases/increases current playback speed by 10%. .IPs "{ and }" Halves/doubles current playback speed. .IPs "Backspace" Reset playback speed to normal. .IPs "< and >" backward/\:forward in playlist .IPs "HOME and END" next/\:previous playtree entry in the parent list .IPs "INS and DEL" next/\:previous alternative source (ASX playlist only) .IPs "p / SPACE" Pause movie (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 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. .IP F\ \ \ \ Toggle displaying "forced subtitles". .IPs a\ \ \ \ Toggle subtitle aligment: top/\:middle/\:bottom. .IPs "z and x" Adjust subtitle delay by +/\:- 0.1 seconds. .IPs "r and t" Move subtitles up/\:down. .IPs i\ \ \ \ Set EDL mark. .RE .PD 1 .PP (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). .PP .PD 0 .RSs .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 (The following keys are valid only when using the quartz video output driver.) .PP .PD 0 .RSs .IPs "option + 0" Resize movie window to half its original size. .IPs "option + 1" Resize movie window to its original size. .IPs "option + 2" Resize movie window to double its original size. .IPs "option + f" Toggle fullscreen (also see \-fs). .IPs "option + [ and option + ]" Set movie window alpha. .IPs T\ \ \ \ Toggle video layer: ontop/\:below/\:normal (also see \-ontop). .RE .PD 1 . .TP .B GUI keyboard control .PD 0 .RSs .IPs ENTER Start playing. .IPs s\ \ \ \ Stop playing. .IPs l\ \ \ \ Load file. .IPs c\ \ \ \ Skin browser. .IPs p\ \ \ \ Toggle playlist. .RE .PD 1 . .TP .B TV input control .PD 0 .RSs .IPs "h and k" Select previous/\:next channel. .IPs n\ \ \ \ Change norm. .IPs u\ \ \ \ Change channel list. .RE .PD 1 . . .\" -------------------------------------------------------------------------- .\" Options .\" -------------------------------------------------------------------------- . .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 You can put all of the options in a configuration file which will be read every time MPlayer 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'. 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: .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 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. . . . .SH "GENERAL OPTIONS" . .TP .B \-codecs-file (also see \-afm, \-ac, \-vfm, \-vc) Use the specified file instead of system wide installed or builtin codecs.conf. . .TP .B \-include Specify configuration file to be parsed after the default ones. . .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 \-v, \-verbose Increment verbose level (more \-v means more verbosity). .PD 0 .RSs .IPs 0 only some informational output (default) .IPs 1 some basic debug infos, avi header, function values (init debug) .IPs 2 print avi indexes, chunk inputs, more debug infos (player debug) .IPs 3 prints everything related to input parsers (parser debug) .RE .PD 1 . . . .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) and xvmc (see \-vo xv:ck) 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 \-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 \-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 (BETA CODE!) Enforces a fixed video system for multiple files (one (un)initialisation 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 \-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 msec 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 behaviour 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 \-list-options Prints all available options. . .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 \-really-quiet (also see \-quiet) Display even less output and status messages than with \-quiet. . .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 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 (\-audiofile only) Force audio demuxer type for \-audiofile. Give the demuxer ID as defined in libmpdemux/\:demuxer.h. \-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. . .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 \-cache-min Playback will start when the cache has been filled up to of the total. . .TP .B \-cache-prefill (not yet implemented) When the cache is emptied MPlayer will pause and restart playback when the cache prefill threshold set with this option is reached. . .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. .RSss 0: disable checking .br 1: overlap checking only (default) .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 Change the number of playback channels (default: 2). If the number of output channels is bigger than the number of input channels empty channels are inserted with the help of the channels audio filter (unless mixing from mono to stereo, then the mono channel is repeated in both output channels). The routing will be the default routing for the channels filter. If the number of output channels is smaller than the number of input channels, results depend on the audio decoder (\-afm). MPlayer asks the decoder to decode the audio into as many channels as specified. Now it's up to the decoder to fulfill the requirement. If the decoder outputs more channels than requested, the exceeding channels are truncated. 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. .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 \-demuxer Force demuxer type. Give the demuxer ID as defined in libmpdemux/\:demuxer.h. \-demuxer 17 forces MP3. . .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 \-dumpvideo (MPlayer only) Dump raw compressed video stream to ./stream.dump (not very usable). . .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 \-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 won't 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. It may also be used to play audio CDs which are not 44KHz 16-bit stereo. For playing raw AC3 streams use \-rawaudio on:format=0x2000. .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs on\ \ \ Use raw audio demuxer. .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. .sp 1 Available options are: .sp 1 .PD 0 .RSs .IPs on\ \ \ Use raw video demuxer. .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 .RE .PD 1 . .TP .B \-rtsp-stream-over-tcp (live.com 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.live.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. . .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