|
mplayer − movie player |
|
mplayer [options]
[file|URL|playlist|−] |
|
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. 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, Hauppauge PVR (IVTV), DXR2 and DXR3/Hollywood+. Most of them support software or hardware scaling, so you can enjoy movies in fullscreen mode. 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). 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. gmplayer is MPlayer with a graphical user interface. It has the same options as MPlayer. Usage examples to get you started quickly can be found at the end of this man page. Also see the HTML documentation! |
|
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. |
|
keyboard control |
|
<− and −> |
|
Seek backward/forward 10 seconds. |
|
up and down |
|
Seek forward/backward 1 minute. |
|
pgup and pgdown |
|
Seek forward/backward 10 minutes. |
|
[ and ] |
|
Decrease/increase current playback speed by 10%. |
|
{ and } |
|
Halve/double current playback speed. |
|
backspace |
|
Reset playback speed to normal. |
|
< and > |
|
Go backward/forward in the playlist. |
|
ENTER |
|
Go forward in the playlist, even over the end. |
|
HOME and END |
|
next/previous playtree entry in the parent list |
|
INS and DEL (ASX playlist only) |
|
next/previous alternative source. |
|
p / SPACE |
|
Pause (pressing again unpauses). |
|
. |
|
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). |
|
q / ESC |
|
Stop playing and quit. |
|
+ and - |
|
Adjust audio delay by +/- 0.1 seconds. |
|
/ and * |
|
Decrease/increase volume. |
|
9 and 0 |
|
Decrease/increase volume. |
|
( and ) |
|
Adjust audio balance in favor of left/right channel. |
|
m |
|
Mute sound. |
|
_ (MPEG-TS, AVI and libavformat only) |
|
Cycle through the available video tracks. |
|
# (DVD, MPEG, Matroska, AVI and libavformat only) |
|
Cycle through the available audio tracks. |
|
TAB (MPEG-TS only) |
|
Cycle through the available programs. |
|
f |
|
Toggle fullscreen (also see −fs). |
|
T |
|
Toggle stay-on-top (also see −ontop). |
|
w and e |
|
Decrease/increase pan-and-scan range. |
|
o |
|
Toggle OSD states: none / seek / seek + timer / seek + timer + total time. |
|
d |
|
Toggle frame dropping states: none / skip display / skip decoding (see −framedrop and −hardframedrop). |
|
v |
|
Toggle subtitle visibility. |
|
j |
|
Cycle through the available subtitles. |
|
y and g |
|
Step forward/backward in the subtitle list. |
|
F |
|
Toggle displaying "forced subtitles". |
|
a |
|
Toggle subtitle alignment: top / middle / bottom. |
|
x and z |
|
Adjust subtitle delay by +/- 0.1 seconds. |
|
r and t |
|
Move subtitles up/down. |
|
i (−edlout mode only) |
|
Set start or end of an EDL skip and write it out to the given file. |
|
s (−vf screenshot only) |
|
Take a screenshot. |
|
S (−vf screenshot only) |
|
Start/stop taking screenshots. |
|
I |
|
Show filename on the OSD. |
|
! and @ |
|
Seek to the beginning of the previous/next chapter. |
|
D (−vo xvmc, −vf yadif, −vf kerndeint only) |
|
Activate/deactivate deinterlacer. |
|
(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).) |
|
1 and 2 |
|
Adjust contrast. |
|
3 and 4 |
|
Adjust brightness. |
|
5 and 6 |
|
Adjust hue. |
|
7 and 8 |
|
Adjust saturation. |
|
(The following keys are valid only when using the quartz or macosx video output driver.) |
|
command + 0 |
|
Resize movie window to half its original size. |
|
command + 1 |
|
Resize movie window to its original size. |
|
command + 2 |
|
Resize movie window to double its original size. |
|
command + f |
|
Toggle fullscreen (also see −fs). |
|
command + [ and command + ] |
|
Set movie window alpha. |
|
(The following keys are valid only when using the sdl video output driver.) |
|
c |
|
Cycle through available fullscreen modes. |
|
n |
|
Restore original mode. |
|
(The following keys are valid if you have a keyboard with multimedia keys.) |
|
PAUSE |
|
Pause. |
|
STOP |
|
Stop playing and quit. |
|
PREVIOUS and NEXT |
|
Seek backward/forward 1 minute. |
|
(The following keys are only valid if GUI support is compiled in and will take precedence over the keys defined above.) |
|
ENTER |
|
Start playing. |
|
ESC |
|
Stop playing. |
|
l |
|
Load file. |
|
t |
|
Load subtitle. |
|
c |
|
Open skin browser. |
|
p |
|
Open playlist. |
|
r |
|
Open preferences. |
|
(The following keys are only valid if you compiled with TV or DVB input support and will take precedence over the keys defined above.) |
|
h and k |
|
Select previous/next channel. |
|
n |
|
Change norm. |
|
u |
|
Change channel list. |
|
(The following keys are only valid if you compiled with dvdnav support: They are used to navigate the menus.) |
|
keypad 8 |
|
Select button up. |
|
keypad 2 |
|
Select button down. |
|
keypad 4 |
|
Select button left. |
|
keypad 6 |
|
Select button right. |
|
keypad 5 |
|
Return to main menu. |
|
keypad 7 |
|
Return to nearest menu (the order of preference is: chapter->title->root). |
|
keypad ENTER |
|
Confirm choice. |
|
(The following keys are only valid if teletext support is enabled during compilation: They are used for controlling TV teletext.) |
|
X |
Switch teletext on/off. |
|
Q and W |
|
Go to next/prev teletext page. |
|
mouse control |
|
button 3 and button 4 |
|
Seek backward/forward 1 minute. |
|
button 5 and button 6 |
|
Decrease/increase volume. |
|
joystick control |
|
left and right |
|
Seek backward/forward 10 seconds. |
|
up and down |
|
Seek forward/backward 1 minute. |
|
button 1 |
|
Pause. |
|
button 2 |
|
Toggle OSD states: none / seek / seek + timer / seek + timer + total time. |
|
button 3 and button 4 |
|
Decrease/increase volume. |
|
Every ’flag’ option has a ’noflag’ counterpart, e.g. the opposite of the −fs option is −nofs. If an option is marked as (XXX only), it will only work in combination with the XXX option or if XXX is compiled in. NOTE: The suboption parser (used for example for
−ao pcm suboptions) supports a special kind of
string-escaping intended for use with external GUIs. |
|
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.conf. User specific options override system-wide options and options given on the command line override either. The syntax of the configuration files is ’option=<value>’, 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. 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/. You can also put the configuration file in the same directory as the file to be played, as long as you give the −use-filedir-conf option (either on the command line or in your global config file). EXAMPLE MPLAYER CONFIGURATION FILE: # 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 EXAMPLE MENCODER CONFIGURATION FILE: # 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 |
|
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. EXAMPLE MENCODER PROFILE: [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 |
|
−codecs-file <filename> (also see −afm, −ac, −vfm, −vc) |
|
Override the standard search path and use the specified file instead of the builtin codecs.conf. |
|
−include <configuration file> |
|
Specify configuration file to be parsed after the default ones. |
|
−list-options |
|
Prints all available options. |
|
−msgcharset <charset> |
|
Convert console messages to the specified character set
(default: autodetect). Text will be in the encoding
specified with the −−charset configure option.
Set this to "noconv" to disable conversion (for
e.g. iconv problems). |
|
−msglevel <all=<level>:<module>=<level>:...> |
|
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. |
|
-1 |
complete silence |
|||
|
0 |
fatal messages only |
|||
|
1 |
error messages |
|||
|
2 |
warning messages |
|||
|
3 |
short hints |
|||
|
4 |
informational messages |
|||
|
5 |
status messages (default) |
|||
|
6 |
verbose messages |
|||
|
7 |
debug level 2 |
|||
|
8 |
debug level 3 |
|||
|
9 |
debug level 4 |
|
−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). |
|
−priority <prio> (Windows only) |
|
Set process priority for MPlayer according to the predefined priorities available under Windows. Possible values of <prio>: |
|
idle|belownormal|normal|abovenormal|high|realtime |
|
WARNING: Using realtime priority can cause system lockup. |
|
−profile <profile1,profile2,...> |
|
Use the given profile(s), −profile help displays a list of the defined profiles. |
|
−really-quiet (also see −quiet) |
|
Display even less output and status messages than with −quiet. Also suppresses the GUI error message boxes. |
|
−show-profile <profile> |
|
Show the description and content of a profile. |
|
−use-filedir-conf |
|
Look for a file-specific configuration file in the same
directory as the file that is being played. |
|
−v |
|
Increment verbosity level, one level for each −v found on the command line. |
|
−autoq <quality> (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. |
|
−autosync <factor> |
|
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. |
|
−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. |
|
−colorkey <number> |
|
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. |
|
−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. |
|
−correct-pts (experimental) |
|
Switches MPlayer to an experimental mode where timestamps for video frames are calculated differently and video filters which add new frames or modify timestamps of existing ones are supported. The more accurate timestamps can be visible for example when playing subtitles timed to scene changes with the −ass option. Without −correct-pts the subtitle timing will typically be off by some frames. This option does not work correctly with some demuxers and codecs. |
|
−crash-debug (DEBUG CODE) |
|
Automatically attaches gdb upon crash or SIGTRAP. Support must be compiled in by configuring with −−enable-crash-debug. |
|
−doubleclick-time |
|
Time in milliseconds to recognize two consecutive button
presses as a double-click (default: 300). Set to 0 to let
your windowing system decide what a double-click is
(−vo directx only). |
|
−edlout <filename> |
|
Creates a new file and writes edit decision list (EDL) records to it. During playback, the user hits ’i’ to mark the start or end of a skip block. This provides a starting point from which the user can fine-tune EDL entries later. See http://www.mplayerhq.hu/DOCS/HTML/en/edl.html for details. |
|
−enqueue (GUI only) |
|
Enqueue files given on the command line in the playlist instead of playing them immediately. |
|
−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. |
|
−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. |
|
−(no)gui |
|
Enable or disable the GUI interface (default depends on binary name). Only works as the first argument on the command line. Does not work as a config-file option. |
|
−h, −help, −−help |
|
Show short summary of options. |
|
−hardframedrop |
|
More intense frame dropping (breaks decoding). Leads to image distortion! |
|
−identify |
|
Shorthand for −msglevel identify=4. Show file parameters in an easily parseable format. Also prints more detailed information about subtitle and audio track languages and IDs. In some cases you can get more information by using −msglevel identify=6. For example, for a DVD it will list the time length of each title, as well as a disk ID. The wrapper script TOOLS/midentify suppresses the other MPlayer output and (hopefully) shellescapes the filenames. |
|
−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. |
|
−input <commands> |
|
This option can be used to configure certain parts of the
input system. Paths are relative to ~/.mplayer/. Available commands are: |
|
conf=<filename> |
|
Specify input configuration file other than the default ~/.mplayer/input.conf. ~/.mplayer/<filename> is assumed if no full path is given. |
|
ar-delay |
|
Delay in milliseconds before we start to autorepeat a key (0 to disable). |
|
ar-rate |
|
Number of key presses to generate per second on autorepeat. |
|
keylist |
|
Prints all keys that can be bound to commands. |
|
cmdlist |
|
Prints all commands that can be bound to keys. |
|
js-dev |
|
Specifies the joystick device to use (default: /dev/ input/js0). |
|
file=<filename> |
|
Read commands from the given file. Mostly useful with a
FIFO. |
|
−key-fifo-size <2−65000> |
|
Specify the size of the FIFO that buffers key events (default: 7). 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. |
|
−lircconf <filename> (LIRC only) |
|
Specifies a configuration file for LIRC (default: ~/.lircrc). |
|
−list-properties |
|
Print a list of the available properties. |
|
−loop <number> |
|
Loops movie playback <number> times. 0 means forever. |
|
−menu (OSD menu only) |
|
Turn on OSD menu support. |
|
−menu-cfg <filename> (OSD menu only) |
|
Use an alternative menu.conf. |
|
−menu-chroot <path> (OSD menu only) |
|
Chroot the file selection menu to a specific location. EXAMPLE: |
|
−menu-chroot=/home |
|
Will restrict the file selection menu to /home and downward (i.e. no access to / will be possible, but /home/user_name will). |
|
−menu-keepdir (OSD menu only) |
|
File browser starts from the last known location instead of current directory. |
|
−menu-root <value> (OSD menu only) |
|
Specify the main menu. |
|
−menu-startup (OSD menu only) |
|
Display the main menu at MPlayer startup. |
|
−mouse-movements |
|
Permit MPlayer to receive pointer events reported by the video output driver (currently only derivatives of X11 are supported). Necessary to select the buttons in DVD menus. |
|
−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. |
|
−nojoystick |
|
Turns off joystick support. |
|
−nolirc |
|
Turns off LIRC support. |
|
−nomouseinput |
|
Disable mouse button press/release input (mozplayerxp’s context menu relies on this option). |
|
−rtc (RTC only) |
|
Turns on usage of the Linux RTC (realtime clock − /dev/rtc) as timing mechanism. This wakes up the process every 1/1024 seconds to check the current time. Useless with modern Linux kernels configured for desktop use as they already wake up the process with similar accuracy when using normal timed sleep. |
|
−playing-msg <string> |
|
Print out a string before starting playback. The following expansions are supported: |
|
${NAME} |
|
Expand to the value of the property NAME. |
|
$(NAME:TEXT) |
|
Expand TEXT only if the property NAME is available. |
|
−playlist <filename> |
|
Play files according to a playlist file (ASX, Winamp,
SMIL, or one-file-per-line format). |
|
−rtc-device <device> |
|
Use the specified device for RTC timing. |
|
−shuffle |
|
Play files in random order. |
|
−skin <name> (GUI only) |
|
Loads a skin from the directory given as parameter below the default skin directories, /usr/local/share/mplayer/skins/ and ~/.mplayer/skins/. EXAMPLE: |
|
−skin fittyfene |
|
Tries /usr/local/share/mplayer/skins/fittyfene and afterwards ~/.mplayer/skins/fittyfene. |
|
−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. |
|
−softsleep |
|
Time frames by repeatedly checking the current time instead of asking the kernel to wake up MPlayer at the correct time. Useful if your kernel timing is imprecise and you cannot use the RTC either. Comes at the price of higher CPU consumption. |
|
−sstep <sec> |
|
Skip <sec> 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. |
|
−a52drc <level> |
|
Select the Dynamic Range Compression level for AC-3 audio streams. <level> 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 AC-3 stream contains the required range compression information. |
|
−aid <ID> (also see −alang) |
|
Select audio channel (MPEG: 0−31, AVI/OGM: 1−99, ASF/RM: 0−127, VOB(AC-3): 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. |
|
−alang <language code[,language code,...]> (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, MPEG-TS 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. EXAMPLE: |
|
mplayer dvd://1 −alang hu,en |
|
Chooses the Hungarian language track on a DVD and falls back on English if Hungarian is not available. |
|
mplayer −alang jpn example.mkv |
|
Plays a Matroska file in Japanese. |
|
−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. |
|
−audiofile <filename> |
|
Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a movie. |
|
−audiofile-cache <kBytes> |
|
Enables caching for the stream used by −audiofile, using the specified amount of memory. |
|
−reuse-socket (udp:// only) |
|
Allows a socket to be reused by other processes as soon as it is closed. |
|
−bandwidth <value> (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. |
|
−cache <kBytes> |
|
This option specifies how much memory (in kBytes) to use when precaching a file or URL. Especially useful on slow media. |
|
−nocache |
|
Turns off caching. |
|
−cache-min <percentage> |
|
Playback will start when the cache has been filled up to <percentage> of the total. |
|
−cache-seek-min <percentage> |
|
If a seek is to be made to a position within <percentage> 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). |
|
−cdda <option1:option2> (CDDA only) |
|
This option can be used to tune the CD Audio reading feature of MPlayer. Available options are: |
|
speed=<value> |
|
Set CD spin speed. |
|
paranoia=<0−2> |
|
Set paranoia level. Values other than 0 seem to break playback of anything but the first track. |
|
0: disable checking (default) |
|
generic-dev=<value> |
|
Use specified generic SCSI device. |
|
sector-size=<value> |
|
Set atomic read size. |
|
overlap=<value> |
|
Force minimum overlap search during verification to <value> 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=<value> |
|
Add <value> sectors to the values reported when addressing tracks. May be negative. |
|
(no)skip |
|
(Never) accept imperfect data reconstruction. |
|
−cdrom-device <path to device> |
|
Specify the CD-ROM device (default: /dev/cdrom). |
|
−channels <number> (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 AC-3 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. Available options are: |
|
2 |
stereo |
|||
|
4 |
surround |
|||
|
6 |
full 5.1 |
|
−chapter <chapter ID>[−<endchapter ID>] (dvd:// and dvdnav:// only) |
|
Specify which chapter to start playing at. Optionally specify which chapter to end playing at (default: 1). |
|
−cookies (network only) |
|
Send cookies when making HTTP requests. |
|
−cookies-file <filename> (network only) |
|
Read HTTP cookies from <filename> (default: ~/.mozilla/ and ~/.netscape/) and skip reading from default locations. The file is assumed to be in Netscape format. |
|
−delay <sec> |
|
audio delay in seconds (positive or negative float
value) |
|
−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 do not use this option for encoding without testing it first. |
|
−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. |
|
−dumpaudio (MPlayer only) |
|
Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/AC-3, in most other cases the resulting file will not be playable). If you give more than one of −dumpaudio, −dumpvideo, −dumpstream on the command line only the last one will work. |
|
−dumpfile <filename> (MPlayer only) |
|
Specify which file MPlayer should dump to. Should be used together with −dumpaudio / −dumpvideo / −dumpstream. |
|
−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. |
|
−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. |
|
−dvbin <options> (DVB only) |
|
Pass the following parameters to the DVB input module, in order to override the default ones: |
|
card=<1−4> |
|
Specifies using card number 1−4 (default: 1). |
|
file=<filename> |
|
Instructs MPlayer to read the channels list from <filename>. Default is ~/.mplayer/ channels.conf.{sat,ter,cbl,atsc} (based on your card type) or ~/.mplayer/channels.conf as a last resort. |
|
timeout=<1−30> |
|
Maximum number of seconds to wait when trying to tune a frequency before giving up (default: 30). |
|
−dvd-device <path to 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). |
|
−dvd-speed <factor or speed in KB/s> (DVD only) |
|
Try to limit DVD speed (default: 0, no change). DVD base
speed is about 1350KB/s, so a 8x drive can read at speeds up
to 10800KB/s. Slower speeds make the drive more quiet, for
watching DVDs 2700KB/s should be quiet and fast enough.
MPlayer resets the speed to the drive default value on
close. Values less than 100 mean multiples of 1350KB/s, i.e.
−dvd-speed 8 selects 10800KB/s. |
|
−dvdangle <angle ID> (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). |
|
−edl <filename> |
|
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 http://www.mplayerhq.hu/DOCS/HTML/en/edl.html for details on how to use this. |
|
−endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see −ss and −sb) |
|
Stop at given time or byte position. EXAMPLE: |