docs: document --quvi-format
[mplayer.git] / DOCS / man / en / options.rst
blob8d2e354be2d3543ee8bae3967d057f88ce22565f
1 --a52drc=<level>
2     Select the Dynamic Range Compression level for AC-3 audio streams. <level>
3     is a float value ranging from 0 to 1, where 0 means no compression and 1
4     (which is the default) means full compression (make loud passages more
5     silent and vice versa). Values up to 2 are also accepted, but are purely
6     experimental. This option only shows an effect if the AC-3 stream contains
7     the required range compression information.
9 --abs=<value>
10     (``--ao=oss`` only) (OBSOLETE)
11     Override audio driver/card buffer size detection.
13 --ac=<[-\|+]codec1,[-\|+]codec2,...[,]>
14     Specify a priority list of audio codecs to be used, according to their
15     codec name in codecs.conf. Use a '-' before the codec name to omit it.
16     Use a '+' before the codec name to force it, this will likely crash! If
17     the list has a trailing ',' MPlayer will fall back on codecs not contained
18     in the list.
20     *NOTE*: See ``--ac=help`` for a full list of available codecs.
22     *EXAMPLE*:
24     :``--ac=mp3acm``:     Force the l3codeca.acm MP3 codec.
25     :``--ac=mad,``:       Try libmad first, then fall back on others.
26     :``--ac=hwac3,a52,``: Try hardware AC-3 passthrough, software AC-3, then
27                           others.
28     :``--ac=hwdts,``:     Try hardware DTS passthrough, then fall back on
29                           others.
30     :``--ac=-ffmp3,``:    Skip FFmpeg's MP3 decoder.
32 --adapter=<value>
33     Set the graphics card that will receive the image. You can get a list of
34     available cards when you run this option with ``-v``. Currently only works
35     with the directx video output driver.
37 --af=<filter1[=parameter1:parameter2:...],filter2,...>
38     Specify a list of audio filters to apply to the audio stream. See
39     'Audio Filters`_ for details and descriptions of the available filters.
40     The option variants ``--af-add``, ``--af-pre``, ``--af-del`` and
41     ``--af-clr`` exist to modify a previously specified list, but you
42     shouldn't need these for typical use.
44 --af-adv=<force=(0-7):list=(filters)>
45     See also ``--af``.
46     Specify advanced audio filter options:
48     force=<0-7>
49         Forces the insertion of audio filters to one of the following:
51         0
52             Use completely automatic filter insertion (currently identical to
53             1).
54         1
55             Optimize for accuracy (default).
56         2
57             Optimize for speed. *Warning*: Some features in the audio filters
58             may silently fail, and the sound quality may drop.
59         3
60             Use no automatic insertion of filters and no optimization.
61             *Warning*: It may be possible to crash MPlayer using this setting.
62         4
63             Use automatic insertion of filters according to 0 above, but use
64             floating point processing when possible.
65         5
66             Use automatic insertion of filters according to 1 above, but use
67             floating point processing when possible.
68         6
69             Use automatic insertion of filters according to 2 above, but use
70             floating point processing when possible.
71         7
72             Use no automatic insertion of filters according to 3 above, and
73             use floating point processing when possible.
75     list=<filters>
76         Same as ``--af``.
78 --afm=<driver1,driver2,...>
79     Specify a priority list of audio codec families to be used, according to
80     their codec name in codecs.conf. Falls back on the default codecs if none
81     of the given codec families work.
83     *NOTE*: See ``--afm=help`` for a full list of available codec families.
85     *EXAMPLE*:
87     :``--afm=ffmpeg``:    Try FFmpeg's libavcodec codecs first.
88     :``--afm=acm,dshow``: Try Win32 codecs first.
90 --aid=<ID>
91     Select audio channel (MPEG: 0-31, AVI/OGM: 1-99, ASF/RM: 0-127, VOB(AC-3):
92     128-159, VOB(LPCM): 160-191, MPEG-TS 17-8190). MPlayer prints the
93     available audio IDs when run in verbose (-v) mode. When playing an MPEG-TS
94     stream, MPlayer will use the first program (if present) with the chosen
95     audio stream. See also ``--alang``.
97 --alang=<languagecode[,languagecode,...]>
98     Specify a priority list of audio languages to use. Different container
99     formats employ different language codes. DVDs use ISO 639-1 two letter
100     language codes, Matroska, MPEG-TS and NUT use ISO 639-2 three letter
101     language codes while OGM uses a free-form identifier. MPlayer prints the
102     available languages when run in verbose (``-v``) mode. See also ``--aid``.
104     *EXAMPLE*:
106     ``mplayer dvd://1 --alang=hu,en``
107         Chooses the Hungarian language track on a DVD and falls back on
108         English if Hungarian is not available.
109     ``mplayer --alang=jpn example.mkv``
110         Plays a Matroska file in Japanese.
112 --ao=<driver1[:suboption1[=value]:...],driver2,...[,]>
113     Specify a priority list of audio output drivers to be used. For
114     interactive use you'd normally specify a single one to use, but in
115     configuration files specifying a list of fallbacks may make sense. See
116     `Audio Output Drivers`_ for details and descriptions of available
117     drivers.
119 --ar, --no-ar
120       Enable/disable AppleIR remote support. Enabled by default.
122 --aspect=<ratio>
123     Override movie aspect ratio, in case aspect information is incorrect or
124     missing in the file being played. See also ``--noaspect``.
126     *EXAMPLE*:
128     - ``--aspect=4:3``  or ``--aspect=1.3333``
129     - ``--aspect=16:9`` or ``--aspect=1.7777``
131 --ass, --no-ass
132     Use libass to render all text subtitles. This enables support for the
133     native styling of SSA/ASS subtitles, and also support for some styling
134     features in other subtitle formats by conversion to ASS markup. Enabled by
135     default if the player was compiled with libass support.
137     *NOTE*: Some of the other subtitle options were written for the old
138     non-libass subtitle rendering system and may not work the same way or at
139     all with libass rendering enabled.
141 --ass-border-color=<value>
142     Sets the border (outline) color for text subtitles. The color format is
143     RRGGBBAA.
145 --ass-bottom-margin=<value>
146     Adds a black band at the bottom of the frame. The SSA/ASS renderer can
147     place subtitles there (with ``--ass-use-margins``).
149 --ass-color=<value>
150     Sets the color for text subtitles. The color format is RRGGBBAA.
152 --ass-font-scale=<value>
153     Set the scale coefficient to be used for fonts in the SSA/ASS renderer.
155 --ass-force-style=<[Style.]Param=Value[,...]>
156     Override some style or script info parameters.
158     *EXAMPLE*:
160     - ``--ass-force-style=FontName=Arial,Default.Bold=1``
161     - ``--ass-force-style=PlayResY=768``
163 --ass-hinting=<type>
164     Set hinting type. <type> can be:
166     :0:       no hinting
167     :1:       FreeType autohinter, light mode
168     :2:       FreeType autohinter, normal mode
169     :3:       font native hinter
170     :0-3 + 4: The same, but hinting will only be performed if the OSD is
171               rendered at screen resolution and will therefore not be scaled.
173     The default value is 0 (no hinting).
175 --ass-line-spacing=<value>
176     Set line spacing value for SSA/ASS renderer.
178 --ass-styles=<filename>
179     Load all SSA/ASS styles found in the specified file and use them for
180     rendering text subtitles. The syntax of the file is exactly like the ``[V4
181     Styles]`` / ``[V4+ Styles]`` section of SSA/ASS.
183 --ass-top-margin=<value>
184     Adds a black band at the top of the frame. The SSA/ASS renderer can place
185     toptitles there (with ``--ass-use-margins``).
187 --ass-use-margins
188     Enables placing toptitles and subtitles in black borders when they are
189     available.
191 --ass-vsfilter-aspect-compat
192     Stretch SSA/ASS subtitles when playing anamorphic videos for compatibility
193     with traditional VSFilter behavior. This switch has no effect when the
194     video is stored with square pixels.
196     The renderer historically most commonly used for the SSA/ASS subtitle
197     formats, VSFilter, had questionable behavior that resulted in subtitles
198     being stretched too if the video was stored in anamorphic format that
199     required scaling for display.  This behavior is usually undesirable and
200     newer VSFilter versions may behave differently. However, many existing
201     scripts compensate for the stretching by modifying things in the opposite
202     direction.  Thus if such scripts are displayed "correctly" they will not
203     appear as intended.  This switch enables emulation of the old VSFilter
204     behavior (undesirable but expected by many existing scripts).
206     Enabled by default.
208 --audio-demuxer=<[+]name>
209     Force audio demuxer type when using ``--audiofile``. Use a '+' before the
210     name to force it, this will skip some checks! Give the demuxer name as
211     printed by ``--audio-demuxer=help``. ``--audio-demuxer=audio`` forces MP3.
213 --audiofile=<filename>
214     Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a
215     movie.
217 --audiofile-cache=<kBytes>
218     Enables caching for the stream used by ``--audiofile``, using the
219     specified amount of memory.
221 --ausid=<ID>
222     Select audio substream channel. Currently the valid range is 0x55..0x75
223     and applies only to MPEG-TS when handled by the native demuxer (not by
224     libavformat). The format type may not be correctly identified because of
225     how this information (or lack thereof) is embedded in the stream, but it
226     will demux correctly the audio streams when multiple substreams are
227     present. MPlayer prints the available substream IDs when run with
228     ``--identify``. See also ``--alang``.
230 --autoq=<quality>
231     Used with ``--vf=[s]pp``.
232     Dynamically changes the level of postprocessing depending on the available
233     spare CPU time. The number you specify will be the maximum level used.
234     Usually you can use some big number. You have to use ``--vf=[s]pp``
235     without parameters in order for this to work.
237 --autosub, --no-autosub
238     Load additional subtitle files matching the video filename. Enabled by
239     default. See also ``--sub-fuzziness``.
241 --autosync=<factor>
242     Gradually adjusts the A/V sync based on audio delay measurements.
243     Specifying ``--autosync=0``, the default, will cause frame timing to be
244     based entirely on audio delay measurements. Specifying ``--autosync=1``
245     will do the same, but will subtly change the A/V correction algorithm. An
246     uneven video framerate in a movie which plays fine with ``--nosound`` can
247     often be helped by setting this to an integer value greater than 1. The
248     higher the value, the closer the timing will be to ``--nosound``. Try
249     ``--autosync=30`` to smooth out problems with sound drivers which do not
250     implement a perfect audio delay measurement. With this value, if large A/V
251     sync offsets occur, they will only take about 1 or 2 seconds to settle
252     out. This delay in reaction time to sudden A/V offsets should be the only
253     side-effect of turning this option on, for all sound drivers.
255 --bandwidth=<Bytes>
256     Specify the maximum bandwidth for network streaming (for servers that are
257     able to send content in different bitrates). Useful if you want to watch
258     live streamed media behind a slow connection. With Real RTSP streaming, it
259     is also used to set the maximum delivery bandwidth allowing faster cache
260     filling and stream dumping.
262 --benchmark
263     Prints some statistics on CPU usage and dropped frames at the end of
264     playback. Use in combination with ``--nosound`` and ``--vo=null`` for
265     benchmarking only the video codec.
267     *NOTE*: With this option MPlayer will also ignore frame duration when
268     playing only video (you can think of that as infinite fps).
270 --bluray-angle=<ID>
271     Some Blu-ray discs contain scenes that can be viewed from multiple angles.
272     Here you can tell MPlayer which angles to use (default: 1).
274 --bluray-chapter=<ID>
275     (Blu-ray only)
276     Tells MPlayer which Blu-ray chapter to start the current title from
277     (default: 1).
279 --bluray-device=<path>
280     (Blu-ray only)
281     Specify the Blu-ray disc location. Must be a directory with Blu-ray
282     structure.
284 --border, --no-border
285     Play movie with window border and decorations. Since this is on by
286     default, use ``--no-border`` to disable the standard window decorations.
288 --bpp=<depth>
289     Override the autodetected color depth. Only supported by the fbdev, dga,
290     svga, vesa video output drivers.
292 --brightness=<-100-100>
293     Adjust the brightness of the video signal (default: 0). Not supported by
294     all video output drivers.
296 --cache=<kBytes>
297     Enable caching of the input stream (if not already enabled) and set the
298     size of the cache in kilobytes. Caching is enabled by default (with a
299     default cache size) for network streams. May be useful when playing files
300     from slow media, but can also have negative effects, especially with file
301     formats that require a lot of seeking, such as mp4. See also ``--nocache``.
303 --cache-min=<percentage>
304     Playback will start when the cache has been filled up to <percentage> of
305     the total.
307 --cache-seek-min=<percentage>
308     If a seek is to be made to a position within <percentage> of the cache
309     size from the current position, MPlayer will wait for the cache to be
310     filled to this position rather than performing a stream seek (default:
311     50).
313 --capture
314     Allows capturing the primary stream (not additional audio tracks or other
315     kind of streams) into the file specified by ``--dumpfile`` or by default.
316     If this option is given, capturing can be started and stopped by pressing
317     the key bound to this function (see section `Interactive Control`_). Same
318     as for ``--dumpstream``, this will likely not produce usable results for
319     anything else than MPEG streams. Note that, due to cache latencies,
320     captured data may begin and end somewhat delayed compared to what you see
321     displayed.
323 --cdda=<option1:option2>
324     This option can be used to tune the CD Audio reading feature of MPlayer.
326     Available options are:
328     speed=<value>
329         Set CD spin speed.
331     paranoia=<0-2>
332         Set paranoia level. Values other than 0 seem to break playback of
333         anything but the first track.
335         :0: disable checking (default)
336         :1: overlap checking only
337         :2: full data correction and verification
339     generic-dev=<value>
340         Use specified generic SCSI device.
342     sector-size=<value>
343         Set atomic read size.
345     overlap=<value>
346         Force minimum overlap search during verification to <value> sectors.
348     toc-bias
349         Assume that the beginning offset of track 1 as reported in the TOC
350         will be addressed as LBA 0. Some Toshiba drives need this for getting
351         track boundaries correct.
353     toc-offset=<value>
354         Add <value> sectors to the values reported when addressing tracks. May
355         be negative.
357     (no)skip
358         (Never) accept imperfect data reconstruction.
360 --cdrom-device=<path>
361     Specify the CD-ROM device (default: ``/dev/cdrom``).
363 --channels=<number>
364     Request the number of playback channels (default: 2). MPlayer asks the
365     decoder to decode the audio into as many channels as specified. Then it is
366     up to the decoder to fulfill the requirement. This is usually only
367     important when playing videos with AC-3 audio (like DVDs). In that case
368     liba52 does the decoding by default and correctly downmixes the audio into
369     the requested number of channels. To directly control the number of output
370     channels independently of how many channels are decoded, use the channels
371     filter (``--af=channels``).
373     *NOTE*: This option is honored by codecs (AC-3 only), filters (surround)
374     and audio output drivers (OSS at least).
376     Available options are:
378     :2: stereo
379     :4: surround
380     :6: full 5.1
381     :8: full 7.1
383 --chapter=<start[-end]>
384     Specify which chapter to start playing at. Optionally specify which
385     chapter to end playing at (default: 1).
387 --chapter-merge-threshold=<number>
388     Threshold for merging almost consecutive ordered chapter parts in
389     milliseconds (default: 100). Some Matroska files with ordered chapters
390     have inaccurate chapter end timestamps, causing a small gap between the
391     end of one chapter and the start of the next one when they should match.
392     If the end of one playback part is less than the given threshold away from
393     the start of the next one then keep playing video normally over the
394     chapter change instead of doing a seek.
396 --codecpath=<dir>
397     Specify a directory for binary codecs.
399 --codecs-file=<filename>
400     Override the standard search path and use the specified file instead of
401     the builtin codecs.conf.
403 --colorkey=<number>
404     Changes the colorkey to an RGB value of your choice. 0x000000 is black and
405     0xffffff is white. Only supported by the xv (see ``--vo=xv:ck``) and
406     directx video output drivers. See also ``--nocolorkey``.
408 --colormatrix=<colorspace>
409     Controls the YUV to RGB color space conversion when playing video. There
410     are various standards. Normally, BT.601 should be used for SD video, and
411     BT.709 for HD video. (This is done by default.) Using incorrect color space
412     results in slightly under or over saturated and shifted colors.
414     The color space conversion is additionally influenced by the related
415     options --colormatrix-input-range and --colormatrix-output-range.
417     These options are not always supported. Different video outputs provide
418     varying degrees of support. The gl and vdpau video output drivers usually
419     offer full support. The xv output can set the color space if the system
420     video driver supports it, but not input and output levels. The scale video
421     filter can configure color space and input levels, but only if the output
422     format is RGB (if the video output driver supports RGB output, you can
423     force this with ``-vf scale,format=rgba``).
425     If this option is set to ``auto`` (which is the default), the video's
426     color space flag will be used. If that flag is unset, the color space
427     will be selected automatically. This is done using a simple heuristic that
428     attempts to distinguish SD and HD video. If the video is larger than
429     1279x576 pixels, BT.709 (HD) will be used; otherwise BT.601 (SD) is
430     selected.
432     Available color spaces are:
434     :auto:          automatic selection (default)
435     :BT.601:        ITU-R BT.601 (SD)
436     :BT.709:        ITU-R BT.709 (HD)
437     :SMPTE-240M:    SMPTE-240M
438     :sd:            alias for BT.601
439     :hd:            alias for BT.709
440     :0:             compatibility alias for auto (do not use)
441     :1:             compatibility alias for BT.601 (do not use)
442     :2:             compatibility alias for BT.709 (do not use)
443     :3:             compatibility alias for SMPTE-240M (do not use)
445 --colormatrix-input-range=<color-range>
446     YUV color levels used with YUV to RGB conversion. This option is only
447     necessary when playing broken files, which don't follow standard color
448     levels or which are flagged wrong. If the video doesn't specify its
449     color range, it is assumed to be limited range.
451     The same limitations as with --colormatrix apply.
453     Available color ranges are:
455     :auto:      automatic selection (normally limited range) (default)
456     :limited:   limited range (16-235 for luma, 16-240 for chroma)
457     :full:      full range (0-255 for both luma and chroma)
459 --colormatrix-output-range=<color-range>
460     RGB color levels used with YUV to RGB conversion. Normally, output devices
461     such as PC monitors use full range color levels. However, some TVs and
462     video monitors expect studio level RGB. Providing full range output to a
463     device expecting studio level input results in crushed blacks and whites,
464     the reverse in dim grey blacks and dim whites.
466     The same limitations as with --colormatrix apply.
468     Available color ranges are:
470     :auto:      automatic selection (equals to full range) (default)
471     :limited:   limited range (16-235 per component), studio levels
472     :full:      full range (0-255 per component), PC levels
474 --consolecontrols, --no-consolecontrols
475     ``--no-consolecontrols`` prevents the player from reading key events from
476     standard input. Useful when reading data from standard input. This is
477     automatically enabled when ``-`` is found on the command line. There are
478     situations where you have to set it manually, e.g. if you open
479     ``/dev/stdin`` (or the equivalent on your system), use stdin in a playlist
480     or intend to read from stdin later on via the loadfile or loadlist slave
481     commands.
483 --contrast=<-100-100>
484     Adjust the contrast of the video signal (default: 0). Not supported by all
485     video output drivers.
487 --cookies, --no-cookies
488     (network only)
489     Support cookies when making HTTP requests. Disabled by default.
491 --cookies-file=<filename>
492     (network only)
493     Read HTTP cookies from <filename> (default: ``~/.mozilla/`` and
494     ``~/.netscape/``) and skip reading from default locations. The file is
495     assumed to be in Netscape format.
497 --correct-pts, --no-correct-pts
498     Switches MPlayer to a mode where timestamps for video frames are
499     calculated differently and video filters which add new frames or modify
500     timestamps of existing ones are supported. Now enabled automatically for
501     most common file formats. The more accurate timestamps can be visible for
502     example when playing subtitles timed to scene changes with the ``--ass``
503     option. Without ``--correct-pts`` the subtitle timing will typically be
504     off by some frames. This option does not work correctly with some demuxers
505     and codecs.
507 --crash-debug
508     DEBUG CODE.
509     Automatically attaches gdb upon crash or **SIGTRAP**. Support must be
510     compiled in by configuring with ``--enable-crash-debug``.
512 --cursor-autohide-delay=<number>
513     Make mouse cursor automatically hide after given number of milliseconds.
514     A value of -1 will disable cursor autohide. A value of -2 means the cursor
515     will stay hidden. Supported by video output drivers which use X11 or
516     OS X Cocoa.
518 --delay=<sec>
519     audio delay in seconds (positive or negative float value). Negative values
520     delay the audio, and positive values delay the video.
522 --demuxer=<[+]name>
523     Force demuxer type. Use a '+' before the name to force it, this will skip
524     some checks! Give the demuxer name as printed by ``--demuxer=help``.
526 --display=<name>
527     (X11 only)
528     Specify the hostname and display number of the X server you want to
529     display on.
531     *EXAMPLE*:
533     ``--display=xtest.localdomain:0``
535 --double, --no-double
536     Double buffering. The option to disable this exists mostly for debugging
537     purposes and should not normally be used.
539 --doubleclick-time
540     Time in milliseconds to recognize two consecutive button presses as a
541     double-click (default: 300). Set to 0 to let your windowing system decide
542     what a double-click is (``--vo=directx`` only).
544 --dr
545     Turns on direct rendering (not supported by all codecs and video outputs)
547     *WARNING*: May cause OSD/SUB corruption!
549 --dumpaudio
550     Dumps raw compressed audio stream to ``./stream.dump`` (useful with
551     MPEG/AC-3, in most other cases the resulting file will not be playable).
552     If you give more than one of ``--dumpaudio``, ``--dumpvideo``,
553     ``--dumpstream`` on the command line only the last one will work.
555 --dumpfile=<filename>
556     Specify which file MPlayer should dump to. Should be used together with
557     ``--dumpaudio`` / ``--dumpvideo`` / ``--dumpstream`` / ``--capture``.
559 --dumpjacosub
560     Convert the given subtitle (specified with the ``--sub`` option) to the
561     time-based JACOsub subtitle format. Creates a ``dumpsub.js`` file in the
562     current directory.
564 --dumpmicrodvdsub
565     Convert the given subtitle (specified with the ``--sub`` option) to the
566     MicroDVD subtitle format. Creates a dumpsub.sub file in the current
567     directory.
569 --dumpmpsub
570     Convert the given subtitle (specified with the ``--sub`` option) to
571     MPlayer's subtitle format, MPsub. Creates a dump.mpsub file in the current
572     directory.
574 --dumpsami
575     Convert the given subtitle (specified with the ``--sub`` option) to the
576     time-based SAMI subtitle format. Creates a ``dumpsub.smi`` file in the
577     current directory.
579 --dumpsrtsub
580     Convert the given subtitle (specified with the ``--sub`` option) to the
581     time-based SubViewer (SRT) subtitle format. Creates a ``dumpsub.srt`` file
582     in the current directory.
584     *NOTE*: Some broken hardware players choke on SRT subtitle files with Unix
585     line endings. If you are unlucky enough to have such a box, pass your
586     subtitle files through ``unix2dos`` or a similar program to replace Unix
587     line endings with DOS/Windows line endings.
589 --dumpstream
590     Dumps the raw stream to ``./stream.dump``. Useful when ripping from DVD or
591     network. If you give more than one of ``--dumpaudio``, ``--dumpvideo``,
592     ``--dumpstream`` on the command line only the last one will work.
594 --dumpsub
595     BETA CODE.
596     Dumps the subtitle substream from VOB streams. Also see the **--dump*sub**
597     options.
599 --dumpvideo
600     Dump raw compressed video stream to ``./stream.dump`` (not very usable).
601     If you give more than one of ``--dumpaudio``, ``--dumpvideo``,
602     ``--dumpstream`` on the command line only the last one will work.
604 --dvbin=<options>
605     Pass the following parameters to the DVB input module, in order to
606     override the default ones:
608     :card=<1-4>:      Specifies using card number 1-4 (default: 1).
609     :file=<filename>: Instructs MPlayer to read the channels list from
610                       <filename>. Default is
611                       ``~/.mplayer/channels.conf.{sat,ter,cbl,atsc}`` (based
612                       on your card type) or ``~/.mplayer/channels.conf`` as a
613                       last resort.
614     :timeout=<1-30>:  Maximum number of seconds to wait when trying to tune a
615                       frequency before giving up (default: 30).
617 --dvd-device=<path>
618     Specify the DVD device or .iso filename (default: ``/dev/dvd``). You can
619     also specify a directory that contains files previously copied directly
620     from a DVD (with e.g. vobcopy).
622 --dvd-speed=<speed>
623     Try to limit DVD speed (default: 0, no change). DVD base speed is 1385
624     kB/s, so a 8x drive can read at speeds up to 11080 kB/s. Slower speeds
625     make the drive more quiet. For watching DVDs 2700 kB/s should be quiet and
626     fast enough. MPlayer resets the speed to the drive default value on close.
627     Values of at least 100 mean speed in kB/s. Values less than 100 mean
628     multiples of 1385 kB/s, i.e. ``--dvd-speed=8`` selects 11080 kB/s.
630     *NOTE*: You need write access to the DVD device to change the speed.
632 --dvdangle=<ID>
633     Some DVD discs contain scenes that can be viewed from multiple angles.
634     Here you can tell MPlayer which angles to use (default: 1).
636 --edition=<ID>
637     (Matroska files only)
638     Specify the edition (set of chapters) to use, where 0 is the first. If set
639     to -1 (the default), MPlayer will choose the first edition declared as a
640     default, or if there is no default, the first edition defined.
642 --edlout=<filename>
643     Creates a new file and writes edit decision list (EDL) records to it.
644     During playback, the user hits 'i' to mark the start or end of a skip
645     block. This provides a starting point from which the user can fine-tune
646     EDL entries later. See http://www.mplayerhq.hu/DOCS/HTML/en/edl.html for
647     details.
649 --embeddedfonts, --no-embeddedfonts
650     Use fonts embedded in Matroska container files and ASS scripts (default:
651     enabled). These fonts can be used for SSA/ASS subtitle rendering
652     (``--ass`` option).
654 --endpos=<[[hh:]mm:]ss[.ms]>
655     Stop at given time.
657     *NOTE*: When used in conjunction with ``--ss`` option, ``--endpos`` time
658     will shift forward by seconds specified with ``--ss``.
660     *EXAMPLE*:
662     ``--endpos=56``
663         Stop at 56 seconds.
664     ``--endpos=01:10:00``
665         Stop at 1 hour 10 minutes.
666     ``--ss=10 --endpos=56``
667         Stop at 1 minute 6 seconds.
669 --extbased, --no-extbased
670     Enabled by default.
671     Disables extension-based demuxer selection. By default, when the file type
672     (demuxer) cannot be detected reliably (the file has no header or it is not
673     reliable enough), the filename extension is used to select the demuxer.
674     Always falls back on content-based demuxer selection.
676 --ffactor=<number>
677     Resample the font alphamap. Can be:
679     :0:    plain white fonts
680     :0.75: very narrow black outline (default)
681     :1:    narrow black outline
682     :10:   bold black outline
684 --field-dominance=<-1-1>
685     Set first field for interlaced content. Useful for deinterlacers that
686     double the framerate: ``--vf=tfields=1``, ``--vf=yadif=1`` and
687     ``--vo=vdpau:deint``.
689     :-1: auto (default): If the decoder does not export the appropriate
690          information, it falls back to 0 (top field first).
691     :0:  top field first
692     :1:  bottom field first
694 --fixed-vo, --no-fixed-vo
695     ``--fixed-vo`` enforces a fixed video system for multiple files (one
696     (un)initialization for all files). Therefore only one window will be
697     opened for all files. Now enabled by default, use ``--no-fixed-vo`` to
698     disable and create a new window whenever the video stream changes. Some of
699     the older drivers may not be *fixed-vo* compliant.
701 --flip
702     Flip image upside-down.
704 --font=<pattern-or-filename>
705     Specify font to use for OSD and for subtitles that do not themselves
706     specify a particular font. See also ``--subfont``. The argument is a
707     fontconfig pattern and the default is ``sans``.
709     *EXAMPLE*:
711     - ``--font='Bitstream Vera Sans'``
712     - ``--font='Bitstream Vera Sans:style=Bold'``
714 --force-window-position
715     Forcefully move MPlayer's video output window to default location whenever
716     there is a change in video parameters, video stream or file. This used to
717     be the default behavior. Currently only affects X11 VOs.
719 --forcedsubsonly
720     Display only forced subtitles for the DVD subtitle stream selected by e.g.
721     ``--slang``.
723 --forceidx
724     Force index rebuilding. Useful for files with broken index (A/V desync,
725     etc). This will enable seeking in files where seeking was not possible.
727     *NOTE*: This option only works if the underlying media supports seeking
728     (i.e. not with stdin, pipe, etc).
730 --format=<format>
731     Select the sample format used for output from the audio filter layer to
732     the sound card. The values that <format> can adopt are listed below in the
733     description of the ``format`` audio filter.
735 --fps=<float>
736     Override video framerate. Useful if the original value is wrong or missing.
738 --framedrop
739     Skip displaying some frames to maintain A/V sync on slow systems. Video
740     filters are not applied to such frames. For B-frames even decoding is
741     skipped completely. May produce unwatchably choppy output. See also
742     ``--hardframedrop``.
744 --frames=<number>
745     Play/convert only first <number> frames, then quit.
747 --fs
748     Fullscreen playback (centers movie, and paints black bands around it).
750 --fsmode-dontuse=<0-31>
751     OBSOLETE, use the ``--fs`` option.
752     Try this option if you still experience fullscreen problems.
754 --fstype=<type1,type2,...>
755     (X11 only)
756     Specify a priority list of fullscreen modes to be used. You can negate the
757     modes by prefixing them with '-'. If you experience problems like the
758     fullscreen window being covered by other windows try using a different
759     order.
761     *NOTE*: See ``--fstype=help`` for a full list of available modes.
763     The available types are:
765     above
766         Use the ``_NETWM_STATE_ABOVE`` hint if available.
767     below
768         Use the ``_NETWM_STATE_BELOW`` hint if available.
769     fullscreen
770         Use the ``_NETWM_STATE_FULLSCREEN`` hint if available.
771     layer
772         Use the ``_WIN_LAYER`` hint with the default layer.
773     layer=<0...15>
774         Use the ``_WIN_LAYER`` hint with the given layer number.
775     netwm
776         Force NETWM style.
777     none
778         Clear the list of modes; you can add modes to enable afterward.
779     stays_on_top
780         Use ``_NETWM_STATE_STAYS_ON_TOP`` hint if available.
782     *EXAMPLE*:
784     ``--fstype=layer,stays_on_top,above,fullscreen``
785          Default order, will be used as a fallback if incorrect or
786          unsupported modes are specified.
787     ``--fstype=fullscreen``
788          Fixes fullscreen switching on OpenBox 1.x.
790 --gamma=<-100-100>
791     Adjust the gamma of the video signal (default: 0). Not supported by all
792     video output drivers.
794 --gapless-audio
795     Try to play consecutive audio files with no silence or disruption at the
796     point of file change. This feature is implemented in a simple manner and
797     relies on audio output device buffering to continue playback while moving
798     from one file to another. If playback of the new file starts slowly, for
799     example because it's played from a remote network location or because you
800     have specified cache settings that require time for the initial cache
801     fill, then the buffered audio may run out before playback of the new file
802     can start.
804     *NOTE*: The audio device is opened using parameters chosen according to
805     the first file played and is then kept open for gapless playback. This
806     means that if the first file for example has a low samplerate then the
807     following files may get resampled to the same low samplerate, resulting in
808     reduced sound quality. If you play files with different parameters,
809     consider using options such as ``--srate`` and ``--format`` to explicitly
810     select what the shared output format will be.
812 --geometry=<x[%][:y[%]]>, --geometry=<[WxH][+-x+-y]>
813     Adjust where the output is on the screen initially. The x and y
814     specifications are in pixels measured from the top-left of the screen to
815     the top-left of the image being displayed, however if a percentage sign is
816     given after the argument it turns the value into a percentage of the
817     screen size in that direction. It also supports the standard X11
818     ``--geometry`` option format, in which e.g. +10-50 means "place 10 pixels
819     from the left border and 50 pixels from the lower border" and "--20+-10"
820     means "place 20 pixels beyond the right and 10 pixels beyond the top
821     border". If an external window is specified using the ``--wid`` option,
822     then the x and y coordinates are relative to the top-left corner of the
823     window rather than the screen. The coordinates are relative to the screen
824     given with ``--xineramascreen`` for the video output drivers that fully
825     support ``--xineramascreen`` (direct3d, gl, vdpau, x11, xv, corevideo).
827     *NOTE*: May not be supported by some of the older VO drivers.
829     *EXAMPLE*:
831     ``50:40``
832         Places the window at x=50, y=40.
833     ``50%:50%``
834         Places the window in the middle of the screen.
835     ``100%``
836         Places the window at the middle of the right edge of the screen.
837     ``100%:100%``
838         Places the window at the bottom right corner of the screen.
840 --grabpointer, --no-grabpointer
841     ``--no-grabpointer`` tells the player to not grab the mouse pointer after a
842     video mode change (``--vm``). Useful for multihead setups.
844 --hardframedrop
845     More intense frame dropping (breaks decoding). Leads to image distortion!
847 --heartbeat-cmd
848     Command that is executed every 30 seconds during playback via *system()* -
849     i.e. using the shell.
851     *NOTE*: mplayer uses this command without any checking, it is your
852     responsibility to ensure it does not cause security problems (e.g. make
853     sure to use full paths if "." is in your path like on Windows). It also
854     only works when playing video (i.e. not with ``--novideo`` but works with
855     ``-vo=null``).
857     This can be "misused" to disable screensavers that do not support the
858     proper X API (see also ``--stop-xscreensaver``). If you think this is too
859     complicated, ask the author of the screensaver program to support the
860     proper X APIs.
862     *EXAMPLE for xscreensaver*: ``mplayer --heartbeat-cmd="xscreensaver-command
863     -deactivate" file``
865     *EXAMPLE for GNOME screensaver*: ``mplayer
866     --heartbeat-cmd="gnome-screensaver-command -p" file``
868 --help
869     Show short summary of options and key bindings.
871 --hr-mp3-seek
872     Only affects the internal ``audio`` demuxer, which is not used by default
873     for mp3 files any more. The equivalent functionality is always enabled
874     with the now default libavformat demuxer for mp3. Hi-res MP3 seeking.
875     Enabled when playing from an external MP3 file, as we need to seek to the
876     very exact position to keep A/V sync. Can be slow especially when seeking
877     backwards since it has to rewind to the beginning to find an exact frame
878     position.
880 --hr-seek=<off|absolute|always>
881     Select when to use precise seeks that are not limited to keyframes. Such
882     seeks require decoding video from the previous keyframe up to the target
883     position and so can take some time depending on decoding performance. For
884     some video formats precise seeks are disabled. This option selects the
885     default choice to use for seeks; it's possible to explicitly override that
886     default in the definition of key bindings and in slave mode commands.
888     :off:      Never use precise seeks.
889     :absolute: Use precise seeks if the seek is to an absolute position in the
890                file, such as a chapter seek, but not for relative seeks like
891                the default behavior of arrow keys (default).
892     :always:   Use precise seeks whenever possible.
894 --hr-seek-demuxer-offset=<seconds>
895     This option exists to work around failures to do precise seeks (as in
896     ``--hr-seek``) caused by bugs or limitations in the demuxers for some file
897     formats. Some demuxers fail to seek to a keyframe before the given target
898     position, going to a later position instead. The value of this option is
899     subtracted from the time stamp given to the demuxer. Thus if you set this
900     option to 1.5 and try to do a precise seek to 60 seconds, the demuxer is
901     told to seek to time 58.5, which hopefully reduces the chance that it
902     erroneously goes to some time later than 60 seconds. The downside of
903     setting this option is that precise seeks become slower, as video between
904     the earlier demuxer position and the real target may be unnecessarily
905     decoded.
907 --http-header-fields=<field1,field2>
908     Set custom HTTP fields when accessing HTTP stream.
910     *EXAMPLE*:
912             ``mplayer --http-header-fields='Field1: value1','Field2: value2' http://localhost:1234``
914         Will generate HTTP request:
916             | GET / HTTP/1.0
917             | Host: localhost:1234
918             | User-Agent: MPlayer
919             | Icy-MetaData: 1
920             | Field1: value1
921             | Field2: value2
922             | Connection: close
924 --hue=<-100-100>
925     Adjust the hue of the video signal (default: 0). You can get a colored
926     negative of the image with this option. Not supported by all video output
927     drivers.
929 --identify
930     Shorthand for ``--msglevel=identify=4``. Show file parameters in an easily
931     parseable format. Also prints more detailed information about subtitle and
932     audio track languages and IDs. In some cases you can get more information
933     by using ``--msglevel=identify=6``. For example, for a DVD or Blu-ray it
934     will list the chapters and time length of each title, as well as a disk
935     ID. Combine this with ``--frames=0`` to suppress all video output. The
936     wrapper script ``TOOLS/midentify.sh`` suppresses the other MPlayer output
937     and (hopefully) shellescapes the filenames.
939 --idle
940     Makes MPlayer wait idly instead of quitting when there is no file to play.
941     Mostly useful in slave mode where MPlayer can be controlled through input
942     commands (see also ``--slave``).
944 --idx
945     Rebuilds index of files if no index was found, allowing seeking. Useful
946     with broken/incomplete downloads, or badly created files. Now this is done
947     automatically by the demuxers used for most video formats, meaning that
948     this switch has no effect in the typical case. See also ``--forceidx``.
950     *NOTE*: This option only works if the underlying media supports seeking
951     (i.e. not with stdin, pipe, etc).
953 --ifo=<file>
954     Indicate the VOBsub IFO file that will be used to load palette and frame
955     size for VOBsub subtitles.
957 --ignore-start
958     Ignore the specified starting time for streams in AVI files. This
959     nullifies stream delays.
961 --include=<configuration-file>
962     Specify configuration file to be parsed after the default ones.
964 --initial-audio-sync, --no-initial-audio-sync
965     When starting a video file or after events such as seeking MPlayer will by
966     default modify the audio stream to make it start from the same timestamp
967     as video, by either inserting silence at the start or cutting away the
968     first samples. Disabling this option makes the player behave like older
969     MPlayer versions did: video and audio are both started immediately even if
970     their start timestamps differ, and then video timing is gradually adjusted
971     if necessary to reach correct synchronization later.
973 --input=<commands>
974     This option can be used to configure certain parts of the input system.
976     *NOTE*: Autorepeat is currently only supported by joysticks.
978     Available commands are:
980     conf=<filename>
981         Specify input configuration file other than the default
982         ``~/.mplayer/input.conf``. ``~/.mplayer/<filename>`` is assumed if no
983         full path is given.
985     ar-dev=<device>
986         Device to be used for Apple IR Remote (default is autodetected, Linux
987         only).
989     ar-delay
990         Delay in milliseconds before we start to autorepeat a key (0 to
991         disable).
993     ar-rate
994         Number of key presses to generate per second on autorepeat.
996     (no)default-bindings
997         Use the key bindings that MPlayer ships with by default.
999     keylist
1000         Prints all keys that can be bound to commands.
1002     cmdlist
1003         Prints all commands that can be bound to keys.
1005     js-dev
1006         Specifies the joystick device to use (default: ``/dev/input/js0``).
1008     file=<filename>
1009         Read commands from the given file. Mostly useful with a FIFO.
1010         See also ``--slave``.
1012         *NOTE*: When the given file is a FIFO MPlayer opens both ends so you
1013         can do several `echo "seek 10" > mp_pipe` and the pipe will stay
1014         valid.
1016 --ipv4-only-proxy
1017     Skip any HTTP proxy for IPv6 addresses. It will still be used for IPv4
1018     connections.
1020 --joystick, --no-joystick
1021     Enable/disable joystick support. Enabled by default.
1023 --keepaspect, --no-keepaspect
1024     Keep window aspect ratio when resizing windows. Enabled by default. By
1025     default MPlayer tries to keep the correct video aspect ratio by
1026     instructing the window manager to maintain window aspect when resizing,
1027     and by adding black bars if the window manager nevertheless allows window
1028     shape to change. --no-keepaspect disables window manager aspect hints and
1029     scales the video to completely fill the window without regard for aspect
1030     ratio.
1032 --key-fifo-size=<2-65000>
1033     Specify the size of the FIFO that buffers key events (default: 7). If it
1034     is too small some events may be lost. The main disadvantage of setting it
1035     to a very large value is that if you hold down a key triggering some
1036     particularly slow command then the player may be unresponsive while it
1037     processes all the queued commands.
1039 --lavdopts=<option1:option2:...>
1040     Specify libavcodec decoding parameters. Separate multiple options with a
1041     colon.
1043     *EXAMPLE*: ``--lavdopts=gray:skiploopfilter=all:skipframe=nonref``
1045     Available options are:
1047     bitexact
1048         Only use bit-exact algorithms in all decoding steps (for codec
1049         testing).
1051     bug=<value>
1052         Manually work around encoder bugs.
1054         :0:    nothing
1055         :1:    autodetect bugs (default)
1056         :2:    (msmpeg4v3): some old lavc generated msmpeg4v3 files (no
1057                autodetection)
1058         :4:    (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
1059         :8:    (mpeg4): UMP4 (autodetected if fourcc==UMP4)
1060         :16:   (mpeg4): padding bug (autodetected)
1061         :32:   (mpeg4): illegal vlc bug (autodetected per fourcc)
1062         :64:   (mpeg4): Xvid and DivX qpel bug (autodetected per
1063                fourcc/version)
1064         :128:  (mpeg4): old standard qpel (autodetected per fourcc/version)
1065         :256:  (mpeg4): another qpel bug (autodetected per fourcc/version)
1066         :512:  (mpeg4): direct-qpel-blocksize bug (autodetected per
1067                fourcc/version)
1068         :1024: (mpeg4): edge padding bug (autodetected per fourcc/version)
1070     debug=<value>
1071         Display debugging information.
1073         :0:      disabled
1074         :1:      picture info
1075         :2:      rate control
1076         :4:      bitstream
1077         :8:      macroblock (MB) type
1078         :16:     per-block quantization parameter (QP)
1079         :32:     motion vector
1080         :0x0040: motion vector visualization (use ``--no-slices``)
1081         :0x0080: macroblock (MB) skip
1082         :0x0100: startcode
1083         :0x0200: PTS
1084         :0x0400: error resilience
1085         :0x0800: memory management control operations (H.264)
1086         :0x1000: bugs
1087         :0x2000: Visualize quantization parameter (QP), lower QP are tinted
1088                  greener.
1089         :0x4000: Visualize block types.
1091     ec=<value>
1092         Set error concealment strategy.
1094         :1: Use strong deblock filter for damaged MBs.
1095         :2: iterative motion vector (MV) search (slow)
1096         :3: all (default)
1098     fast (MPEG-2, MPEG-4, and H.264 only)
1099         Enable optimizations which do not comply to the specification and
1100         might potentially cause problems, like simpler dequantization, simpler
1101         motion compensation, assuming use of the default quantization matrix,
1102         assuming YUV 4:2:0 and skipping a few checks to detect damaged
1103         bitstreams.
1105     gray
1106         grayscale only decoding (a bit faster than with color)
1108     idct=<0-99>
1109         For best decoding quality use the same IDCT algorithm for decoding and
1110         encoding. This may come at a price in accuracy, though.
1112     lowres=<number>[,<w>]
1113         Decode at lower resolutions. Low resolution decoding is not supported
1114         by all codecs, and it will often result in ugly artifacts. This is not
1115         a bug, but a side effect of not decoding at full resolution.
1117         :0: disabled
1118         :1: 1/2 resolution
1119         :2: 1/4 resolution
1120         :3: 1/8 resolution
1122         If <w> is specified lowres decoding will be used only if the width of
1123         the video is major than or equal to <w>.
1125     o=<key>=<value>[,<key>=<value>[,...]]
1126         Pass AVOptions to libavcodec decoder. Note, a patch to make the o=
1127         unneeded and pass all unknown options through the AVOption system is
1128         welcome. A full list of AVOptions can be found in the FFmpeg manual.
1130         *EXAMPLE*: ``o=debug=pict``
1132     sb=<number> (MPEG-2 only)
1133         Skip the given number of macroblock rows at the bottom.
1135     st=<number> (MPEG-2 only)
1136         Skip the given number of macroblock rows at the top.
1138     skiploopfilter=<skipvalue> (H.264 only)
1139         Skips the loop filter (AKA deblocking) during H.264 decoding. Since
1140         the filtered frame is supposed to be used as reference for decoding
1141         dependent frames this has a worse effect on quality than not doing
1142         deblocking on e.g. MPEG-2 video. But at least for high bitrate HDTV
1143         this provides a big speedup with no visible quality loss.
1145         <skipvalue> can be one of the following:
1147         :none:    Never skip.
1148         :default: Skip useless processing steps (e.g. 0 size packets in AVI).
1149         :nonref:  Skip frames that are not referenced (i.e. not used for
1150                   decoding other frames, the error cannot "build up").
1151         :bidir:   Skip B-Frames.
1152         :nonkey:  Skip all frames except keyframes.
1153         :all:     Skip all frames.
1155     skipidct=<skipvalue> (MPEG-1/2 only)
1156         Skips the IDCT step. This degrades quality a lot of in almost all
1157         cases (see skiploopfilter for available skip values).
1159     skipframe=<skipvalue>
1160         Skips decoding of frames completely. Big speedup, but jerky motion and
1161         sometimes bad artifacts (see skiploopfilter for available skip
1162         values).
1164     threads=<0-16>
1165         Number of threads to use for decoding. Whether threading is actually
1166         supported depends on codec. 0 means autodetect number of cores on the
1167         machine and use that, up to the maximum of 16. (default: 0)
1169     vismv=<value>
1170         Visualize motion vectors.
1172         :0: disabled
1173         :1: Visualize forward predicted MVs of P-frames.
1174         :2: Visualize forward predicted MVs of B-frames.
1175         :4: Visualize backward predicted MVs of B-frames.
1177     vstats
1178         Prints some statistics and stores them in ``./vstats_*.log``.
1180 --lavfdopts=<option1:option2:...>
1181     Specify parameters for libavformat demuxers (``--demuxer=lavf``). Separate
1182     multiple options with a colon.
1184     Available suboptions are:
1186     analyzeduration=<value>
1187         Maximum length in seconds to analyze the stream properties.
1188     format=<value>
1189         Force a specific libavformat demuxer.
1190     o=<key>=<value>[,<key>=<value>[,...]]
1191         Pass AVOptions to libavformat demuxer.
1193         Note, a patch to make the *o=* unneeded and pass all unknown options
1194         through the AVOption system is welcome. A full list of AVOptions can
1195         be found in the FFmpeg manual. Note that some options may conflict
1196         with MPlayer options.
1198         *EXAMPLE*: ``o=fflags=+ignidx``
1199     probesize=<value>
1200         Maximum amount of data to probe during the detection phase. In the
1201         case of MPEG-TS this value identifies the maximum number of TS packets
1202         to scan.
1203     cryptokey=<hexstring>
1204         Encryption key the demuxer should use. This is the raw binary data of
1205         the key converted to a hexadecimal string.
1207 --lirc, --no-lirc
1208     Enable/disable LIRC support. Enabled by default.
1210 --lircconf=<filename>
1211     (LIRC only)
1212     Specifies a configuration file for LIRC (default: ``~/.lircrc``).
1214 --list-options
1215     Prints all available options.
1217 --list-properties
1218     Print a list of the available properties.
1220 --loadidx=<filename>
1221     The file from which to read the video index data saved by ``--saveidx``.
1222     This index will be used for seeking, overriding any index data contained
1223     in the AVI itself. MPlayer will not prevent you from loading an index file
1224     generated from a different AVI, but this is sure to cause unfavorable
1225     results.
1227     *NOTE*: This option is obsolete now that MPlayer has OpenDML support.
1229 --loop=<number>
1230     Loops movie playback <number> times. 0 means forever.
1232 --mc=<seconds/frame>
1233     Maximum A-V sync correction per frame (in seconds)
1235 --mf=<option1:option2:...>
1236     Used when decoding from multiple PNG or JPEG files.
1238     Available options are:
1240     :w=<value>:    input file width (default: autodetect)
1241     :h=<value>:    input file height (default: autodetect)
1242     :fps=<value>:  output fps (default: 25)
1243     :type=<value>: input file type (available: jpeg, png, tga, sgi)
1245 --mixer=<device>
1246     Use a mixer device different from the default ``/dev/mixer``. For ALSA
1247     this is the mixer name.
1249 --mixer-channel=<name[,index]>
1250     (``--ao=oss`` and ``--ao=alsa`` only)
1251     This option will tell MPlayer to use a different channel for controlling
1252     volume than the default PCM. Options for OSS include **vol, pcm, line**.
1253     For a complete list of options look for ``SOUND_DEVICE_NAMES`` in
1254     ``/usr/include/linux/soundcard.h``. For ALSA you can use the names e.g.
1255     alsamixer displays, like **Master, Line, PCM**.
1257     *NOTE*: ALSA mixer channel names followed by a number must be specified in
1258     the <name,number> format, i.e. a channel labeled 'PCM 1' in alsamixer must
1259     be converted to PCM,1.
1261 --monitoraspect=<ratio>
1262     Set the aspect ratio of your monitor or TV screen. A value of 0 disables a
1263     previous setting (e.g. in the config file). Overrides the
1264     ``--monitorpixelaspect`` setting if enabled.
1265     See also ``--monitorpixelaspect`` and ``--aspect``.
1267     *EXAMPLE*:
1269     - ``--monitoraspect=4:3``  or ``--monitoraspect=1.3333``
1270     - ``--monitoraspect=16:9`` or ``--monitoraspect=1.7777``
1272 --monitorpixelaspect=<ratio>
1273     Set the aspect of a single pixel of your monitor or TV screen (default:
1274     1). A value of 1 means square pixels (correct for (almost?) all LCDs). See
1275     also ``--monitoraspect`` and ``--aspect``.
1277 --mouse-movements
1278     Permit MPlayer to receive pointer events reported by the video output
1279     driver. Necessary to select the buttons in DVD menus. Supported for
1280     X11-based VOs (x11, xv, etc) and the gl, direct3d and corevideo VOs.
1282 --mouseinput, --no-mouseinput
1283     Enabled by default. Disable mouse button press/release input
1284     (mozplayerxp's context menu relies on this option).
1286 --msgcharset=<charset>
1287     Convert console messages to the specified character set (default:
1288     autodetect). Text will be in the encoding specified with the --charset
1289     configure option. Set this to "noconv" to disable conversion (for e.g.
1290     iconv problems).
1292     *NOTE*: The option takes effect after command line parsing has finished.
1293     The ``MPLAYER_CHARSET`` environment variable can help you get rid of the
1294     first lines of garbled output.
1296 --msgcolor
1297     Enable colorful console output on terminals that support ANSI color.
1299 --msglevel=<module1=level1:module2=level2:...>
1300     Control verbosity directly for each module. The *all* module changes the
1301     verbosity of all the modules not explicitly specified on the command line.
1303     See ``--msglevel=help`` for a list of all modules.
1305     *NOTE*: Some messages are printed before the command line is parsed and
1306     are therefore not affected by ``--msglevel``. To control these messages
1307     you have to use the ``MPLAYER_VERBOSE`` environment variable; see its
1308     description below for details.
1310     Available levels:
1312     :-1: complete silence
1313     :0:  fatal messages only
1314     :1:  error messages
1315     :2:  warning messages
1316     :3:  short hints
1317     :4:  informational messages
1318     :5:  status messages (default)
1319     :6:  verbose messages
1320     :7:  debug level 2
1321     :8:  debug level 3
1322     :9:  debug level 4
1324 --msgmodule
1325     Prepend module name in front of each console message.
1327 --name
1328     Set the window class name for X11-based video output methods.
1330 --ni
1331     (Internal AVI demuxer which is not used by default only)
1332     Force usage of non-interleaved AVI parser (fixes playback of some bad AVI
1333     files).
1335 --noaspect
1336     Ignore aspect ratio information from video file and assume the video has
1337     square pixels. See also ``--aspect``.
1339 --nobps
1340     (Internal AVI demuxer which is not used by default only)
1341     Do not use average byte/second value for A-V sync. Helps with some AVI
1342     files with broken header.
1344 --nocache
1345     Turn off input stream caching. See ``--cache``.
1347 --nocolorkey
1348     Disables colorkeying. Only supported by the xv (see ``--vo=xv:ck``) and
1349     directx video output drivers.
1351 --noconfig=<options>
1352     Do not parse selected configuration files.
1354     *NOTE*: If ``--include`` or ``--use-filedir-conf`` options are specified
1355     at the command line, they will be honoured.
1357     Available options are:
1359     :all:    all configuration files
1360     :system: system configuration file
1361     :user:   user configuration file
1363 --noidx
1364     Do not use index present in the file even if one is present.
1366 --nosound
1367     Do not play sound. Useful for benchmarking.
1369 --nosub
1370     Disables any otherwise auto-selected internal subtitles (as e.g. the
1371     Matroska/mkv demuxer supports). Use ``--no-autosub`` to disable the
1372     loading of external subtitle files.
1374 --novideo
1375     Do not play video. With some demuxers this may not work. In those cases
1376     you can try ``--vc=null --vo=null`` instead; but ``--vc=null`` is always
1377     unreliable.
1379 --ontop
1380     Makes the player window stay on top of other windows. Supported by video
1381     output drivers which use X11, except SDL, as well as directx and corevideo.
1383 --ordered-chapters, --no-ordered-chapters
1384     Enabled by default.
1385     Disable support for Matroska ordered chapters. MPlayer will not load or
1386     search for video segments from other files, and will also ignore any
1387     chapter order specified for the main file.
1389 --osd-duration=<time>
1390     Set the duration of the OSD messages in ms (default: 1000).
1392 --osd-fractions=<0-2>
1393     Set how fractions of seconds of the current timestamp are printed on the
1394     OSD:
1396     :0: Do not display fractions (default).
1397     :1: Show the first two decimals.
1398     :2: Show approximate frame count within current second. This frame count
1399         is not accurate but only an approximation. For variable fps, the
1400         approximation is known to be far off the correct frame count.
1402 --osdlevel=<0-3>
1403     Specifies which mode the OSD should start in.
1405     :0: subtitles only
1406     :1: volume + seek (default)
1407     :2: volume + seek + timer + percentage
1408     :3: volume + seek + timer + percentage + total time
1410 --overlapsub
1411     Allows the next subtitle to be displayed while the current one is still
1412     visible (default is to enable the support only for specific formats).
1414 --panscan=<0.0-1.0>
1415     Enables pan-and-scan functionality (cropping the sides of e.g. a 16:9
1416     movie to make it fit a 4:3 display without black bands). The range
1417     controls how much of the image is cropped. May not work with all video
1418     output drivers.
1420     *NOTE*: Values between -1 and 0 are allowed as well, but highly
1421     experimental and may crash or worse. Use at your own risk!
1423 --panscanrange=<-19.0-99.0>
1424     (experimental)
1425     Change the range of the pan-and-scan functionality (default: 1). Positive
1426     values mean multiples of the default range. Negative numbers mean you can
1427     zoom in up to a factor of ``--panscanrange=+1``. E.g. ``--panscanrange=-3``
1428     allows a zoom factor of up to 4. This feature is experimental. Do not
1429     report bugs unless you are using ``--vo=gl``.
1431 --passwd=<password>
1432     Used with some network protocols. Specify password for HTTP authentication.
1433     See also ``--user``.
1435 --playing-msg=<string>
1436     Print out a string before starting playback. The following expansions are
1437     supported:
1439     ${NAME}
1440         Expand to the value of the property ``NAME``.
1441     ?(NAME:TEXT)
1442         Expand ``TEXT`` only if the property ``NAME`` is available.
1443     ?(!NAME:TEXT)
1444         Expand ``TEXT`` only if the property ``NAME`` is not available.
1446 --playlist=<filename>
1447     Play files according to a playlist file (ASX, Winamp, SMIL, or
1448     one-file-per-line format).
1450     *WARNING*: The way MPlayer parses and uses playlist files is not safe
1451     against maliciously constructed files. Such files may trigger harmful
1452     actions. This has been the case for all MPlayer versions, but
1453     unfortunately this fact was not well documented earlier, and some people
1454     have even misguidedly recommended use of ``--playlist`` with untrusted
1455     sources. Do NOT use ``--playlist`` with random internet sources or files
1456     you don't trust!
1458     *NOTE*: This option is considered an entry so options found after it will
1459     apply only to the elements of this playlist.
1461     FIXME: This needs to be clarified and documented thoroughly.
1463 --pp=<quality>
1464     This option only works when decoding video with Win32 DirectShow DLLs with
1465     internal postprocessing routines. See also ``--vf=pp``. Set the DLL
1466     postprocess level. The valid range of ``--pp`` values varies by codec, it
1467     is mostly 0-6, where 0=disable, 6=slowest/best.
1469 --pphelp
1470     Show a summary about the available postprocess filters and their usage.
1471     See also ``--vf=pp``.
1473 --prefer-ipv4
1474     Use IPv4 on network connections. Falls back on IPv6 automatically.
1476 --prefer-ipv6
1477     Use IPv6 on network connections. Falls back on IPv4 automatically.
1479 --priority=<prio>
1480     (Windows only.)
1481     Set process priority for MPlayer according to the predefined priorities
1482     available under Windows.
1484     Possible values of <prio>:
1485     idle|belownormal|normal|abovenormal|high|realtime
1487     *WARNING*: Using realtime priority can cause system lockup.
1489 --profile=<profile1,profile2,...>
1490     Use the given profile(s), ``--profile=help`` displays a list of the
1491     defined profiles.
1493 --psprobe=<bytecount>
1494     When playing an MPEG-PS or MPEG-PES streams, this option lets you specify
1495     how many bytes in the stream you want MPlayer to scan in order to identify
1496     the video codec used. This option is needed to play EVO or VDR files
1497     containing H.264 streams.
1499 --pts-association-mode=<auto|decode|sort>
1500     Select the method used to determine which container packet timestamp
1501     corresponds to a particular output frame from the video decoder. Normally
1502     you shouldn't need to change this option.
1504     :auto:    Try to pick a working mode from the ones below automatically
1505               (default)
1506     :decoder: Use decoder reordering functionality.
1507     :sort:    Maintain a buffer of unused pts values and use the lowest value
1508               for the frame.
1510 --pvr=<option1:option2:...>
1511     This option tunes various encoding properties of the PVR capture module.
1512     It has to be used with any hardware MPEG encoder based card supported by
1513     the V4L2 driver. The Hauppauge WinTV PVR-150/250/350/500 and all IVTV
1514     based cards are known as PVR capture cards. Be aware that only Linux
1515     2.6.18 kernel and above is able to handle MPEG stream through V4L2 layer.
1516     For hardware capture of an MPEG stream and watching it with MPlayer, use
1517     ``pvr://`` as a movie URL.
1519     Available options are:
1521     aspect=<0-3>
1522         Specify input aspect ratio:
1524         :0: 1:1
1525         :1: 4:3 (default)
1526         :2: 16:9
1527         :3: 2.21:1
1529     arate=<32000-48000>
1530         Specify encoding audio rate (default: 48000 Hz, available: 32000,
1531         44100 and 48000 Hz).
1533     alayer=<1-3>
1534         Specify MPEG audio layer encoding (default: 2).
1536     abitrate=<32-448>
1537         Specify audio encoding bitrate in kbps (default: 384).
1539     amode=<value>
1540         Specify audio encoding mode. Available preset values are 'stereo',
1541         'joint_stereo', 'dual' and 'mono' (default: stereo).
1543     vbitrate=<value>
1544         Specify average video bitrate encoding in Mbps (default: 6).
1546     vmode=<value>
1547         Specify video encoding mode:
1549         :vbr: Variable BitRate (default)
1550         :cbr: Constant BitRate
1552     vpeak=<value>
1553         Specify peak video bitrate encoding in Mbps (only useful for VBR
1554         encoding, default: 9.6).
1556     fmt=<value>
1557         Choose an MPEG format for encoding:
1559         :ps:    MPEG-2 Program Stream (default)
1560         :ts:    MPEG-2 Transport Stream
1561         :mpeg1: MPEG-1 System Stream
1562         :vcd:   Video CD compatible stream
1563         :svcd:  Super Video CD compatible stream
1564         :dvd:   DVD compatible stream
1566 --quiet
1567     Make console output less verbose; in particular, prevents the status line
1568     (i.e. A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed. Particularly
1569     useful on slow terminals or broken ones which do not properly handle
1570     carriage return (i.e. \\r).
1572 --quvi-format=<format>
1573     When mplayer2 is given a video streaming site URL to play, and libquvi is
1574     used to translate that into the address of the actual video file, this
1575     option affects which video format is chosen in case there are several
1576     alternatives for the original URL. The value is passed directly to
1577     libquvi. Available values depend on the site and video. According to
1578     libquvi documentation, the only values that are guaranteed to be available
1579     are "default" (usually lowest quality) and "best". Defaults to "best".
1581 --radio=<option1:option2:...>
1582     These options set various parameters of the radio capture module. For
1583     listening to radio with MPlayer use ``radio://<frequency>`` (if channels
1584     option is not given) or ``radio://<channel_number>`` (if channels option
1585     is given) as a movie URL. You can see allowed frequency range by running
1586     MPlayer with ``-v``. To start the grabbing subsystem, use
1587     ``radio://<frequency or channel>/capture``. If the capture keyword is not
1588     given you can listen to radio using the line-in cable only. Using capture
1589     to listen is not recommended due to synchronization problems, which makes
1590     this process uncomfortable.
1592     Available options are:
1594     device=<value>
1595         Radio device to use (default: ``/dev/radio0`` for Linux and
1596         ``/dev/tuner0`` for \*BSD).
1598     driver=<value>
1599         Radio driver to use (default: v4l2 if available, otherwise v4l).
1600         Currently, v4l and v4l2 drivers are supported.
1602     volume=<0..100>
1603         sound volume for radio device (default 100)
1605     freq_min=<value> (\*BSD BT848 only)
1606         minimum allowed frequency (default: 87.50)
1608     freq_max=<value> (\*BSD BT848 only)
1609         maximum allowed frequency (default: 108.00)
1611     channels=<frequency>-<name>,<frequency>-<name>,...
1612         Set channel list. Use _ for spaces in names (or play with quoting ;-).
1613         The channel names will then be written using OSD and the slave
1614         commands radio_step_channel and radio_set_channel will be usable for a
1615         remote control (see LIRC). If given, number in movie URL will be
1616         treated as channel position in channel list.
1618         *EXAMPLE*: ``radio://1``, ``radio://104.4``, ``radio_set_channel 1``
1620     adevice=<value> (radio capture only)
1621         Name of device to capture sound from. Without such a name capture will
1622         be disabled, even if the capture keyword appears in the URL. For ALSA
1623         devices use it in the form ``hw=<card>.<device>``. If the device name
1624         contains a '=', the module will use ALSA to capture, otherwise OSS.
1626     arate=<value> (radio capture only)
1627         Rate in samples per second (default: 44100).
1629         *NOTE*: When using audio capture set also ``--rawaudio=rate=<value>``
1630         option with the same value as arate. If you have problems with sound
1631         speed (runs too quickly), try to play with different rate values (e.g.
1632         48000, 44100, 32000,...).
1634     achannels=<value> (radio capture only)
1635         Number of audio channels to capture.
1637 --rawaudio=<option1:option2:...>
1638     This option lets you play raw audio files. You have to use
1639     ``--demuxer=rawaudio`` as well. It may also be used to play audio CDs
1640     which are not 44kHz 16-bit stereo. For playing raw AC-3 streams use
1641     ``--rawaudio=format=0x2000 --demuxer=rawaudio``.
1643     Available options are:
1645     :channels=<value>:   number of channels
1646     :rate=<value>:       rate in samples per second
1647     :samplesize=<value>: sample size in bytes
1648     :bitrate=<value>:    bitrate for rawaudio files
1649     :format=<value>:     fourcc in hex
1651 --rawvideo=<option1:option2:...>
1652     This option lets you play raw video files. You have to use
1653     ``--demuxer=rawvideo`` as well.
1655     Available options are:
1657     :fps=<value>:                  rate in frames per second (default: 25.0)
1658     :sqcif|qcif|cif|4cif|pal|ntsc: set standard image size
1659     :w=<value>:                    image width in pixels
1660     :h=<value>:                    image height in pixels
1661     :i420|yv12|yuy2|y8:            set colorspace
1662     :format=<value>:               colorspace (fourcc) in hex or string
1663                                    constant. Use ``--rawvideo=format=help``
1664                                    for a list of possible strings.
1665     :size=<value>:                 frame size in Bytes
1667     *EXAMPLE*:
1669     - ``mplayer foreman.qcif --demuxer=rawvideo --rawvideo=qcif`` Play the
1670       famous "foreman" sample video.
1672     - ``mplayer sample-720x576.yuv --demuxer=rawvideo --rawvideo=w=720:h=576``
1673       Play a raw YUV sample.
1675 --really-quiet
1676     Display even less output and status messages than with ``--quiet``.
1678 --referrer=<string>
1679     Specify a referrer path or URL for HTTP requests.
1681 --refreshrate=<Hz>
1682     Set the monitor refreshrate in Hz. Currently only supported by
1683     ``--vo=directx`` combined with the ``--vm`` option.
1685 --reuse-socket
1686     (udp:// only)
1687     Allows a socket to be reused by other processes as soon as it is closed.
1689 --rootwin
1690     Play movie in the root window (desktop background). Desktop background
1691     images may cover the movie window, though. May not work with all video
1692     output drivers.
1694 --rtc
1695     Turns on usage of the Linux RTC (realtime clock - ``/dev/rtc``) as timing
1696     mechanism. This wakes up the process every 1/1024 seconds to check the
1697     current time. Useless with modern Linux kernels configured for desktop use
1698     as they already wake up the process with similar accuracy when using
1699     normal timed sleep.
1701 --rtc-device=<device>
1702     Use the specified device for RTC timing.
1704 --rtsp-destination
1705     Used with ``rtsp://`` URLs to force the destination IP address to be
1706     bound. This option may be useful with some RTSP server which do not send
1707     RTP packets to the right interface. If the connection to the RTSP server
1708     fails, use ``-v`` to see which IP address MPlayer tries to bind to and try
1709     to force it to one assigned to your computer instead.
1711 --rtsp-port
1712     Used with ``rtsp://`` URLs to force the client's port number. This option
1713     may be useful if you are behind a router and want to forward the RTSP
1714     stream from the server to a specific client.
1716 --rtsp-stream-over-http
1717     (LIVE555 only)
1718     Used with ``http://`` URLs to specify that the resulting incoming RTP and
1719     RTCP packets be streamed over HTTP.
1721 --rtsp-stream-over-tcp
1722     (LIVE555 and NEMESI only)
1723     Used with ``rtsp://`` URLs to specify that the resulting incoming RTP and
1724     RTCP packets be streamed over TCP (using the same TCP connection as RTSP).
1725     This option may be useful if you have a broken internet connection that
1726     does not pass incoming UDP packets (see http://www.live555.com/mplayer/).
1728 --saturation=<-100-100>
1729     Adjust the saturation of the video signal (default: 0). You can get
1730     grayscale output with this option. Not supported by all video output
1731     drivers.
1733 --saveidx=<filename>
1734     Force index rebuilding and dump the index to <filename>. Currently this
1735     only works with AVI files.
1737     *NOTE*: This option is obsolete now that MPlayer has OpenDML support.
1739 --sb=<n>
1740     Seek to byte position. Useful for playback from CD-ROM images or VOB files
1741     with junk at the beginning. See also ``--ss``.
1743 --screenh=<pixels>
1744     Specify the screen height for video output drivers which do not know the
1745     screen resolution like x11 and TV-out.
1747 --screenw=<pixels>
1748     Specify the screen width for video output drivers which do not know the
1749     screen resolution like x11 and TV-out.
1751 --show-profile=<profile>
1752     Show the description and content of a profile.
1754 --shuffle
1755     Play files in random order.
1757 --sid=<ID>
1758     Display the subtitle stream specified by <ID> (0-31). MPlayer prints the
1759     available subtitle IDs when run in verbose (``-v``) mode. If you cannot
1760     select one of the subtitles on a DVD, try ``--vobsubid``.
1761     See also ``--slang``, ``--vobsubid``, ``--nosub``.
1763 --slang=<languagecode[,languagecode,...]>
1764     Specify a priority list of subtitle languages to use. Different container
1765     formats employ different language codes. DVDs use ISO 639-1 two letter
1766     language codes, Matroska uses ISO 639-2 three letter language codes while
1767     OGM uses a free-form identifier. MPlayer prints the available languages
1768     when run in verbose (``-v``) mode. See also ``--sid``.
1770     *EXAMPLE*:
1772     - ``mplayer dvd://1 --slang=hu,en`` chooses the Hungarian subtitle track on
1773       a DVD and falls back on English if Hungarian is not available.
1774     - ``mplayer --slang=jpn example.mkv`` plays a Matroska file with Japanese
1775       subtitles.
1777 --slave
1778     Switches on slave mode, in which MPlayer works as a backend for other
1779     programs. Instead of intercepting keyboard events, MPlayer will read
1780     commands separated by a newline (\n) from stdin. See also ``--input``,
1781     suboption ``file``.
1783     *NOTE*: See ``DOCS/tech/slave.txt`` for a description of slave commands.
1784     Also, this is not intended to disable other inputs, e.g. via the video
1785     window. If you want to do that, use something like
1786     ``--input=nodefault-bindings:conf=/dev/null``.
1788 --slices, --no-slices
1789     Drawing video by 16-pixel height slices/bands, instead draws the whole
1790     frame in a single run. May be faster or slower, depending on video card
1791     and available cache. It has effect only with libavcodec codecs. Enabled by
1792     default if applicable; usually disabled when threading is used.
1794 --softsleep
1795     Time frames by repeatedly checking the current time instead of asking
1796     the kernel to wake up MPlayer at the correct time. Useful if your kernel
1797     timing is imprecise and you cannot use the RTC either. Comes at the
1798     price of higher CPU consumption.
1800 --softvol
1801     Force the use of the software mixer, instead of using the sound card
1802     mixer.
1804 --softvol-max=<10.0-10000.0>
1805     Set the maximum amplification level in percent (default: 110). A value of
1806     200 will allow you to adjust the volume up to a maximum of double the
1807     current level. With values below 100 the initial volume (which is 100%)
1808     will be above the maximum, which e.g. the OSD cannot display correctly.
1810 --speed=<0.01-100>
1811     Slow down or speed up playback by the factor given as parameter.
1813 --spuaa=<mode>
1814     Antialiasing/scaling mode for DVD/VOBsub. A value of 16 may be added to
1815     <mode> in order to force scaling even when original and scaled frame size
1816     already match. This can be employed to e.g. smooth subtitles with gaussian
1817     blur. Available modes are:
1819     :0: none (fastest, very ugly)
1820     :1: approximate (broken?)
1821     :2: full (slow)
1822     :3: bilinear (default, fast and not too bad)
1823     :4: uses swscaler gaussian blur (looks very good)
1825 --spualign=<-1-2>
1826     Specify how SPU (DVD/VOBsub) subtitles should be aligned.
1828     :-1:  Original position
1829     :0:   Align at top (original behavior, default).
1830     :1:   Align at center.
1831     :2:   Align at bottom.
1833 --spugauss=<0.0-3.0>
1834     Variance parameter of gaussian used by ``--spuaa=4``. Higher means more
1835     blur (default: 1.0).
1837 --srate=<Hz>
1838     Select the output sample rate to be used (of course sound cards have
1839     limits on this). If the sample frequency selected is different from that
1840     of the current media, the resample or lavcresample audio filter will be
1841     inserted into the audio filter layer to compensate for the difference. The
1842     type of resampling can be controlled by the ``--af-adv`` option.
1844 --ss=<time>
1845     Seek to given time position.
1847     *EXAMPLE*:
1849     ``--ss=56``
1850         Seeks to 56 seconds.
1851     ``--ss=01:10:00``
1852         Seeks to 1 hour 10 min.
1854 --ssf=<mode>
1855     Specifies software scaler parameters.
1857     :lgb=<0-100>:   gaussian blur filter (luma)
1858     :cgb=<0-100>:   gaussian blur filter (chroma)
1859     :ls=<-100-100>: sharpen filter (luma)
1860     :cs=<-100-100>: sharpen filter (chroma)
1861     :chs=<h>:       chroma horizontal shifting
1862     :cvs=<v>:       chroma vertical shifting
1864     *EXAMPLE*: ``--vf=scale=-ssf=lgb=3.0``
1866 --sstep=<sec>
1867     Skip <sec> seconds after every frame. Since MPlayer will only seek to
1868     the next keyframe unless you use ``--hr-seek`` this may be inexact.
1870 --stereo=<mode>
1871     Select type of MP2/MP3 stereo output.
1873     :0: stereo
1874     :1: left channel
1875     :2: right channel
1877 --stop-xscreensaver
1878     (X11 only)
1879     Turns off xscreensaver at startup and turns it on again on exit. If your
1880     screensaver supports neither the XSS nor XResetScreenSaver API please use
1881     ``--heartbeat-cmd`` instead.
1883 --sub=<subtitlefile1,subtitlefile2,...>
1884     Use/display these subtitle files. Only one file can be displayed at the
1885     same time.
1887 --sub-bg-alpha=<0-255>
1888     Specify the alpha channel value for subtitles and OSD backgrounds. Big
1889     values mean more transparency. 0 means completely transparent.
1891 --sub-bg-color=<0-255>
1892     Specify the color value for subtitles and OSD backgrounds. Currently
1893     subtitles are grayscale so this value is equivalent to the intensity of
1894     the color. 255 means white and 0 black.
1896 --sub-demuxer=<[+]name>
1897     Force subtitle demuxer type for ``--subfile``. Using a '+' before the name
1898     will force it, this will skip some checks! Give the demuxer name as
1899     printed by ``--sub-demuxer=help``.
1901 --sub-fuzziness=<mode>
1902     Adjust matching fuzziness when searching for subtitles:
1904     :0: exact match
1905     :1: Load all subs containing movie name.
1906     :2: Load all subs in the current and ``--sub-paths`` directories.
1908 --sub-no-text-pp
1909     Disables any kind of text post processing done after loading the
1910     subtitles. Used for debug purposes.
1912 --sub-paths=<path1:path2:...>
1913     Specify extra directories where to search for subtitles matching the
1914     video. Multiple directories can be separated by ":" (";" on Windows).
1915     Paths can be relative or absolute. Relative paths are interpreted relative
1916     to video file directory.
1918     *EXAMPLE*: Assuming that ``/path/to/movie/movie.avi`` is played and
1919     ``--sub-paths=sub:subtitles:/tmp/subs`` is specified, MPlayer searches for
1920     subtitle files in these directories:
1922     - ``/path/to/movie/``
1923     - ``/path/to/movie/sub/``
1924     - ``/path/to/movie/subtitles/``
1925     - ``/tmp/subs/``
1926     - ``~/.mplayer/sub/``
1928 --subalign=<0-2>
1929     Specify which edge of the subtitles should be aligned at the height given
1930     by ``--subpos``.
1932     :0: Align subtitle top edge (original behavior).
1933     :1: Align subtitle center.
1934     :2: Align subtitle bottom edge (default).
1936 --subcc=<1-4>
1937     Display DVD Closed Caption (CC) subtitles from the specified channel.
1938     These are *not* the VOB subtitles, these are special ASCII subtitles for
1939     the hearing impaired encoded in the VOB userdata stream on most region 1
1940     DVDs. CC subtitles have not been spotted on DVDs from other regions so
1941     far.
1943 --subcp=<codepage>
1944     If your system supports ``iconv(3)``, you can use this option to specify
1945     the subtitle codepage.
1947     *EXAMPLE*:
1948     - ``--subcp=latin2``
1949     - ``--subcp=cp1250``
1951     If the player was compiled with ENCA support you can use special syntax
1952     to use that.
1954     ``--subcp=enca:<language>:<fallback codepage>``
1956     You can specify your language using a two letter language code to make
1957     ENCA detect the codepage automatically. If unsure, enter anything and
1958     watch mplayer ``-v`` output for available languages. Fallback codepage
1959     specifies the codepage to use, when autodetection fails.
1961     *EXAMPLE*:
1963     - ``--subcp=enca:cs:latin2`` guess the encoding, assuming the subtitles
1964       are Czech, fall back on latin 2, if the detection fails.
1965     - ``--subcp=enca:pl:cp1250`` guess the encoding for Polish, fall back on
1966       cp1250.
1968 --subdelay=<sec>
1969     Delays subtitles by <sec> seconds. Can be negative.
1971 --subfile=<filename>
1972     (BETA CODE)
1973     Currently useless. Same as ``--audiofile``, but for subtitle streams
1974     (OggDS?).
1976 --subfont=<pattern-or-filename>
1977     Sets the subtitle font (see ``--font``). If no ``--subfont`` is given,
1978     ``--font`` is used for subtitles too.
1980 --subfont-autoscale=<0-3>
1981     Sets the autoscale mode.
1983     *NOTE*: 0 means that text scale and OSD scale are font heights in points.
1985     The mode can be:
1987     :0: no autoscale
1988     :1: proportional to movie height
1989     :2: proportional to movie width
1990     :3: proportional to movie diagonal (default)
1992 --subfont-blur=<0-8>
1993     Sets the font blur radius (default: 2).
1995 --subfont-encoding=<value>
1996     Sets the font encoding. When set to 'unicode', all the glyphs from the
1997     font file will be rendered and unicode will be used (default: unicode).
1999 --subfont-osd-scale=<0-100>
2000     Sets the autoscale coefficient of the OSD elements (default: 4).
2002 --subfont-outline=<0-8>
2003     Sets the font outline thickness (default: 2).
2005 --subfont-text-scale=<0-100>
2006     Sets the subtitle text autoscale coefficient as percentage of the screen
2007     size (default: 3.5).
2009 --subfps=<rate>
2010     Specify the framerate of the subtitle file (default: movie fps).
2012     *NOTE*: <rate> > movie fps speeds the subtitles up for frame-based
2013     subtitle files and slows them down for time-based ones.
2015 --subpos=<0-100>
2016     Specify the position of subtitles on the screen. The value is the vertical
2017     position of the subtitle in % of the screen height.
2018     Can be useful with ``--vf=expand``.
2020 --subwidth=<10-100>
2021     Specify the maximum width of subtitles on the screen. Useful for TV-out.
2022     The value is the width of the subtitle in % of the screen width.
2024 --sws=<n>
2025     Specify the software scaler algorithm to be used with the ``--zoom``
2026     option. This affects video output drivers which lack hardware
2027     acceleration, e.g. x11. See also ``--vf=scale`` and ``--zoom``.
2029     Available types are:
2031     :0:  fast bilinear
2032     :1:  bilinear
2033     :2:  bicubic (good quality) (default)
2034     :3:  experimental
2035     :4:  nearest neighbor (bad quality)
2036     :5:  area
2037     :6:  luma bicubic / chroma bilinear
2038     :7:  gauss
2039     :8:  sincR
2040     :9:  lanczos
2041     :10: natural bicubic spline
2043     *NOTE*: Some ``--sws`` options are tunable. The description of the scale
2044     video filter has further information.
2046 --term-osd, --no-term-osd
2047     Display OSD messages on the console when no video output is available.
2048     Enabled by default.
2050 --term-osd-esc=<string>
2051     Specify the escape sequence to use before writing an OSD message on the
2052     console. The escape sequence should move the pointer to the beginning of
2053     the line used for the OSD and clear it (default: ``^[[A\r^[[K``).
2055 --title
2056     Set the window title. Supported by X11-based video output drivers.
2057     See also ``--use-filename-title``.
2059 --tskeepbroken
2060     Tells MPlayer not to discard TS packets reported as broken in the stream.
2061     Sometimes needed to play corrupted MPEG-TS files.
2063 --tsprobe=<bytecount>
2064     When playing an MPEG-TS stream, this option lets you specify how many
2065     bytes in the stream you want MPlayer to search for the desired audio and
2066     video IDs.
2068 --tsprog=<1-65534>
2069     When playing an MPEG-TS stream, you can specify with this option which
2070     program (if present) you want to play. Can be used with ``--vid`` and
2071     ``--aid``.
2073 --tv=<option1:option2:...>
2074     This option tunes various properties of the TV capture module. For
2075     watching TV with MPlayer, use ``tv://`` or ``tv://<channel_number>`` or
2076     even ``tv://<channel_name>`` (see option channels for channel_name below)
2077     as a movie URL. You can also use ``tv:///<input_id>`` to start watching a
2078     movie from a composite or S-Video input (see option input for details).
2080     Available options are:
2082     noaudio
2083         no sound
2085     automute=<0-255> (v4l and v4l2 only)
2086         If signal strength reported by device is less than this value, audio
2087         and video will be muted. In most cases automute=100 will be enough.
2088         Default is 0 (automute disabled).
2090     driver=<value>
2091         See ``--tv=driver=help`` for a list of compiled-in TV input drivers.
2092         available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
2094     device=<value>
2095         Specify TV device (default: ``/dev/video0``). NOTE: For the bsdbt848
2096         driver you can provide both bktr and tuner device names separating
2097         them with a comma, tuner after bktr (e.g. ``--tv
2098         device=/dev/bktr1,/dev/tuner1``).
2100     input=<value>
2101         Specify input (default: 0 (TV), see console output for available
2102         inputs).
2104     freq=<value>
2105         Specify the frequency to set the tuner to (e.g. 511.250). Not
2106         compatible with the channels parameter.
2108     outfmt=<value>
2109         Specify the output format of the tuner with a preset value supported
2110         by the V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420)
2111         or an arbitrary format given as hex value. Try outfmt=help for a list
2112         of all available formats.
2114     width=<value>
2115         output window width
2117     height=<value>
2118         output window height
2120     fps=<value>
2121         framerate at which to capture video (frames per second)
2123     buffersize=<value>
2124         maximum size of the capture buffer in megabytes (default: dynamical)
2126     norm=<value>
2127         For bsdbt848 and v4l, PAL, SECAM, NTSC are available. For v4l2, see
2128         the console output for a list of all available norms, also see the
2129         normid option below.
2131     normid=<value> (v4l2 only)
2132         Sets the TV norm to the given numeric ID. The TV norm depends on the
2133         capture card. See the console output for a list of available TV norms.
2135     channel=<value>
2136         Set tuner to <value> channel.
2138     chanlist=<value>
2139         available: argentina, australia, china-bcast, europe-east,
2140         europe-west, france, ireland, italy, japan-bcast, japan-cable,
2141         newzealand, russia, southafrica, us-bcast, us-cable, us-cable-hrc
2143     channels=<chan>-<name>[=<norm>],<chan>-<name>[=<norm>],...
2144         Set names for channels.
2146         *NOTE*: If <chan> is an integer greater than 1000, it will be treated
2147         as frequency (in kHz) rather than channel name from frequency table.
2148         Use _ for spaces in names (or play with quoting ;-). The channel names
2149         will then be written using OSD, and the slave commands
2150         tv_step_channel, tv_set_channel and tv_last_channel will be usable for
2151         a remote control (see LIRC). Not compatible with the frequency
2152         parameter.
2154         *NOTE*: The channel number will then be the position in the 'channels'
2155         list, beginning with 1.
2157         *EXAMPLE*: ``tv://1``, ``tv://TV1``, ``tv_set_channel 1``,
2158         ``tv_set_channel TV1``
2160     [brightness|contrast|hue|saturation]=<-100-100>
2161         Set the image equalizer on the card.
2163     audiorate=<value>
2164         Set input audio sample rate.
2166     forceaudio
2167         Capture audio even if there are no audio sources reported by v4l.
2169     alsa
2170         Capture from ALSA.
2172     amode=<0-3>
2173         Choose an audio mode:
2175         :0: mono
2176         :1: stereo
2177         :2: language 1
2178         :3: language 2
2180     forcechan=<1-2>
2181         By default, the count of recorded audio channels is determined
2182         automatically by querying the audio mode from the TV card. This option
2183         allows forcing stereo/mono recording regardless of the amode option
2184         and the values returned by v4l. This can be used for troubleshooting
2185         when the TV card is unable to report the current audio mode.
2187     adevice=<value>
2188         Set an audio device. <value> should be ``/dev/xxx`` for OSS and a
2189         hardware ID for ALSA. You must replace any ':' by a '.' in the
2190         hardware ID for ALSA.
2192     audioid=<value>
2193         Choose an audio output of the capture card, if it has more than one.
2195     [volume|bass|treble|balance]=<0-65535> (v4l1)
2197     [volume|bass|treble|balance]=<0-100> (v4l2)
2198         These options set parameters of the mixer on the video capture card.
2199         They will have no effect, if your card does not have one. For v4l2 50
2200         maps to the default value of the control, as reported by the driver.
2202     gain=<0-100> (v4l2)
2203         Set gain control for video devices (usually webcams) to the desired
2204         value and switch off automatic control. A value of 0 enables automatic
2205         control. If this option is omitted, gain control will not be modified.
2207     immediatemode=<bool>
2208         A value of 0 means capture and buffer audio and video together. A
2209         value of 1 (default) means to do video capture only and let the audio
2210         go through a loopback cable from the TV card to the sound card.
2212     mjpeg
2213         Use hardware MJPEG compression (if the card supports it). When using
2214         this option, you do not need to specify the width and height of the
2215         output window, because MPlayer will determine it automatically from
2216         the decimation value (see below).
2218     decimation=<1|2|4>
2219         choose the size of the picture that will be compressed by hardware
2220         MJPEG compression:
2222         :1: full size
2224             - 704x576 PAL
2225             - 704x480 NTSC
2227         :2: medium size
2229             - 352x288 PAL
2230             - 352x240 NTSC
2232         :4: small size
2234             - 176x144 PAL
2235             - 176x120 NTSC
2237     quality=<0-100>
2238         Choose the quality of the JPEG compression (< 60 recommended for full
2239         size).
2241     tdevice=<value>
2242         Specify TV teletext device (example: ``/dev/vbi0``) (default: none).
2244     tformat=<format>
2245         Specify TV teletext display format (default: 0):
2247         :0: opaque
2248         :1: transparent
2249         :2: opaque with inverted colors
2250         :3: transparent with inverted colors
2252     tpage=<100-899>
2253         Specify initial TV teletext page number (default: 100).
2255     tlang=<-1-127>
2256         Specify default teletext language code (default: 0), which will be
2257         used as primary language until a type 28 packet is received. Useful
2258         when the teletext system uses a non-latin character set, but language
2259         codes are not transmitted via teletext type 28 packets for some
2260         reason. To see a list of supported language codes set this option to
2261         -1.
2263     hidden_video_renderer (dshow only)
2264         Terminate stream with video renderer instead of Null renderer
2265         (default: off). Will help if video freezes but audio does not.
2267         *NOTE*: May not work with ``--vo=directx`` and ``--vf=crop``
2268         combination.
2270     hidden_vp_renderer (dshow only)
2271         Terminate VideoPort pin stream with video renderer instead of removing
2272         it from the graph (default: off). Useful if your card has a VideoPort
2273         pin and video is choppy.
2275         *NOTE*: May not work with ``--vo=directx`` and ``--vf=crop``
2276         combination.
2278     system_clock (dshow only)
2279         Use the system clock as sync source instead of the default graph clock
2280         (usually the clock from one of the live sources in graph).
2282     normalize_audio_chunks (dshow only)
2283         Create audio chunks with a time length equal to video frame time
2284         length (default: off). Some audio cards create audio chunks about 0.5s
2285         in size, resulting in choppy video when using immediatemode=0.
2287 --tvscan=<option1:option2:...>
2288     Tune the TV channel scanner. MPlayer will also print value for "-tv
2289     channels=" option, including existing and just found channels.
2291     Available suboptions are:
2293     autostart
2294         Begin channel scanning immediately after startup (default: disabled).
2296     period=<0.1-2.0>
2297         Specify delay in seconds before switching to next channel (default:
2298         0.5). Lower values will cause faster scanning, but can detect inactive
2299         TV channels as active.
2301     threshold=<1-100>
2302         Threshold value for the signal strength (in percent), as reported by
2303         the device (default: 50). A signal strength higher than this value will
2304         indicate that the currently scanning channel is active.
2306 --unicode
2307     Tells MPlayer to handle the subtitle file as unicode.
2309 --unrarexec=<filename>
2310     Specify the path to the unrar executable so MPlayer can use it to access
2311     rar-compressed VOBsub files (default: not set, so the feature is off). The
2312     path must include the executable's filename, i.e.
2313     ``/usr/local/bin/unrar``. Not supported on MingW.
2315 --use-filedir-conf
2316     Look for a file-specific configuration file in the same directory as the
2317     file that is being played.
2319     *WARNING*: May be dangerous if playing from untrusted media.
2321 --use-filename-title
2322     Set the window title using the media filename, when not set with
2323     ``--title``. Supported by X11-based video output drivers. See also
2324     ``--title``.
2326 --user=<username>
2327     Used with some network protocols.
2328     Specify username for HTTP authentication. See also ``--passwd``.
2330 --user-agent=<string>
2331     Use <string> as user agent for HTTP streaming.
2333 --utf8
2334     Tells MPlayer to handle the subtitle file as UTF-8.
2337     Increment verbosity level, one level for each ``-v`` found on the command
2338     line.
2340 --vc=<[-\|+]codec1,[-\|+]codec2,...[,]>
2341     Specify a priority list of video codecs to be used, according to their
2342     codec name in ``codecs.conf``. Use a '-' before the codec name to omit it.
2343     Use a '+' before the codec name to force it, this will likely crash! If
2344     the list has a trailing ',' MPlayer will fall back on codecs not contained
2345     in the list.
2347     *NOTE*: See ``--vc=help`` for a full list of available codecs.
2349     *EXAMPLE*:
2351     :``--vc=divx``:                    Force Win32/VfW DivX codec, no fallback.
2352     :``--vc=-divxds,-divx,``:          Skip Win32 DivX codecs.
2353     :``--vc=ffh264vdpau,ffvc1vdpau,``: Try VDPAU decoding of H.264 or VC-1,
2354                                        then anything else.
2356 --vf=<filter1[=parameter1:parameter2:...],filter2,...>
2357     Specify a list of video filters to apply to the video stream. See
2358     `Video Filters`_ for details and descriptions of the available filters.
2359     The option variants ``--vf-add``, ``--vf-pre``, ``--vf-del`` and
2360     ``--vf-clr`` exist to modify a previously specified list, but you
2361     shouldn't need these for typical use.
2363 --vfm=<driver1,driver2,...>
2364     Specify a priority list of video codec families to be used, according to
2365     their names in codecs.conf. Falls back on the default codecs if none of
2366     the given codec families work.
2368     *NOTE*: See ``--vfm=help`` for a full list of available codec families.
2370     *EXAMPLE*:
2372     :``--vfm=ffmpeg,dshow,vfw``:
2373         Try the libavcodec, then Directshow, then VfW codecs and fall back on
2374         others, if they do not work.
2375     :``--vfm=xanim``:
2376         Try XAnim codecs first.
2378 --vid=<ID>
2379     Select video channel (MPG: 0-15, ASF: 0-255, MPEG-TS: 17-8190). When
2380     playing an MPEG-TS stream, MPlayer will use the first program (if present)
2381     with the chosen video stream.
2383 --vivo=<suboption>
2384     (DEBUG CODE)
2385     Force audio parameters for the VIVO demuxer (for debugging purposes).
2386     FIXME: Document this.
2388 --vm
2389     Try to change to a different video mode. Supported by the x11, xv,
2390     sdl and directx video output drivers. If used with the directx video
2391     output driver the ``--screenw``, ``--screenh``, ``--bpp`` and
2392     ``--refreshrate`` options can be used to set the new display mode.
2394 --vo=<driver1[:suboption1[=value]:...],driver2,...[,]>
2395     Specify a priority list of video output drivers to be used. For
2396     interactive use you'd normally specify a single one to use, but in
2397     configuration files specifying a list of fallbacks may make sense. See
2398     `Video Output Drivers`_ for details and descriptions of available drivers.
2400 --vobsub=<file>
2401     Specify a VOBsub file to use for subtitles. Has to be the full pathname
2402     without extension, i.e. without the ``.idx``, ``.ifo`` or ``.sub``.
2404 --vobsubid=<0-31>
2405     Specify the VOBsub subtitle ID.
2407 --volstep=<0-100>
2408     Set the step size of mixer volume changes in percent of the whole range
2409     (default: 3).
2411 --volume=<-1-100>
2412     Set the startup volume in the mixer, either hardware or software (if used
2413     with ``--softvol``). A value of -1 (the default) will not change the
2414     volume. See also ``--af=volume``.
2416 --vsync
2417     Enables VBI for the vesa, dfbmga and svga video output drivers.
2419 --wid=<ID>
2420     (X11, OpenGL and DirectX only)
2421     This tells MPlayer to attach to an existing window. Useful to embed
2422     MPlayer in a browser (e.g. the plugger extension). Earlier this option
2423     always filled the given window completely, thus aspect scaling, panscan,
2424     etc were no longer handled by MPlayer but had to be managed by the
2425     application that created the window. Now aspect is maintained by default.
2426     If you don't want that use ``--no-keepaspect``.
2428 --x=<width>
2429     Scale image to width <width> (if software/hardware scaling is available).
2430     Disables aspect calculations.
2432 --xineramascreen=<-2-...>
2433     In Xinerama configurations (i.e. a single desktop that spans across
2434     multiple displays) this option tells MPlayer which screen to display the
2435     movie on. A value of -2 means fullscreen across the whole virtual display
2436     (in this case Xinerama information is completely ignored), -1 means
2437     fullscreen on the display the window currently is on. The initial position
2438     set via the ``--geometry`` option is relative to the specified screen.
2439     Will usually only work with ``--fstype=-fullscreen`` or ``--fstype=none``.
2440     This option is not suitable to only set the startup screen (because it
2441     will always display on the given screen in fullscreen mode),
2442     ``--geometry`` is the best that is available for that purpose currently.
2443     Supported by at least the direct3d, gl, x11, xv and corevideo video output
2444     drivers.
2446 --xvidopts=<option1:option2:...>
2447     Specify additional parameters when decoding with Xvid.
2449     *NOTE*: Since libavcodec is faster than Xvid you might want to use the
2450     libavcodec postprocessing filter (``--vf=pp``) and decoder
2451     (``--vfm=ffmpeg``) instead.
2453     Xvid's internal postprocessing filters:
2455     :deblock-chroma (see also ``--vf=pp``):    chroma deblock filter
2456     :deblock-luma   (see also ``--vf=pp``):    luma deblock filter
2457     :dering-luma    (see also ``--vf=pp``):    luma deringing filter
2458     :dering-chroma  (see also ``--vf=pp``):    chroma deringing filter
2459     :filmeffect     (see also ``--vf=noise``):
2460         Adds artificial film grain to the video. May increase perceived
2461         quality, while lowering true quality.
2463     rendering methods:
2465     :dr2:   Activate direct rendering method 2.
2466     :nodr2: Deactivate direct rendering method 2.
2468 --xy=<value>
2470     :value<=8: Scale image by factor <value>.
2471     :value>8:  Set width to value and calculate height to keep correct aspect
2472                ratio.
2474 --y=<height>
2475     Scale image to height <height> (if software/hardware scaling is available).
2476     Disables aspect calculations.
2478 --zoom
2479     Allow software scaling, where available. This will allow scaling with
2480     output drivers (like x11) that do not support hardware scaling where
2481     MPlayer disables scaling by default for performance reasons.