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.
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
20 *NOTE*: See ``--ac=help`` for a full list of available codecs.
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
28 :``--ac=hwdts,``: Try hardware DTS passthrough, then fall back on
30 :``--ac=-ffmp3,``: Skip FFmpeg's MP3 decoder.
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)>
46 Specify advanced audio filter options:
49 Forces the insertion of audio filters to one of the following:
52 Use completely automatic filter insertion (currently identical to
55 Optimize for accuracy (default).
57 Optimize for speed. *Warning*: Some features in the audio filters
58 may silently fail, and the sound quality may drop.
60 Use no automatic insertion of filters and no optimization.
61 *Warning*: It may be possible to crash MPlayer using this setting.
63 Use automatic insertion of filters according to 0 above, but use
64 floating point processing when possible.
66 Use automatic insertion of filters according to 1 above, but use
67 floating point processing when possible.
69 Use automatic insertion of filters according to 2 above, but use
70 floating point processing when possible.
72 Use no automatic insertion of filters according to 3 above, and
73 use floating point processing when possible.
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.
87 :``--afm=ffmpeg``: Try FFmpeg's libavcodec codecs first.
88 :``--afm=acm,dshow``: Try Win32 codecs first.
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``.
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
120 Enable/disable AppleIR remote support. Enabled by default.
123 Override movie aspect ratio, in case aspect information is incorrect or
124 missing in the file being played. See also ``--noaspect``.
128 - ``--aspect=4:3`` or ``--aspect=1.3333``
129 - ``--aspect=16:9`` or ``--aspect=1.7777``
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
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``).
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.
160 - ``--ass-force-style=FontName=Arial,Default.Bold=1``
161 - ``--ass-force-style=PlayResY=768``
164 Set hinting type. <type> can be:
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``).
188 Enables placing toptitles and subtitles in black borders when they are
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).
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
217 --audiofile-cache=<kBytes>
218 Enables caching for the stream used by ``--audiofile``, using the
219 specified amount of memory.
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``.
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``.
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.
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.
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).
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>
276 Tells MPlayer which Blu-ray chapter to start the current title from
279 --bluray-device=<path>
281 Specify the Blu-ray disc location. Must be a directory with Blu-ray
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.
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.
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
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:
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
323 --cdda=<option1:option2>
324 This option can be used to tune the CD Audio reading feature of MPlayer.
326 Available options are:
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
340 Use specified generic SCSI device.
343 Set atomic read size.
346 Force minimum overlap search during verification to <value> sectors.
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.
354 Add <value> sectors to the values reported when addressing tracks. May
358 (Never) accept imperfect data reconstruction.
360 --cdrom-device=<path>
361 Specify the CD-ROM device (default: ``/dev/cdrom``).
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:
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.
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.
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
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
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
489 Support cookies when making HTTP requests. Disabled by default.
491 --cookies-file=<filename>
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
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
519 audio delay in seconds (positive or negative float value). Negative values
520 delay the audio, and positive values delay the video.
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``.
528 Specify the hostname and display number of the X server you want to
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.
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).
545 Turns on direct rendering (not supported by all codecs and video outputs)
547 *WARNING*: May cause OSD/SUB corruption!
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``.
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
565 Convert the given subtitle (specified with the ``--sub`` option) to the
566 MicroDVD subtitle format. Creates a dumpsub.sub file in the current
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
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
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.
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.
596 Dumps the subtitle substream from VOB streams. Also see the **--dump*sub**
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.
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
614 :timeout=<1-30>: Maximum number of seconds to wait when trying to tune a
615 frequency before giving up (default: 30).
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).
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.
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).
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.
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
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
654 --endpos=<[[hh:]mm:]ss[.ms]>
657 *NOTE*: When used in conjunction with ``--ss`` option, ``--endpos`` time
658 will shift forward by seconds specified with ``--ss``.
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
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.
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).
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.
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``.
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.
720 Display only forced subtitles for the DVD subtitle stream selected by e.g.
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).
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.
736 Override video framerate. Useful if the original value is wrong or missing.
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
745 Play/convert only first <number> frames, then quit.
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,...>
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
761 *NOTE*: See ``--fstype=help`` for a full list of available modes.
763 The available types are:
766 Use the ``_NETWM_STATE_ABOVE`` hint if available.
768 Use the ``_NETWM_STATE_BELOW`` hint if available.
770 Use the ``_NETWM_STATE_FULLSCREEN`` hint if available.
772 Use the ``_WIN_LAYER`` hint with the default layer.
774 Use the ``_WIN_LAYER`` hint with the given layer number.
778 Clear the list of modes; you can add modes to enable afterward.
780 Use ``_NETWM_STATE_STAYS_ON_TOP`` hint if available.
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.
791 Adjust the gamma of the video signal (default: 0). Not supported by all
792 video output drivers.
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
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 *NOTE (OSX)*: On Mac OSX the origin of the screen coordinate system is
830 located at the the bottom-left corner. For instance, ``0:0`` will place
831 the window at the bottom-left of the screen.
836 Places the window at x=50, y=40.
838 Places the window in the middle of the screen.
840 Places the window at the middle of the right edge of the screen.
842 Places the window at the bottom right corner of the screen.
844 --grabpointer, --no-grabpointer
845 ``--no-grabpointer`` tells the player to not grab the mouse pointer after a
846 video mode change (``--vm``). Useful for multihead setups.
849 More intense frame dropping (breaks decoding). Leads to image distortion!
852 Command that is executed every 30 seconds during playback via *system()* -
853 i.e. using the shell.
855 *NOTE*: mplayer uses this command without any checking, it is your
856 responsibility to ensure it does not cause security problems (e.g. make
857 sure to use full paths if "." is in your path like on Windows). It also
858 only works when playing video (i.e. not with ``--novideo`` but works with
861 This can be "misused" to disable screensavers that do not support the
862 proper X API (see also ``--stop-xscreensaver``). If you think this is too
863 complicated, ask the author of the screensaver program to support the
866 *EXAMPLE for xscreensaver*: ``mplayer --heartbeat-cmd="xscreensaver-command
869 *EXAMPLE for GNOME screensaver*: ``mplayer
870 --heartbeat-cmd="gnome-screensaver-command -p" file``
873 Show short summary of options and key bindings.
876 Only affects the internal ``audio`` demuxer, which is not used by default
877 for mp3 files any more. The equivalent functionality is always enabled
878 with the now default libavformat demuxer for mp3. Hi-res MP3 seeking.
879 Enabled when playing from an external MP3 file, as we need to seek to the
880 very exact position to keep A/V sync. Can be slow especially when seeking
881 backwards since it has to rewind to the beginning to find an exact frame
884 --hr-seek=<off|absolute|always>
885 Select when to use precise seeks that are not limited to keyframes. Such
886 seeks require decoding video from the previous keyframe up to the target
887 position and so can take some time depending on decoding performance. For
888 some video formats precise seeks are disabled. This option selects the
889 default choice to use for seeks; it's possible to explicitly override that
890 default in the definition of key bindings and in slave mode commands.
892 :off: Never use precise seeks.
893 :absolute: Use precise seeks if the seek is to an absolute position in the
894 file, such as a chapter seek, but not for relative seeks like
895 the default behavior of arrow keys (default).
896 :always: Use precise seeks whenever possible.
898 --hr-seek-demuxer-offset=<seconds>
899 This option exists to work around failures to do precise seeks (as in
900 ``--hr-seek``) caused by bugs or limitations in the demuxers for some file
901 formats. Some demuxers fail to seek to a keyframe before the given target
902 position, going to a later position instead. The value of this option is
903 subtracted from the time stamp given to the demuxer. Thus if you set this
904 option to 1.5 and try to do a precise seek to 60 seconds, the demuxer is
905 told to seek to time 58.5, which hopefully reduces the chance that it
906 erroneously goes to some time later than 60 seconds. The downside of
907 setting this option is that precise seeks become slower, as video between
908 the earlier demuxer position and the real target may be unnecessarily
911 --http-header-fields=<field1,field2>
912 Set custom HTTP fields when accessing HTTP stream.
916 ``mplayer --http-header-fields='Field1: value1','Field2: value2' http://localhost:1234``
918 Will generate HTTP request:
921 | Host: localhost:1234
922 | User-Agent: MPlayer
929 Adjust the hue of the video signal (default: 0). You can get a colored
930 negative of the image with this option. Not supported by all video output
934 Shorthand for ``--msglevel=identify=4``. Show file parameters in an easily
935 parseable format. Also prints more detailed information about subtitle and
936 audio track languages and IDs. In some cases you can get more information
937 by using ``--msglevel=identify=6``. For example, for a DVD or Blu-ray it
938 will list the chapters and time length of each title, as well as a disk
939 ID. Combine this with ``--frames=0`` to suppress all video output. The
940 wrapper script ``TOOLS/midentify.sh`` suppresses the other MPlayer output
941 and (hopefully) shellescapes the filenames.
944 Makes MPlayer wait idly instead of quitting when there is no file to play.
945 Mostly useful in slave mode where MPlayer can be controlled through input
946 commands (see also ``--slave``).
949 Rebuilds index of files if no index was found, allowing seeking. Useful
950 with broken/incomplete downloads, or badly created files. Now this is done
951 automatically by the demuxers used for most video formats, meaning that
952 this switch has no effect in the typical case. See also ``--forceidx``.
954 *NOTE*: This option only works if the underlying media supports seeking
955 (i.e. not with stdin, pipe, etc).
958 Indicate the VOBsub IFO file that will be used to load palette and frame
959 size for VOBsub subtitles.
962 Ignore the specified starting time for streams in AVI files. This
963 nullifies stream delays.
965 --include=<configuration-file>
966 Specify configuration file to be parsed after the default ones.
968 --initial-audio-sync, --no-initial-audio-sync
969 When starting a video file or after events such as seeking MPlayer will by
970 default modify the audio stream to make it start from the same timestamp
971 as video, by either inserting silence at the start or cutting away the
972 first samples. Disabling this option makes the player behave like older
973 MPlayer versions did: video and audio are both started immediately even if
974 their start timestamps differ, and then video timing is gradually adjusted
975 if necessary to reach correct synchronization later.
978 This option can be used to configure certain parts of the input system.
980 *NOTE*: Autorepeat is currently only supported by joysticks.
982 Available commands are:
985 Specify input configuration file other than the default
986 ``~/.mplayer/input.conf``. ``~/.mplayer/<filename>`` is assumed if no
990 Device to be used for Apple IR Remote (default is autodetected, Linux
994 Delay in milliseconds before we start to autorepeat a key (0 to
998 Number of key presses to generate per second on autorepeat.
1000 (no)default-bindings
1001 Use the key bindings that MPlayer ships with by default.
1004 Prints all keys that can be bound to commands.
1007 Prints all commands that can be bound to keys.
1010 Specifies the joystick device to use (default: ``/dev/input/js0``).
1013 Read commands from the given file. Mostly useful with a FIFO.
1014 See also ``--slave``.
1016 *NOTE*: When the given file is a FIFO MPlayer opens both ends so you
1017 can do several `echo "seek 10" > mp_pipe` and the pipe will stay
1021 Skip any HTTP proxy for IPv6 addresses. It will still be used for IPv4
1024 --joystick, --no-joystick
1025 Enable/disable joystick support. Enabled by default.
1027 --keepaspect, --no-keepaspect
1028 Keep window aspect ratio when resizing windows. Enabled by default. By
1029 default MPlayer tries to keep the correct video aspect ratio by
1030 instructing the window manager to maintain window aspect when resizing,
1031 and by adding black bars if the window manager nevertheless allows window
1032 shape to change. --no-keepaspect disables window manager aspect hints and
1033 scales the video to completely fill the window without regard for aspect
1036 --key-fifo-size=<2-65000>
1037 Specify the size of the FIFO that buffers key events (default: 7). If it
1038 is too small some events may be lost. The main disadvantage of setting it
1039 to a very large value is that if you hold down a key triggering some
1040 particularly slow command then the player may be unresponsive while it
1041 processes all the queued commands.
1043 --lavdopts=<option1:option2:...>
1044 Specify libavcodec decoding parameters. Separate multiple options with a
1047 *EXAMPLE*: ``--lavdopts=gray:skiploopfilter=all:skipframe=nonref``
1049 Available options are:
1052 Only use bit-exact algorithms in all decoding steps (for codec
1056 Manually work around encoder bugs.
1059 :1: autodetect bugs (default)
1060 :2: (msmpeg4v3): some old lavc generated msmpeg4v3 files (no
1062 :4: (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
1063 :8: (mpeg4): UMP4 (autodetected if fourcc==UMP4)
1064 :16: (mpeg4): padding bug (autodetected)
1065 :32: (mpeg4): illegal vlc bug (autodetected per fourcc)
1066 :64: (mpeg4): Xvid and DivX qpel bug (autodetected per
1068 :128: (mpeg4): old standard qpel (autodetected per fourcc/version)
1069 :256: (mpeg4): another qpel bug (autodetected per fourcc/version)
1070 :512: (mpeg4): direct-qpel-blocksize bug (autodetected per
1072 :1024: (mpeg4): edge padding bug (autodetected per fourcc/version)
1075 Display debugging information.
1081 :8: macroblock (MB) type
1082 :16: per-block quantization parameter (QP)
1084 :0x0040: motion vector visualization (use ``--no-slices``)
1085 :0x0080: macroblock (MB) skip
1088 :0x0400: error resilience
1089 :0x0800: memory management control operations (H.264)
1091 :0x2000: Visualize quantization parameter (QP), lower QP are tinted
1093 :0x4000: Visualize block types.
1096 Set error concealment strategy.
1098 :1: Use strong deblock filter for damaged MBs.
1099 :2: iterative motion vector (MV) search (slow)
1102 fast (MPEG-2, MPEG-4, and H.264 only)
1103 Enable optimizations which do not comply to the specification and
1104 might potentially cause problems, like simpler dequantization, simpler
1105 motion compensation, assuming use of the default quantization matrix,
1106 assuming YUV 4:2:0 and skipping a few checks to detect damaged
1110 grayscale only decoding (a bit faster than with color)
1113 For best decoding quality use the same IDCT algorithm for decoding and
1114 encoding. This may come at a price in accuracy, though.
1116 o=<key>=<value>[,<key>=<value>[,...]]
1117 Pass AVOptions to libavcodec decoder. Note, a patch to make the o=
1118 unneeded and pass all unknown options through the AVOption system is
1119 welcome. A full list of AVOptions can be found in the FFmpeg manual.
1121 *EXAMPLE*: ``o=debug=pict``
1123 sb=<number> (MPEG-2 only)
1124 Skip the given number of macroblock rows at the bottom.
1126 st=<number> (MPEG-2 only)
1127 Skip the given number of macroblock rows at the top.
1129 skiploopfilter=<skipvalue> (H.264 only)
1130 Skips the loop filter (AKA deblocking) during H.264 decoding. Since
1131 the filtered frame is supposed to be used as reference for decoding
1132 dependent frames this has a worse effect on quality than not doing
1133 deblocking on e.g. MPEG-2 video. But at least for high bitrate HDTV
1134 this provides a big speedup with no visible quality loss.
1136 <skipvalue> can be one of the following:
1139 :default: Skip useless processing steps (e.g. 0 size packets in AVI).
1140 :nonref: Skip frames that are not referenced (i.e. not used for
1141 decoding other frames, the error cannot "build up").
1142 :bidir: Skip B-Frames.
1143 :nonkey: Skip all frames except keyframes.
1144 :all: Skip all frames.
1146 skipidct=<skipvalue> (MPEG-1/2 only)
1147 Skips the IDCT step. This degrades quality a lot of in almost all
1148 cases (see skiploopfilter for available skip values).
1150 skipframe=<skipvalue>
1151 Skips decoding of frames completely. Big speedup, but jerky motion and
1152 sometimes bad artifacts (see skiploopfilter for available skip
1156 Number of threads to use for decoding. Whether threading is actually
1157 supported depends on codec. 0 means autodetect number of cores on the
1158 machine and use that, up to the maximum of 16. (default: 0)
1161 Visualize motion vectors.
1164 :1: Visualize forward predicted MVs of P-frames.
1165 :2: Visualize forward predicted MVs of B-frames.
1166 :4: Visualize backward predicted MVs of B-frames.
1169 Prints some statistics and stores them in ``./vstats_*.log``.
1171 --lavfdopts=<option1:option2:...>
1172 Specify parameters for libavformat demuxers (``--demuxer=lavf``). Separate
1173 multiple options with a colon.
1175 Available suboptions are:
1177 analyzeduration=<value>
1178 Maximum length in seconds to analyze the stream properties.
1180 Force a specific libavformat demuxer.
1181 o=<key>=<value>[,<key>=<value>[,...]]
1182 Pass AVOptions to libavformat demuxer.
1184 Note, a patch to make the *o=* unneeded and pass all unknown options
1185 through the AVOption system is welcome. A full list of AVOptions can
1186 be found in the FFmpeg manual. Note that some options may conflict
1187 with MPlayer options.
1189 *EXAMPLE*: ``o=fflags=+ignidx``
1191 Maximum amount of data to probe during the detection phase. In the
1192 case of MPEG-TS this value identifies the maximum number of TS packets
1194 cryptokey=<hexstring>
1195 Encryption key the demuxer should use. This is the raw binary data of
1196 the key converted to a hexadecimal string.
1199 Enable/disable LIRC support. Enabled by default.
1201 --lircconf=<filename>
1203 Specifies a configuration file for LIRC (default: ``~/.lircrc``).
1206 Prints all available options.
1209 Print a list of the available properties.
1211 --loadidx=<filename>
1212 The file from which to read the video index data saved by ``--saveidx``.
1213 This index will be used for seeking, overriding any index data contained
1214 in the AVI itself. MPlayer will not prevent you from loading an index file
1215 generated from a different AVI, but this is sure to cause unfavorable
1218 *NOTE*: This option is obsolete now that MPlayer has OpenDML support.
1221 Loops movie playback <number> times. 0 means forever.
1223 --mc=<seconds/frame>
1224 Maximum A-V sync correction per frame (in seconds)
1226 --mf=<option1:option2:...>
1227 Used when decoding from multiple PNG or JPEG files.
1229 Available options are:
1231 :w=<value>: input file width (default: autodetect)
1232 :h=<value>: input file height (default: autodetect)
1233 :fps=<value>: output fps (default: 25)
1234 :type=<value>: input file type (available: jpeg, png, tga, sgi)
1237 Use a mixer device different from the default ``/dev/mixer``. For ALSA
1238 this is the mixer name.
1240 --mixer-channel=<name[,index]>
1241 (``--ao=oss`` and ``--ao=alsa`` only)
1242 This option will tell MPlayer to use a different channel for controlling
1243 volume than the default PCM. Options for OSS include **vol, pcm, line**.
1244 For a complete list of options look for ``SOUND_DEVICE_NAMES`` in
1245 ``/usr/include/linux/soundcard.h``. For ALSA you can use the names e.g.
1246 alsamixer displays, like **Master, Line, PCM**.
1248 *NOTE*: ALSA mixer channel names followed by a number must be specified in
1249 the <name,number> format, i.e. a channel labeled 'PCM 1' in alsamixer must
1250 be converted to PCM,1.
1252 --monitoraspect=<ratio>
1253 Set the aspect ratio of your monitor or TV screen. A value of 0 disables a
1254 previous setting (e.g. in the config file). Overrides the
1255 ``--monitorpixelaspect`` setting if enabled.
1256 See also ``--monitorpixelaspect`` and ``--aspect``.
1260 - ``--monitoraspect=4:3`` or ``--monitoraspect=1.3333``
1261 - ``--monitoraspect=16:9`` or ``--monitoraspect=1.7777``
1263 --monitorpixelaspect=<ratio>
1264 Set the aspect of a single pixel of your monitor or TV screen (default:
1265 1). A value of 1 means square pixels (correct for (almost?) all LCDs). See
1266 also ``--monitoraspect`` and ``--aspect``.
1269 Permit MPlayer to receive pointer events reported by the video output
1270 driver. Necessary to select the buttons in DVD menus. Supported for
1271 X11-based VOs (x11, xv, etc) and the gl, direct3d and corevideo VOs.
1273 --mouseinput, --no-mouseinput
1274 Enabled by default. Disable mouse button press/release input
1275 (mozplayerxp's context menu relies on this option).
1277 --msgcharset=<charset>
1278 Convert console messages to the specified character set (default:
1279 autodetect). Text will be in the encoding specified with the --charset
1280 configure option. Set this to "noconv" to disable conversion (for e.g.
1283 *NOTE*: The option takes effect after command line parsing has finished.
1284 The ``MPLAYER_CHARSET`` environment variable can help you get rid of the
1285 first lines of garbled output.
1288 Enable colorful console output on terminals that support ANSI color.
1290 --msglevel=<module1=level1:module2=level2:...>
1291 Control verbosity directly for each module. The *all* module changes the
1292 verbosity of all the modules not explicitly specified on the command line.
1294 See ``--msglevel=help`` for a list of all modules.
1296 *NOTE*: Some messages are printed before the command line is parsed and
1297 are therefore not affected by ``--msglevel``. To control these messages
1298 you have to use the ``MPLAYER_VERBOSE`` environment variable; see its
1299 description below for details.
1303 :-1: complete silence
1304 :0: fatal messages only
1306 :2: warning messages
1308 :4: informational messages
1309 :5: status messages (default)
1310 :6: verbose messages
1316 Prepend module name in front of each console message.
1319 Set the window class name for X11-based video output methods.
1322 (Internal AVI demuxer which is not used by default only)
1323 Force usage of non-interleaved AVI parser (fixes playback of some bad AVI
1327 Ignore aspect ratio information from video file and assume the video has
1328 square pixels. See also ``--aspect``.
1331 (Internal AVI demuxer which is not used by default only)
1332 Do not use average byte/second value for A-V sync. Helps with some AVI
1333 files with broken header.
1336 Turn off input stream caching. See ``--cache``.
1339 Disables colorkeying. Only supported by the xv (see ``--vo=xv:ck``) and
1340 directx video output drivers.
1342 --noconfig=<options>
1343 Do not parse selected configuration files.
1345 *NOTE*: If ``--include`` or ``--use-filedir-conf`` options are specified
1346 at the command line, they will be honoured.
1348 Available options are:
1350 :all: all configuration files
1351 :system: system configuration file
1352 :user: user configuration file
1355 Do not use index present in the file even if one is present.
1358 Do not play sound. Useful for benchmarking.
1361 Disables any otherwise auto-selected internal subtitles (as e.g. the
1362 Matroska/mkv demuxer supports). Use ``--no-autosub`` to disable the
1363 loading of external subtitle files.
1366 Do not play video. With some demuxers this may not work. In those cases
1367 you can try ``--vc=null --vo=null`` instead; but ``--vc=null`` is always
1371 Makes the player window stay on top of other windows. Supported by video
1372 output drivers which use X11, except SDL, as well as directx and corevideo.
1374 --ordered-chapters, --no-ordered-chapters
1376 Disable support for Matroska ordered chapters. MPlayer will not load or
1377 search for video segments from other files, and will also ignore any
1378 chapter order specified for the main file.
1380 --osd-duration=<time>
1381 Set the duration of the OSD messages in ms (default: 1000).
1383 --osd-fractions=<0-2>
1384 Set how fractions of seconds of the current timestamp are printed on the
1387 :0: Do not display fractions (default).
1388 :1: Show the first two decimals.
1389 :2: Show approximate frame count within current second. This frame count
1390 is not accurate but only an approximation. For variable fps, the
1391 approximation is known to be far off the correct frame count.
1394 Specifies which mode the OSD should start in.
1397 :1: volume + seek (default)
1398 :2: volume + seek + timer + percentage
1399 :3: volume + seek + timer + percentage + total time
1402 Allows the next subtitle to be displayed while the current one is still
1403 visible (default is to enable the support only for specific formats).
1406 Enables pan-and-scan functionality (cropping the sides of e.g. a 16:9
1407 movie to make it fit a 4:3 display without black bands). The range
1408 controls how much of the image is cropped. May not work with all video
1411 *NOTE*: Values between -1 and 0 are allowed as well, but highly
1412 experimental and may crash or worse. Use at your own risk!
1414 --panscanrange=<-19.0-99.0>
1416 Change the range of the pan-and-scan functionality (default: 1). Positive
1417 values mean multiples of the default range. Negative numbers mean you can
1418 zoom in up to a factor of ``--panscanrange=+1``. E.g. ``--panscanrange=-3``
1419 allows a zoom factor of up to 4. This feature is experimental. Do not
1420 report bugs unless you are using ``--vo=gl``.
1423 Used with some network protocols. Specify password for HTTP authentication.
1424 See also ``--user``.
1426 --playing-msg=<string>
1427 Print out a string before starting playback. The following expansions are
1431 Expand to the value of the property ``NAME``.
1433 Expand ``TEXT`` only if the property ``NAME`` is available.
1435 Expand ``TEXT`` only if the property ``NAME`` is not available.
1437 --playlist=<filename>
1438 Play files according to a playlist file (ASX, Winamp, SMIL, or
1439 one-file-per-line format).
1441 *WARNING*: The way MPlayer parses and uses playlist files is not safe
1442 against maliciously constructed files. Such files may trigger harmful
1443 actions. This has been the case for all MPlayer versions, but
1444 unfortunately this fact was not well documented earlier, and some people
1445 have even misguidedly recommended use of ``--playlist`` with untrusted
1446 sources. Do NOT use ``--playlist`` with random internet sources or files
1449 *NOTE*: This option is considered an entry so options found after it will
1450 apply only to the elements of this playlist.
1452 FIXME: This needs to be clarified and documented thoroughly.
1455 This option only works when decoding video with Win32 DirectShow DLLs with
1456 internal postprocessing routines. See also ``--vf=pp``. Set the DLL
1457 postprocess level. The valid range of ``--pp`` values varies by codec, it
1458 is mostly 0-6, where 0=disable, 6=slowest/best.
1461 Show a summary about the available postprocess filters and their usage.
1462 See also ``--vf=pp``.
1465 Use IPv4 on network connections. Falls back on IPv6 automatically.
1468 Use IPv6 on network connections. Falls back on IPv4 automatically.
1472 Set process priority for MPlayer according to the predefined priorities
1473 available under Windows.
1475 Possible values of <prio>:
1476 idle|belownormal|normal|abovenormal|high|realtime
1478 *WARNING*: Using realtime priority can cause system lockup.
1480 --profile=<profile1,profile2,...>
1481 Use the given profile(s), ``--profile=help`` displays a list of the
1484 --psprobe=<bytecount>
1485 When playing an MPEG-PS or MPEG-PES streams, this option lets you specify
1486 how many bytes in the stream you want MPlayer to scan in order to identify
1487 the video codec used. This option is needed to play EVO or VDR files
1488 containing H.264 streams.
1490 --pts-association-mode=<auto|decode|sort>
1491 Select the method used to determine which container packet timestamp
1492 corresponds to a particular output frame from the video decoder. Normally
1493 you shouldn't need to change this option.
1495 :auto: Try to pick a working mode from the ones below automatically
1497 :decoder: Use decoder reordering functionality.
1498 :sort: Maintain a buffer of unused pts values and use the lowest value
1501 --pvr=<option1:option2:...>
1502 This option tunes various encoding properties of the PVR capture module.
1503 It has to be used with any hardware MPEG encoder based card supported by
1504 the V4L2 driver. The Hauppauge WinTV PVR-150/250/350/500 and all IVTV
1505 based cards are known as PVR capture cards. Be aware that only Linux
1506 2.6.18 kernel and above is able to handle MPEG stream through V4L2 layer.
1507 For hardware capture of an MPEG stream and watching it with MPlayer, use
1508 ``pvr://`` as a movie URL.
1510 Available options are:
1513 Specify input aspect ratio:
1521 Specify encoding audio rate (default: 48000 Hz, available: 32000,
1522 44100 and 48000 Hz).
1525 Specify MPEG audio layer encoding (default: 2).
1528 Specify audio encoding bitrate in kbps (default: 384).
1531 Specify audio encoding mode. Available preset values are 'stereo',
1532 'joint_stereo', 'dual' and 'mono' (default: stereo).
1535 Specify average video bitrate encoding in Mbps (default: 6).
1538 Specify video encoding mode:
1540 :vbr: Variable BitRate (default)
1541 :cbr: Constant BitRate
1544 Specify peak video bitrate encoding in Mbps (only useful for VBR
1545 encoding, default: 9.6).
1548 Choose an MPEG format for encoding:
1550 :ps: MPEG-2 Program Stream (default)
1551 :ts: MPEG-2 Transport Stream
1552 :mpeg1: MPEG-1 System Stream
1553 :vcd: Video CD compatible stream
1554 :svcd: Super Video CD compatible stream
1555 :dvd: DVD compatible stream
1558 Make console output less verbose; in particular, prevents the status line
1559 (i.e. A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed. Particularly
1560 useful on slow terminals or broken ones which do not properly handle
1561 carriage return (i.e. \\r).
1563 --quvi-format=<format>
1564 When mplayer2 is given a video streaming site URL to play, and libquvi is
1565 used to translate that into the address of the actual video file, this
1566 option affects which video format is chosen in case there are several
1567 alternatives for the original URL. The value is passed directly to
1568 libquvi. Available values depend on the site and video. According to
1569 libquvi documentation, the only values that are guaranteed to be available
1570 are "default" (usually lowest quality) and "best". Defaults to "best".
1572 --radio=<option1:option2:...>
1573 These options set various parameters of the radio capture module. For
1574 listening to radio with MPlayer use ``radio://<frequency>`` (if channels
1575 option is not given) or ``radio://<channel_number>`` (if channels option
1576 is given) as a movie URL. You can see allowed frequency range by running
1577 MPlayer with ``-v``. To start the grabbing subsystem, use
1578 ``radio://<frequency or channel>/capture``. If the capture keyword is not
1579 given you can listen to radio using the line-in cable only. Using capture
1580 to listen is not recommended due to synchronization problems, which makes
1581 this process uncomfortable.
1583 Available options are:
1586 Radio device to use (default: ``/dev/radio0`` for Linux and
1587 ``/dev/tuner0`` for \*BSD).
1590 Radio driver to use (default: v4l2 if available, otherwise v4l).
1591 Currently, v4l and v4l2 drivers are supported.
1594 sound volume for radio device (default 100)
1596 freq_min=<value> (\*BSD BT848 only)
1597 minimum allowed frequency (default: 87.50)
1599 freq_max=<value> (\*BSD BT848 only)
1600 maximum allowed frequency (default: 108.00)
1602 channels=<frequency>-<name>,<frequency>-<name>,...
1603 Set channel list. Use _ for spaces in names (or play with quoting ;-).
1604 The channel names will then be written using OSD and the slave
1605 commands radio_step_channel and radio_set_channel will be usable for a
1606 remote control (see LIRC). If given, number in movie URL will be
1607 treated as channel position in channel list.
1609 *EXAMPLE*: ``radio://1``, ``radio://104.4``, ``radio_set_channel 1``
1611 adevice=<value> (radio capture only)
1612 Name of device to capture sound from. Without such a name capture will
1613 be disabled, even if the capture keyword appears in the URL. For ALSA
1614 devices use it in the form ``hw=<card>.<device>``. If the device name
1615 contains a '=', the module will use ALSA to capture, otherwise OSS.
1617 arate=<value> (radio capture only)
1618 Rate in samples per second (default: 44100).
1620 *NOTE*: When using audio capture set also ``--rawaudio=rate=<value>``
1621 option with the same value as arate. If you have problems with sound
1622 speed (runs too quickly), try to play with different rate values (e.g.
1623 48000, 44100, 32000,...).
1625 achannels=<value> (radio capture only)
1626 Number of audio channels to capture.
1628 --rawaudio=<option1:option2:...>
1629 This option lets you play raw audio files. You have to use
1630 ``--demuxer=rawaudio`` as well. It may also be used to play audio CDs
1631 which are not 44kHz 16-bit stereo. For playing raw AC-3 streams use
1632 ``--rawaudio=format=0x2000 --demuxer=rawaudio``.
1634 Available options are:
1636 :channels=<value>: number of channels
1637 :rate=<value>: rate in samples per second
1638 :samplesize=<value>: sample size in bytes
1639 :bitrate=<value>: bitrate for rawaudio files
1640 :format=<value>: fourcc in hex
1642 --rawvideo=<option1:option2:...>
1643 This option lets you play raw video files. You have to use
1644 ``--demuxer=rawvideo`` as well.
1646 Available options are:
1648 :fps=<value>: rate in frames per second (default: 25.0)
1649 :sqcif|qcif|cif|4cif|pal|ntsc: set standard image size
1650 :w=<value>: image width in pixels
1651 :h=<value>: image height in pixels
1652 :i420|yv12|yuy2|y8: set colorspace
1653 :format=<value>: colorspace (fourcc) in hex or string
1654 constant. Use ``--rawvideo=format=help``
1655 for a list of possible strings.
1656 :size=<value>: frame size in Bytes
1660 - ``mplayer foreman.qcif --demuxer=rawvideo --rawvideo=qcif`` Play the
1661 famous "foreman" sample video.
1663 - ``mplayer sample-720x576.yuv --demuxer=rawvideo --rawvideo=w=720:h=576``
1664 Play a raw YUV sample.
1667 Display even less output and status messages than with ``--quiet``.
1670 Specify a referrer path or URL for HTTP requests.
1673 Set the monitor refreshrate in Hz. Currently only supported by
1674 ``--vo=directx`` combined with the ``--vm`` option.
1678 Allows a socket to be reused by other processes as soon as it is closed.
1681 Play movie in the root window (desktop background). Desktop background
1682 images may cover the movie window, though. May not work with all video
1686 Turns on usage of the Linux RTC (realtime clock - ``/dev/rtc``) as timing
1687 mechanism. This wakes up the process every 1/1024 seconds to check the
1688 current time. Useless with modern Linux kernels configured for desktop use
1689 as they already wake up the process with similar accuracy when using
1692 --rtc-device=<device>
1693 Use the specified device for RTC timing.
1696 Used with ``rtsp://`` URLs to force the destination IP address to be
1697 bound. This option may be useful with some RTSP server which do not send
1698 RTP packets to the right interface. If the connection to the RTSP server
1699 fails, use ``-v`` to see which IP address MPlayer tries to bind to and try
1700 to force it to one assigned to your computer instead.
1703 Used with ``rtsp://`` URLs to force the client's port number. This option
1704 may be useful if you are behind a router and want to forward the RTSP
1705 stream from the server to a specific client.
1707 --rtsp-stream-over-http
1709 Used with ``http://`` URLs to specify that the resulting incoming RTP and
1710 RTCP packets be streamed over HTTP.
1712 --rtsp-stream-over-tcp
1713 (LIVE555 and NEMESI only)
1714 Used with ``rtsp://`` URLs to specify that the resulting incoming RTP and
1715 RTCP packets be streamed over TCP (using the same TCP connection as RTSP).
1716 This option may be useful if you have a broken internet connection that
1717 does not pass incoming UDP packets (see http://www.live555.com/mplayer/).
1719 --saturation=<-100-100>
1720 Adjust the saturation of the video signal (default: 0). You can get
1721 grayscale output with this option. Not supported by all video output
1724 --saveidx=<filename>
1725 Force index rebuilding and dump the index to <filename>. Currently this
1726 only works with AVI files.
1728 *NOTE*: This option is obsolete now that MPlayer has OpenDML support.
1731 Seek to byte position. Useful for playback from CD-ROM images or VOB files
1732 with junk at the beginning. See also ``--ss``.
1735 Specify the screen height for video output drivers which do not know the
1736 screen resolution like x11 and TV-out.
1739 Specify the screen width for video output drivers which do not know the
1740 screen resolution like x11 and TV-out.
1742 --show-profile=<profile>
1743 Show the description and content of a profile.
1746 Play files in random order.
1749 Display the subtitle stream specified by <ID> (0-31). MPlayer prints the
1750 available subtitle IDs when run in verbose (``-v``) mode. If you cannot
1751 select one of the subtitles on a DVD, try ``--vobsubid``.
1752 See also ``--slang``, ``--vobsubid``, ``--nosub``.
1754 --slang=<languagecode[,languagecode,...]>
1755 Specify a priority list of subtitle languages to use. Different container
1756 formats employ different language codes. DVDs use ISO 639-1 two letter
1757 language codes, Matroska uses ISO 639-2 three letter language codes while
1758 OGM uses a free-form identifier. MPlayer prints the available languages
1759 when run in verbose (``-v``) mode. See also ``--sid``.
1763 - ``mplayer dvd://1 --slang=hu,en`` chooses the Hungarian subtitle track on
1764 a DVD and falls back on English if Hungarian is not available.
1765 - ``mplayer --slang=jpn example.mkv`` plays a Matroska file with Japanese
1769 Switches on slave mode, in which MPlayer works as a backend for other
1770 programs. Instead of intercepting keyboard events, MPlayer will read
1771 commands separated by a newline (\n) from stdin. See also ``--input``,
1774 *NOTE*: See ``DOCS/tech/slave.txt`` for a description of slave commands.
1775 Also, this is not intended to disable other inputs, e.g. via the video
1776 window. If you want to do that, use something like
1777 ``--input=nodefault-bindings:conf=/dev/null``.
1779 --slices, --no-slices
1780 Drawing video by 16-pixel height slices/bands, instead draws the whole
1781 frame in a single run. May be faster or slower, depending on video card
1782 and available cache. It has effect only with libavcodec codecs. Enabled by
1783 default if applicable; usually disabled when threading is used.
1786 Time frames by repeatedly checking the current time instead of asking
1787 the kernel to wake up MPlayer at the correct time. Useful if your kernel
1788 timing is imprecise and you cannot use the RTC either. Comes at the
1789 price of higher CPU consumption.
1792 Force the use of the software mixer, instead of using the sound card
1795 --softvol-max=<10.0-10000.0>
1796 Set the maximum amplification level in percent (default: 110). A value of
1797 200 will allow you to adjust the volume up to a maximum of double the
1798 current level. With values below 100 the initial volume (which is 100%)
1799 will be above the maximum, which e.g. the OSD cannot display correctly.
1802 Slow down or speed up playback by the factor given as parameter.
1805 Antialiasing/scaling mode for DVD/VOBsub. A value of 16 may be added to
1806 <mode> in order to force scaling even when original and scaled frame size
1807 already match. This can be employed to e.g. smooth subtitles with gaussian
1808 blur. Available modes are:
1810 :0: none (fastest, very ugly)
1811 :1: approximate (broken?)
1813 :3: bilinear (default, fast and not too bad)
1814 :4: uses swscaler gaussian blur (looks very good)
1817 Specify how SPU (DVD/VOBsub) subtitles should be aligned.
1819 :-1: Original position
1820 :0: Align at top (original behavior, default).
1821 :1: Align at center.
1822 :2: Align at bottom.
1824 --spugauss=<0.0-3.0>
1825 Variance parameter of gaussian used by ``--spuaa=4``. Higher means more
1826 blur (default: 1.0).
1829 Select the output sample rate to be used (of course sound cards have
1830 limits on this). If the sample frequency selected is different from that
1831 of the current media, the lavrresample audio filter will be inserted into
1832 the audio filter layer to compensate for the difference. The type of
1833 resampling can be controlled by the ``--af-adv`` option.
1836 Seek to given time position.
1841 Seeks to 56 seconds.
1843 Seeks to 1 hour 10 min.
1846 Specifies software scaler parameters.
1848 :lgb=<0-100>: gaussian blur filter (luma)
1849 :cgb=<0-100>: gaussian blur filter (chroma)
1850 :ls=<-100-100>: sharpen filter (luma)
1851 :cs=<-100-100>: sharpen filter (chroma)
1852 :chs=<h>: chroma horizontal shifting
1853 :cvs=<v>: chroma vertical shifting
1855 *EXAMPLE*: ``--vf=scale=-ssf=lgb=3.0``
1858 Skip <sec> seconds after every frame. Since MPlayer will only seek to
1859 the next keyframe unless you use ``--hr-seek`` this may be inexact.
1862 Select type of MP2/MP3 stereo output.
1870 Turns off xscreensaver at startup and turns it on again on exit. If your
1871 screensaver supports neither the XSS nor XResetScreenSaver API please use
1872 ``--heartbeat-cmd`` instead.
1874 --sub=<subtitlefile1,subtitlefile2,...>
1875 Use/display these subtitle files. Only one file can be displayed at the
1878 --sub-bg-alpha=<0-255>
1879 Specify the alpha channel value for subtitles and OSD backgrounds. Big
1880 values mean more transparency. 0 means completely transparent.
1882 --sub-bg-color=<0-255>
1883 Specify the color value for subtitles and OSD backgrounds. Currently
1884 subtitles are grayscale so this value is equivalent to the intensity of
1885 the color. 255 means white and 0 black.
1887 --sub-demuxer=<[+]name>
1888 Force subtitle demuxer type for ``--subfile``. Using a '+' before the name
1889 will force it, this will skip some checks! Give the demuxer name as
1890 printed by ``--sub-demuxer=help``.
1892 --sub-fuzziness=<mode>
1893 Adjust matching fuzziness when searching for subtitles:
1896 :1: Load all subs containing movie name.
1897 :2: Load all subs in the current and ``--sub-paths`` directories.
1900 Disables any kind of text post processing done after loading the
1901 subtitles. Used for debug purposes.
1903 --sub-paths=<path1:path2:...>
1904 Specify extra directories where to search for subtitles matching the
1905 video. Multiple directories can be separated by ":" (";" on Windows).
1906 Paths can be relative or absolute. Relative paths are interpreted relative
1907 to video file directory.
1909 *EXAMPLE*: Assuming that ``/path/to/movie/movie.avi`` is played and
1910 ``--sub-paths=sub:subtitles:/tmp/subs`` is specified, MPlayer searches for
1911 subtitle files in these directories:
1913 - ``/path/to/movie/``
1914 - ``/path/to/movie/sub/``
1915 - ``/path/to/movie/subtitles/``
1917 - ``~/.mplayer/sub/``
1920 Specify which edge of the subtitles should be aligned at the height given
1923 :0: Align subtitle top edge (original behavior).
1924 :1: Align subtitle center.
1925 :2: Align subtitle bottom edge (default).
1928 Display DVD Closed Caption (CC) subtitles from the specified channel.
1929 These are *not* the VOB subtitles, these are special ASCII subtitles for
1930 the hearing impaired encoded in the VOB userdata stream on most region 1
1931 DVDs. CC subtitles have not been spotted on DVDs from other regions so
1935 If your system supports ``iconv(3)``, you can use this option to specify
1936 the subtitle codepage.
1939 - ``--subcp=latin2``
1940 - ``--subcp=cp1250``
1942 If the player was compiled with ENCA support you can use special syntax
1945 ``--subcp=enca:<language>:<fallback codepage>``
1947 You can specify your language using a two letter language code to make
1948 ENCA detect the codepage automatically. If unsure, enter anything and
1949 watch mplayer ``-v`` output for available languages. Fallback codepage
1950 specifies the codepage to use, when autodetection fails.
1954 - ``--subcp=enca:cs:latin2`` guess the encoding, assuming the subtitles
1955 are Czech, fall back on latin 2, if the detection fails.
1956 - ``--subcp=enca:pl:cp1250`` guess the encoding for Polish, fall back on
1960 Delays subtitles by <sec> seconds. Can be negative.
1962 --subfile=<filename>
1964 Currently useless. Same as ``--audiofile``, but for subtitle streams
1967 --subfont=<pattern-or-filename>
1968 Sets the subtitle font (see ``--font``). If no ``--subfont`` is given,
1969 ``--font`` is used for subtitles too.
1971 --subfont-autoscale=<0-3>
1972 Sets the autoscale mode.
1974 *NOTE*: 0 means that text scale and OSD scale are font heights in points.
1979 :1: proportional to movie height
1980 :2: proportional to movie width
1981 :3: proportional to movie diagonal (default)
1983 --subfont-blur=<0-8>
1984 Sets the font blur radius (default: 2).
1986 --subfont-encoding=<value>
1987 Sets the font encoding. When set to 'unicode', all the glyphs from the
1988 font file will be rendered and unicode will be used (default: unicode).
1990 --subfont-osd-scale=<0-100>
1991 Sets the autoscale coefficient of the OSD elements (default: 4).
1993 --subfont-outline=<0-8>
1994 Sets the font outline thickness (default: 2).
1996 --subfont-text-scale=<0-100>
1997 Sets the subtitle text autoscale coefficient as percentage of the screen
1998 size (default: 3.5).
2001 Specify the framerate of the subtitle file (default: movie fps).
2003 *NOTE*: <rate> > movie fps speeds the subtitles up for frame-based
2004 subtitle files and slows them down for time-based ones.
2007 Specify the position of subtitles on the screen. The value is the vertical
2008 position of the subtitle in % of the screen height.
2009 Can be useful with ``--vf=expand``.
2012 Specify the maximum width of subtitles on the screen. Useful for TV-out.
2013 The value is the width of the subtitle in % of the screen width.
2016 Specify the software scaler algorithm to be used with the ``--zoom``
2017 option. This affects video output drivers which lack hardware
2018 acceleration, e.g. x11. See also ``--vf=scale`` and ``--zoom``.
2020 Available types are:
2024 :2: bicubic (good quality) (default)
2026 :4: nearest neighbor (bad quality)
2028 :6: luma bicubic / chroma bilinear
2032 :10: natural bicubic spline
2034 *NOTE*: Some ``--sws`` options are tunable. The description of the scale
2035 video filter has further information.
2037 --term-osd, --no-term-osd
2038 Display OSD messages on the console when no video output is available.
2041 --term-osd-esc=<string>
2042 Specify the escape sequence to use before writing an OSD message on the
2043 console. The escape sequence should move the pointer to the beginning of
2044 the line used for the OSD and clear it (default: ``^[[A\r^[[K``).
2047 Set the window title. Supported by X11-based video output drivers.
2048 See also ``--use-filename-title``.
2051 Tells MPlayer not to discard TS packets reported as broken in the stream.
2052 Sometimes needed to play corrupted MPEG-TS files.
2054 --tsprobe=<bytecount>
2055 When playing an MPEG-TS stream, this option lets you specify how many
2056 bytes in the stream you want MPlayer to search for the desired audio and
2060 When playing an MPEG-TS stream, you can specify with this option which
2061 program (if present) you want to play. Can be used with ``--vid`` and
2064 --tv=<option1:option2:...>
2065 This option tunes various properties of the TV capture module. For
2066 watching TV with MPlayer, use ``tv://`` or ``tv://<channel_number>`` or
2067 even ``tv://<channel_name>`` (see option channels for channel_name below)
2068 as a movie URL. You can also use ``tv:///<input_id>`` to start watching a
2069 movie from a composite or S-Video input (see option input for details).
2071 Available options are:
2076 automute=<0-255> (v4l and v4l2 only)
2077 If signal strength reported by device is less than this value, audio
2078 and video will be muted. In most cases automute=100 will be enough.
2079 Default is 0 (automute disabled).
2082 See ``--tv=driver=help`` for a list of compiled-in TV input drivers.
2083 available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
2086 Specify TV device (default: ``/dev/video0``). NOTE: For the bsdbt848
2087 driver you can provide both bktr and tuner device names separating
2088 them with a comma, tuner after bktr (e.g. ``--tv
2089 device=/dev/bktr1,/dev/tuner1``).
2092 Specify input (default: 0 (TV), see console output for available
2096 Specify the frequency to set the tuner to (e.g. 511.250). Not
2097 compatible with the channels parameter.
2100 Specify the output format of the tuner with a preset value supported
2101 by the V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420)
2102 or an arbitrary format given as hex value. Try outfmt=help for a list
2103 of all available formats.
2109 output window height
2112 framerate at which to capture video (frames per second)
2115 maximum size of the capture buffer in megabytes (default: dynamical)
2118 For bsdbt848 and v4l, PAL, SECAM, NTSC are available. For v4l2, see
2119 the console output for a list of all available norms, also see the
2120 normid option below.
2122 normid=<value> (v4l2 only)
2123 Sets the TV norm to the given numeric ID. The TV norm depends on the
2124 capture card. See the console output for a list of available TV norms.
2127 Set tuner to <value> channel.
2130 available: argentina, australia, china-bcast, europe-east,
2131 europe-west, france, ireland, italy, japan-bcast, japan-cable,
2132 newzealand, russia, southafrica, us-bcast, us-cable, us-cable-hrc
2134 channels=<chan>-<name>[=<norm>],<chan>-<name>[=<norm>],...
2135 Set names for channels.
2137 *NOTE*: If <chan> is an integer greater than 1000, it will be treated
2138 as frequency (in kHz) rather than channel name from frequency table.
2139 Use _ for spaces in names (or play with quoting ;-). The channel names
2140 will then be written using OSD, and the slave commands
2141 tv_step_channel, tv_set_channel and tv_last_channel will be usable for
2142 a remote control (see LIRC). Not compatible with the frequency
2145 *NOTE*: The channel number will then be the position in the 'channels'
2146 list, beginning with 1.
2148 *EXAMPLE*: ``tv://1``, ``tv://TV1``, ``tv_set_channel 1``,
2149 ``tv_set_channel TV1``
2151 [brightness|contrast|hue|saturation]=<-100-100>
2152 Set the image equalizer on the card.
2155 Set input audio sample rate.
2158 Capture audio even if there are no audio sources reported by v4l.
2164 Choose an audio mode:
2172 By default, the count of recorded audio channels is determined
2173 automatically by querying the audio mode from the TV card. This option
2174 allows forcing stereo/mono recording regardless of the amode option
2175 and the values returned by v4l. This can be used for troubleshooting
2176 when the TV card is unable to report the current audio mode.
2179 Set an audio device. <value> should be ``/dev/xxx`` for OSS and a
2180 hardware ID for ALSA. You must replace any ':' by a '.' in the
2181 hardware ID for ALSA.
2184 Choose an audio output of the capture card, if it has more than one.
2186 [volume|bass|treble|balance]=<0-65535> (v4l1)
2188 [volume|bass|treble|balance]=<0-100> (v4l2)
2189 These options set parameters of the mixer on the video capture card.
2190 They will have no effect, if your card does not have one. For v4l2 50
2191 maps to the default value of the control, as reported by the driver.
2194 Set gain control for video devices (usually webcams) to the desired
2195 value and switch off automatic control. A value of 0 enables automatic
2196 control. If this option is omitted, gain control will not be modified.
2198 immediatemode=<bool>
2199 A value of 0 means capture and buffer audio and video together. A
2200 value of 1 (default) means to do video capture only and let the audio
2201 go through a loopback cable from the TV card to the sound card.
2204 Use hardware MJPEG compression (if the card supports it). When using
2205 this option, you do not need to specify the width and height of the
2206 output window, because MPlayer will determine it automatically from
2207 the decimation value (see below).
2210 choose the size of the picture that will be compressed by hardware
2229 Choose the quality of the JPEG compression (< 60 recommended for full
2233 Specify TV teletext device (example: ``/dev/vbi0``) (default: none).
2236 Specify TV teletext display format (default: 0):
2240 :2: opaque with inverted colors
2241 :3: transparent with inverted colors
2244 Specify initial TV teletext page number (default: 100).
2247 Specify default teletext language code (default: 0), which will be
2248 used as primary language until a type 28 packet is received. Useful
2249 when the teletext system uses a non-latin character set, but language
2250 codes are not transmitted via teletext type 28 packets for some
2251 reason. To see a list of supported language codes set this option to
2254 hidden_video_renderer (dshow only)
2255 Terminate stream with video renderer instead of Null renderer
2256 (default: off). Will help if video freezes but audio does not.
2258 *NOTE*: May not work with ``--vo=directx`` and ``--vf=crop``
2261 hidden_vp_renderer (dshow only)
2262 Terminate VideoPort pin stream with video renderer instead of removing
2263 it from the graph (default: off). Useful if your card has a VideoPort
2264 pin and video is choppy.
2266 *NOTE*: May not work with ``--vo=directx`` and ``--vf=crop``
2269 system_clock (dshow only)
2270 Use the system clock as sync source instead of the default graph clock
2271 (usually the clock from one of the live sources in graph).
2273 normalize_audio_chunks (dshow only)
2274 Create audio chunks with a time length equal to video frame time
2275 length (default: off). Some audio cards create audio chunks about 0.5s
2276 in size, resulting in choppy video when using immediatemode=0.
2278 --tvscan=<option1:option2:...>
2279 Tune the TV channel scanner. MPlayer will also print value for "-tv
2280 channels=" option, including existing and just found channels.
2282 Available suboptions are:
2285 Begin channel scanning immediately after startup (default: disabled).
2288 Specify delay in seconds before switching to next channel (default:
2289 0.5). Lower values will cause faster scanning, but can detect inactive
2290 TV channels as active.
2293 Threshold value for the signal strength (in percent), as reported by
2294 the device (default: 50). A signal strength higher than this value will
2295 indicate that the currently scanning channel is active.
2297 --unrarexec=<filename>
2298 Specify the path to the unrar executable so MPlayer can use it to access
2299 rar-compressed VOBsub files (default: not set, so the feature is off). The
2300 path must include the executable's filename, i.e.
2301 ``/usr/local/bin/unrar``. Not supported on MingW.
2304 Look for a file-specific configuration file in the same directory as the
2305 file that is being played.
2307 *WARNING*: May be dangerous if playing from untrusted media.
2309 --use-filename-title
2310 Set the window title using the media filename, when not set with
2311 ``--title``. Supported by X11-based video output drivers. See also
2315 Used with some network protocols.
2316 Specify username for HTTP authentication. See also ``--passwd``.
2318 --user-agent=<string>
2319 Use <string> as user agent for HTTP streaming.
2322 Increment verbosity level, one level for each ``-v`` found on the command
2325 --vc=<[-\|+]codec1,[-\|+]codec2,...[,]>
2326 Specify a priority list of video codecs to be used, according to their
2327 codec name in ``codecs.conf``. Use a '-' before the codec name to omit it.
2328 Use a '+' before the codec name to force it, this will likely crash! If
2329 the list has a trailing ',' MPlayer will fall back on codecs not contained
2332 *NOTE*: See ``--vc=help`` for a full list of available codecs.
2336 :``--vc=divx``: Force Win32/VfW DivX codec, no fallback.
2337 :``--vc=-divxds,-divx,``: Skip Win32 DivX codecs.
2338 :``--vc=ffh264vdpau,ffvc1vdpau,``: Try VDPAU decoding of H.264 or VC-1,
2341 --vf=<filter1[=parameter1:parameter2:...],filter2,...>
2342 Specify a list of video filters to apply to the video stream. See
2343 `Video Filters`_ for details and descriptions of the available filters.
2344 The option variants ``--vf-add``, ``--vf-pre``, ``--vf-del`` and
2345 ``--vf-clr`` exist to modify a previously specified list, but you
2346 shouldn't need these for typical use.
2348 --vfm=<driver1,driver2,...>
2349 Specify a priority list of video codec families to be used, according to
2350 their names in codecs.conf. Falls back on the default codecs if none of
2351 the given codec families work.
2353 *NOTE*: See ``--vfm=help`` for a full list of available codec families.
2357 :``--vfm=ffmpeg,dshow,vfw``:
2358 Try the libavcodec, then Directshow, then VfW codecs and fall back on
2359 others, if they do not work.
2361 Try XAnim codecs first.
2364 Select video channel (MPG: 0-15, ASF: 0-255, MPEG-TS: 17-8190). When
2365 playing an MPEG-TS stream, MPlayer will use the first program (if present)
2366 with the chosen video stream.
2370 Force audio parameters for the VIVO demuxer (for debugging purposes).
2371 FIXME: Document this.
2374 Try to change to a different video mode. Supported by the x11, xv,
2375 sdl and directx video output drivers. If used with the directx video
2376 output driver the ``--screenw``, ``--screenh``, ``--bpp`` and
2377 ``--refreshrate`` options can be used to set the new display mode.
2379 --vo=<driver1[:suboption1[=value]:...],driver2,...[,]>
2380 Specify a priority list of video output drivers to be used. For
2381 interactive use you'd normally specify a single one to use, but in
2382 configuration files specifying a list of fallbacks may make sense. See
2383 `Video Output Drivers`_ for details and descriptions of available drivers.
2386 Specify a VOBsub file to use for subtitles. Has to be the full pathname
2387 without extension, i.e. without the ``.idx``, ``.ifo`` or ``.sub``.
2390 Specify the VOBsub subtitle ID.
2393 Set the step size of mixer volume changes in percent of the whole range
2397 Set the startup volume in the mixer, either hardware or software (if used
2398 with ``--softvol``). A value of -1 (the default) will not change the
2399 volume. See also ``--af=volume``.
2402 Enables VBI for the vesa, dfbmga and svga video output drivers.
2405 (X11, OpenGL and DirectX only)
2406 This tells MPlayer to attach to an existing window. Useful to embed
2407 MPlayer in a browser (e.g. the plugger extension). Earlier this option
2408 always filled the given window completely, thus aspect scaling, panscan,
2409 etc were no longer handled by MPlayer but had to be managed by the
2410 application that created the window. Now aspect is maintained by default.
2411 If you don't want that use ``--no-keepaspect``.
2414 Scale image to width <width> (if software/hardware scaling is available).
2415 Disables aspect calculations.
2417 --xineramascreen=<-2-...>
2418 In Xinerama configurations (i.e. a single desktop that spans across
2419 multiple displays) this option tells MPlayer which screen to display the
2420 movie on. A value of -2 means fullscreen across the whole virtual display
2421 (in this case Xinerama information is completely ignored), -1 means
2422 fullscreen on the display the window currently is on. The initial position
2423 set via the ``--geometry`` option is relative to the specified screen.
2424 Will usually only work with ``--fstype=-fullscreen`` or ``--fstype=none``.
2425 This option is not suitable to only set the startup screen (because it
2426 will always display on the given screen in fullscreen mode),
2427 ``--geometry`` is the best that is available for that purpose currently.
2428 Supported by at least the direct3d, gl, x11, xv and corevideo video output
2431 --xvidopts=<option1:option2:...>
2432 Specify additional parameters when decoding with Xvid.
2434 *NOTE*: Since libavcodec is faster than Xvid you might want to use the
2435 libavcodec postprocessing filter (``--vf=pp``) and decoder
2436 (``--vfm=ffmpeg``) instead.
2438 Xvid's internal postprocessing filters:
2440 :deblock-chroma (see also ``--vf=pp``): chroma deblock filter
2441 :deblock-luma (see also ``--vf=pp``): luma deblock filter
2442 :dering-luma (see also ``--vf=pp``): luma deringing filter
2443 :dering-chroma (see also ``--vf=pp``): chroma deringing filter
2444 :filmeffect (see also ``--vf=noise``):
2445 Adds artificial film grain to the video. May increase perceived
2446 quality, while lowering true quality.
2450 :dr2: Activate direct rendering method 2.
2451 :nodr2: Deactivate direct rendering method 2.
2455 :value<=8: Scale image by factor <value>.
2456 :value>8: Set width to value and calculate height to keep correct aspect
2460 Scale image to height <height> (if software/hardware scaling is available).
2461 Disables aspect calculations.
2464 Allow software scaling, where available. This will allow scaling with
2465 output drivers (like x11) that do not support hardware scaling where
2466 MPlayer disables scaling by default for performance reasons.