2 .\" MPlayer (C) 2000-2010 MPlayer Team
3 .\" This man page was/is done by Gabucino, Diego Biurrun, Jonas Jermann
5 .\" --------------------------------------------------------------------------
7 .\" --------------------------------------------------------------------------
9 .\" define indentation for suboptions
15 .\" begin of first level suboptions, end with .RE
19 .\" begin of 2nd level suboptions
24 .\" end of 2nd level suboptions
30 .\" --------------------------------------------------------------------------
32 .\" --------------------------------------------------------------------------
34 .TH MPlayer 1 "2009-03-25" "The MPlayer Project" "The Movie Player"
37 mplayer \- movie player
39 .\" --------------------------------------------------------------------------
41 .\" --------------------------------------------------------------------------
47 [options] [file|URL|playlist|\-]
52 [specific options] [file2] [specific options]
57 {group of files and options}
58 [group-specific options]
62 [br]://[title][/device]
67 [dvd|dvdnav]://[title|[start_title]\-end_title][/device]
76 tv://[channel][/input_id]
81 radio://[channel|frequency][/capture]
91 dvb://[card_number@]channel
96 mf://[filemask|@listfile]
97 [\-mf options] [options]
101 [cdda|cddb]://track[\-endtrack][:speed][/device]
111 [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]://
112 [user:pass@]URL[:port] [options]
121 mpst://host[:port]/URL
126 tivo://host/[list|llist|fsid]
131 .\" --------------------------------------------------------------------------
133 .\" --------------------------------------------------------------------------
137 is a movie player for Linux (runs on many other platforms and CPU
138 architectures, see the documentation).
139 It plays most MPEG/\:VOB, AVI, ASF/\:WMA/\:WMV, RM, QT/\:MOV/\:MP4, Ogg/\:OGM,
140 MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many
141 native and binary codecs.
142 You can watch VCD, SVCD, DVD, Blu\-ray, 3ivx, DivX 3/4/5, WMV and even H.264 movies,
145 MPlayer supports a wide range of video and audio output drivers.
146 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, libcaca, DirectFB,
147 Quartz, Mac OS X CoreVideo, but you can also use GGI, SDL (and all their drivers),
148 VESA (on every VESA-compatible card, even without X11), some low-level
149 card-specific drivers (for Matrox, 3dfx and ATI) and some hardware MPEG decoder
150 boards, such as the Siemens DVB, Hauppauge PVR (IVTV), DXR2 and DXR3/\:Hollywood+.
151 Most of them support software or hardware scaling, so you can enjoy movies in
154 MPlayer has an onscreen display (OSD) for status information, nice big
155 antialiased shaded subtitles and visual feedback for keyboard controls.
156 European/\:ISO8859-1,2 (Hungarian, English, Czech, etc), Cyrillic and Korean
157 fonts are supported along with 12 subtitle formats (MicroDVD, SubRip, OGM,
158 SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub, PJS and our own: MPsub) and
159 DVD subtitles (SPU streams, VOBsub and Closed Captions).
162 is MPlayer with a graphical user interface.
163 It has the same options as MPlayer.
165 Usage examples to get you started quickly can be found at the end
168 .B Also see the HTML documentation!
171 .\" --------------------------------------------------------------------------
172 .\" interactive control
173 .\" --------------------------------------------------------------------------
175 .SH "INTERACTIVE CONTROL"
176 MPlayer has a fully configurable, command-driven control layer
177 which allows you to control MPlayer using keyboard, mouse, joystick
178 or remote control (with LIRC).
179 See the \-input option for ways to customize it.
186 Seek backward/\:forward 10 seconds.
187 Shift+arrow does a 1 second exact seek (see \-hr\-seek; currently modifier
188 keys like shift only work if used in an X output window).
190 Seek forward/\:backward 1 minute.
191 Shift+arrow does a 5 second exact seek (see \-hr\-seek; currently modifier
192 keys like shift only work if used in an X output window).
193 .IPs "pgup and pgdown"
194 Seek forward/\:backward 10 minutes.
196 Decrease/increase current playback speed by 10%.
198 Halve/double current playback speed.
200 Reset playback speed to normal.
202 Go backward/\:forward in the playlist.
204 Go forward in the playlist, even over the end.
206 next/\:previous playtree entry in the parent list
207 .IPs "INS and DEL (ASX playlist only)"
208 next/\:previous alternative source.
210 Pause (pressing again unpauses).
213 Pressing once will pause movie, every consecutive press will play one frame
214 and then go into pause mode again (any other key unpauses).
216 Stop playing and quit.
218 Stop playing (and quit if \-idle is not used).
220 Adjust audio delay by +/\- 0.1 seconds.
222 Decrease/\:increase volume.
224 Decrease/\:increase volume.
226 Adjust audio balance in favor of left/\:right channel.
229 .IPs "_ (MPEG-TS, AVI and libavformat only)"
230 Cycle through the available video tracks.
231 .IPs "# (DVD, Blu-ray, MPEG, Matroska, AVI and libavformat only)"
232 Cycle through the available audio tracks.
233 .IPs "TAB (MPEG-TS and libavformat only)"
234 Cycle through the available programs.
236 Toggle fullscreen (also see \-fs).
238 Toggle stay-on-top (also see \-ontop).
240 Decrease/\:increase pan-and-scan range.
242 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
244 Toggle frame dropping states: none / skip display / skip decoding
245 (see \-framedrop and \-hardframedrop).
247 Toggle subtitle visibility.
249 Cycle through the available subtitles.
251 Step forward/backward in the subtitle list.
253 Toggle displaying "forced subtitles".
255 Toggle subtitle alignment: top / middle / bottom.
257 Adjust subtitle delay by +/\- 0.1 seconds.
258 .IPs "C (\-capture only)"
259 Start/stop capturing the primary stream.
261 Move subtitles up/down.
262 .IPs "i (\-edlout mode only)"
263 Set start or end of an EDL skip and write it out to the given file.
264 .IPs "s (\-vf screenshot only)"
266 .IPs "S (\-vf screenshot only)"
267 Start/stop taking screenshots.
269 Show filename on the OSD.
271 Show progression bar, elapsed time and total duration on the OSD.
273 Seek to the beginning of the previous/next chapter.
274 .IPs "D (\-vo xvmc, \-vo vdpau, \-vf yadif, \-vf kerndeint only)"
275 Activate/deactivate deinterlacer.
277 Cycle through the available DVD angles.
278 .IPs "c (currently -vo vdpau and -vo xv only)"
279 Change YUV colorspace.
284 (The following keys are valid only when using a hardware accelerated video
285 output (xv, (x)vidix, (x)mga, etc), the software equalizer
286 (\-vf eq or \-vf eq2) or hue filter (\-vf hue).)
303 (The following keys are valid only when using the quartz or corevideo
304 video output driver.)
310 Resize movie window to half its original size.
312 Resize movie window to its original size.
314 Resize movie window to double its original size.
316 Toggle fullscreen (also see \-fs).
317 .IPs "command + [ and command + ]"
318 Set movie window alpha.
323 (The following keys are valid only when using the sdl
324 video output driver.)
330 Cycle through available fullscreen modes.
332 Restore original mode.
337 (The following keys are valid if you have a keyboard
338 with multimedia keys.)
346 Stop playing and quit.
347 .IPs "PREVIOUS and NEXT"
348 Seek backward/\:forward 1 minute.
353 (The following keys are only valid if you compiled with TV or DVB input
354 support and will take precedence over the keys defined above.)
360 Select previous/\:next channel.
369 (The following keys are only valid if you compiled with dvdnav
370 support: They are used to navigate the menus.)
386 Return to nearest menu (the order of preference is: chapter->title->root).
394 (The following keys are used for controlling TV teletext. The data may
395 come from either an analog TV source or an MPEG transport stream.)
401 Switch teletext on/\:off.
403 Go to next/\:prev teletext page.
411 .IPs "button 3 and button 4"
412 Seek backward/\:forward 1 minute.
413 .IPs "button 5 and button 6"
414 Decrease/\:increase volume.
422 .IPs "left and right"
423 Seek backward/\:forward 10 seconds.
425 Seek forward/\:backward 1 minute.
429 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
430 .IPs "button 3 and button 4"
431 Decrease/\:increase volume.
436 .\" --------------------------------------------------------------------------
438 .\" --------------------------------------------------------------------------
441 Every 'flag' option has a 'noflag' counterpart, e.g.\& the opposite of the
442 \-fs option is \-nofs.
444 If an option is marked as (XXX only), it will only work in combination with
445 the XXX option or if XXX is compiled in.
448 The suboption parser (used for example for \-ao pcm suboptions) supports
449 a special kind of string-escaping intended for use with external GUIs.
451 It has the following format:
453 %n%string_of_length_n
457 mplayer \-ao pcm:file=%10%C:test.wav test.avi
461 mplayer \-ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi
464 .\" --------------------------------------------------------------------------
465 .\" Configuration files
466 .\" --------------------------------------------------------------------------
468 .SH "CONFIGURATION FILES"
469 You can put all of the options in configuration files which will be read
470 every time MPlayer is run.
471 The system-wide configuration file 'mplayer.conf' is in your configuration
472 directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the user
473 specific one is '~/\:.mplayer/\:config'.
474 User specific options override system-wide options and options given on the
475 command line override either.
476 The syntax of the configuration files is 'option=<value>', everything after
477 a '#' is considered a comment.
478 Options that work without values can be enabled by setting them to 'yes'
479 or '1' or 'true' and disabled by setting them to 'no' or '0' or 'false'.
480 Even suboptions can be specified in this way.
482 You can also write file-specific configuration files.
483 If you wish to have a configuration file for a file called 'movie.avi', create a file
484 named 'movie.avi.conf' with the file-specific options in it and put it in
486 You can also put the configuration file in the same directory as the file to
487 be played, as long as you give the \-use\-filedir\-conf option (either on the
488 command line or in your global config file).
489 If a file-specific configuration file is found in the same directory, no
490 file-specific configuration is loaded from ~/.mplayer.
491 In addition, the \-use\-filedir\-conf option enables directory-specific
493 For this, MPlayer first tries to load a mplayer.conf from the same directory as
494 the file played and then tries to load any file-specific configuration.
496 .I EXAMPLE MPLAYER CONFIGURATION FILE:
499 # Use Matrox driver by default.
501 # I love practicing handstands while watching videos.
503 # Decode multiple files from PNG,
504 # start with mf://filemask
506 # Eerie negative images are cool.
510 .\" --------------------------------------------------------------------------
512 .\" --------------------------------------------------------------------------
515 To ease working with different configurations profiles can be defined in the
517 A profile starts with its name between square brackets, e.g.\& '[my-profile]'.
518 All following options will be part of the profile.
519 A description (shown by \-profile help) can be defined with the profile-desc
521 To end the profile, start another one or use the profile name 'default'
522 to continue with normal options.
525 .I "EXAMPLE MPLAYER PROFILE:"
530 profile-desc="profile for dvd:// streams"
535 profile-desc="profile for dvdnav:// streams"
541 profile-desc="profile for .flv files"
551 .\" --------------------------------------------------------------------------
553 .\" --------------------------------------------------------------------------
555 .SH "GENERAL OPTIONS"
559 Specify a directory for binary codecs.
562 .B \-codecs\-file <filename> (also see \-afm, \-ac, \-vfm, \-vc)
563 Override the standard search path and use the specified file
564 instead of the builtin codecs.conf.
567 .B \-include <configuration file>
568 Specify configuration file to be parsed after the default ones.
572 Prints all available options.
575 .B \-msgcharset <charset>
576 Convert console messages to the specified character set (default: autodetect).
577 Text will be in the encoding specified with the \-\-charset configure option.
578 Set this to "noconv" to disable conversion (for e.g.\& iconv problems).
581 The option takes effect after command line parsing has finished.
582 The MPLAYER_CHARSET environment variable can help you get rid of
583 the first lines of garbled output.
587 Enable colorful console output on terminals that support ANSI color.
590 .B \-msglevel <all=<level>:<module>=<level>:...>
591 Control verbosity directly for each module.
592 The 'all' module changes the verbosity of all the modules not
593 explicitly specified on the command line.
594 See '\-msglevel help' for a list of all modules.
597 Some messages are printed before the command line is parsed and are
598 therefore not affected by \-msglevel.
599 To control these messages you have to use the MPLAYER_VERBOSE environment
600 variable, see its description below for details.
616 informational messages
618 status messages (default)
632 Prepend module name in front of each console message.
635 .B \-noconfig <options>
636 Do not parse selected configuration files.
639 If \-include or \-use\-filedir\-conf options are
640 specified at the command line, they will be honoured.
642 Available options are:
646 all configuration files
648 system configuration file
650 user configuration file
656 Make console output less verbose; in particular, prevents the status line
657 (i.e.\& A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed.
658 Particularly useful on slow terminals or broken ones which do not properly
659 handle carriage return (i.e.\& \\r).
662 .B \-priority <prio> (Windows and OS/2 only)
663 Set process priority for MPlayer according to the predefined
664 priorities available under Windows and OS/2.
665 Possible values of <prio>:
667 idle|belownormal|normal|abovenormal|high|realtime
672 Using realtime priority can cause system lockup.
676 .B \-profile <profile1,profile2,...>
677 Use the given profile(s), \-profile help displays a list of the defined profiles.
680 .B \-really\-quiet (also see \-quiet)
681 Display even less output and status messages than with \-quiet.
684 .B \-show\-profile <profile>
685 Show the description and content of a profile.
688 .B \-use\-filedir\-conf
689 Look for a file-specific configuration file in the same directory as
690 the file that is being played.
693 May be dangerous if playing from untrusted media.
697 Increment verbosity level, one level for each \-v
698 found on the command line.
702 .SH "PLAYER OPTIONS (MPLAYER ONLY)"
705 .B \-autoq <quality> (use with \-vf [s]pp)
706 Dynamically changes the level of postprocessing depending on the available spare
708 The number you specify will be the maximum level used.
709 Usually you can use some big number.
710 You have to use \-vf [s]pp without parameters in order for this to work.
713 .B \-autosync <factor>
714 Gradually adjusts the A/V sync based on audio delay measurements.
715 Specifying \-autosync 0, the default, will cause frame timing to be based
716 entirely on audio delay measurements.
717 Specifying \-autosync 1 will do the same, but will subtly change the A/V
718 correction algorithm.
719 An uneven video framerate in a movie which plays fine with \-nosound can
720 often be helped by setting this to an integer value greater than 1.
721 The higher the value, the closer the timing will be to \-nosound.
722 Try \-autosync 30 to smooth out problems with sound drivers which do
723 not implement a perfect audio delay measurement.
724 With this value, if large A/V sync offsets occur, they will only take about
725 1 or 2 seconds to settle out.
726 This delay in reaction time to sudden A/V offsets should be the only
727 side-effect of turning this option on, for all sound drivers.
731 Prints some statistics on CPU usage and dropped frames at the end of playback.
732 Use in combination with \-nosound and \-vo null for benchmarking only the
736 With this option MPlayer will also ignore frame duration when playing
737 only video (you can think of that as infinite fps).
740 .B \-chapter\-merge\-threshold <number>
741 Threshold for merging almost consecutive ordered chapter parts
742 in milliseconds (default: 100).
743 Some Matroska files with ordered chapters have inaccurate chapter
744 end timestamps, causing a small gap between the end of one chapter and
745 the start of the next one when they should match.
746 If the end of one playback part is less than the given threshold away
747 from the start of the next one then keep playing video normally over the
748 chapter change instead of doing a seek.
751 .B \-colorkey <number>
752 Changes the colorkey to an RGB value of your choice.
753 0x000000 is black and 0xffffff is white.
754 Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix,
755 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
760 Disables colorkeying.
761 Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix,
762 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
767 Switches MPlayer to a mode where timestamps for video frames
768 are calculated differently and video filters which add new frames or
769 modify timestamps of existing ones are supported.
770 The more accurate timestamps can be visible for example when playing
771 subtitles timed to scene changes with the \-ass option.
772 Without \-correct\-pts the subtitle timing will typically be off by some frames.
773 This option does not work correctly with some demuxers and codecs.
776 .B \-crash\-debug (DEBUG CODE)
777 Automatically attaches gdb upon crash or SIGTRAP.
778 Support must be compiled in by configuring with \-\-enable\-crash\-debug.
781 .B \-doubleclick\-time
782 Time in milliseconds to recognize two consecutive button presses as
783 a double-click (default: 300).
784 Set to 0 to let your windowing system decide what a double-click is
788 You will get slightly different behaviour depending on whether you bind
789 MOUSE_BTN0_DBL or MOUSE_BTN0\-MOUSE_BTN0_DBL.
792 .B \-edlout <filename>
793 Creates a new file and writes edit decision list (EDL) records to it.
794 During playback, the user hits 'i' to mark the start or end of a skip block.
795 This provides a starting point from which the user can fine-tune EDL entries
797 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details.
801 \-fixed\-vo enforces a fixed video system for multiple files (one
802 (un)initialization for all files).
803 Therefore only one window will be opened for all files.
804 Now enabled by default, use \-nofixed\-vo to disable and create a new window
805 whenever the video stream changes.
806 Currently the following drivers are fixed-vo compliant: gl, gl2, mga, svga, x11,
807 xmga, xv, xvidix and dfbmga.
810 .B \-framedrop (also see \-hardframedrop, experimental without \-nocorrect\-pts)
811 Skip displaying some frames to maintain A/V sync on slow systems.
812 Video filters are not applied to such frames.
813 For B-frames even decoding is skipped completely.
816 .B \-h, \-help, \-\-help
817 Show short summary of options.
820 .B \-hardframedrop (experimental without \-nocorrect\-pts)
821 More intense frame dropping (breaks decoding).
822 Leads to image distortion!
823 Note that especially the libmpeg2 decoder may crash with this,
824 so consider using "\-vc ffmpeg12,".
828 Command that is executed every 30 seconds during playback via system() -
829 i.e.\& using the shell.
832 MPlayer uses this command without any checking, it is your responsibility
833 to ensure it does not cause security problems (e.g.\& make sure to use full
834 paths if "." is in your path like on Windows).
835 It also only works when playing video (i.e.\& not with \-novideo but works with \-vo null).
837 This can be "misused" to disable screensavers that do not support the proper
838 X API (also see \-stop\-xscreensaver).
839 If you think this is too complicated, ask the author of the screensaver
840 program to support the proper X APIs.
842 .I EXAMPLE for xscreensaver:
843 mplayer \-heartbeat\-cmd "xscreensaver\-command \-deactivate" file
845 .I EXAMPLE for GNOME screensaver:
846 mplayer \-heartbeat\-cmd "gnome\-screensaver\-command \-p" file
851 .B \-hr\-seek off|absolute|always
852 Select when to use precise seeks that are not limited to keyframes.
853 Such seeks require decoding video from the previous keyframe up to the target
854 position and so can take some time depending on decoding performance.
855 For some video formats precise seeks are disabled. This option selects the
856 default choice to use for seeks; it's possible to explicitly override that
857 default in the definition of key bindings and in slave mode commands.
861 Never use precise seeks.
863 Use precise seeks if the seek is to an absolute position in the file,
864 such as a chapter seek, but not for relative seeks like the default
865 behavior of arrow keys (default).
867 Use precise seeks whenever possible.
873 Shorthand for \-msglevel identify=4.
874 Show file parameters in an easily parseable format.
875 Also prints more detailed information about subtitle and audio
876 track languages and IDs.
877 In some cases you can get more information by using \-msglevel identify=6.
878 For example, for a DVD or Blu\-ray it will list the chapters and time length
879 of each title, as well as a disk ID.
880 Combine this with \-frames 0 to suppress all video output.
881 The wrapper script TOOLS/\:midentify.sh suppresses the other MPlayer output and
882 (hopefully) shellescapes the filenames.
885 .B \-idle (also see \-slave)
886 Makes MPlayer wait idly instead of quitting when there is no file to play.
887 Mostly useful in slave mode where MPlayer can be controlled
888 through input commands.
891 .B \-input <commands>
892 This option can be used to configure certain parts of the input system.
893 Paths are relative to ~/.mplayer/.
896 Autorepeat is currently only supported by joysticks.
898 Available commands are:
903 Specify input configuration file other than the default
904 ~/\:.mplayer/\:input.conf.
905 ~/\:.mplayer/\:<filename> is assumed if no full path is given.
907 Device to be used for Apple IR Remote (default is autodetected, Linux only).
909 Delay in milliseconds before we start to autorepeat a key (0 to disable).
911 Number of key presses to generate per second on autorepeat.
912 .IPs (no)default-bindings
913 Use the key bindings that MPlayer ships with by default.
915 Prints all keys that can be bound to commands.
917 Prints all commands that can be bound to keys.
919 Specifies the joystick device to use (default: /dev/\:input/\:js0).
921 Read commands from the given file.
922 Mostly useful with a FIFO.
925 When the given file is a FIFO MPlayer opens both ends so you can do
926 several 'echo "seek 10" > mp_pipe' and the pipe will stay valid.
931 .B \-key\-fifo\-size <2\-65000>
932 Specify the size of the FIFO that buffers key events (default: 7).
933 A FIFO of size n can buffer (n\-1) events.
934 If it is too small some events may be lost
935 (leading to "stuck mouse buttons" and similar effects).
936 If it is too big, MPlayer may seem to hang while it
937 processes the buffered events.
938 To get the same behavior as before this option was introduced,
939 set it to 2 for Linux or 1024 for Windows.
942 .B \-lircconf <filename> (LIRC only)
943 Specifies a configuration file for LIRC (default: ~/.lircrc).
946 .B \-list\-properties
947 Print a list of the available properties.
951 Loops movie playback <number> times.
955 .B \-menu (OSD menu only)
956 Turn on OSD menu support.
959 .B \-menu\-cfg <filename> (OSD menu only)
960 Use an alternative menu.conf.
963 .B \-menu\-chroot <path> (OSD menu only)
964 Chroot the file selection menu to a specific location.
969 .IPs "\-menu\-chroot /home"
970 Will restrict the file selection menu to /\:home and downward (i.e.\& no
971 access to / will be possible, but /home/user_name will).
976 .B \-menu\-keepdir (OSD menu only)
977 File browser starts from the last known location instead of current directory.
980 .B \-menu\-root <value> (OSD menu only)
981 Specify the main menu.
984 .B \-menu\-startup (OSD menu only)
985 Display the main menu at MPlayer startup.
988 .B \-mouse\-movements
989 Permit MPlayer to receive pointer events reported by the video
991 Necessary to select the buttons in DVD menus.
992 Supported for X11-based VOs (x11, xv, xvmc, etc) and the gl, gl2, direct3d and
997 Turns off AppleIR remote support.
1000 .B \-noconsolecontrols
1001 Prevent MPlayer from reading key events from standard input.
1002 Useful when reading data from standard input.
1003 This is automatically enabled when \- is found on the command line.
1004 There are situations where you have to set it manually, e.g.\&
1005 if you open /dev/\:stdin (or the equivalent on your system), use stdin
1006 in a playlist or intend to read from stdin later on via the loadfile or
1007 loadlist slave commands.
1010 .B \-noinitial-audio-sync
1011 When starting a video file or after events such as seeking MPlayer will by
1012 default modify the audio stream to make it start from the same timestamp as
1013 video, by either inserting silence at the start or cutting away the first
1015 This option disables that functionality and makes the player behave like
1016 older MPlayer versions did: video and audio are both started immediately
1017 even if their start timestamps differ, and then video timing is gradually
1018 adjusted if necessary to reach correct synchronization later.
1022 Turns off joystick support.
1026 Turns off LIRC support.
1030 Disable mouse button press/\:release input (mozplayerxp's context menu relies
1033 .B \-noordered\-chapters
1034 Disable support for Matroska ordered chapters.
1035 MPlayer will not load or search for video segments from other files,
1036 and will also ignore any chapter order specified for the main file.
1039 .B \-pts\-association\-mode auto|decode|sort
1040 Select the method used to determine which container packet timestamp
1041 corresponds to a particular output frame from the video decoder.
1042 Normally you shouldn't need to change this option.
1046 Try to pick a working mode from the ones below automatically (default)
1048 Use decoder reordering functionality.
1050 Maintain a buffer of unused pts values and use the lowest value for the frame.
1056 Turns on usage of the Linux RTC (realtime clock \- /dev/\:rtc) as timing
1058 This wakes up the process every 1/1024 seconds to check the current time.
1059 Useless with modern Linux kernels configured for desktop use as they already
1060 wake up the process with similar accuracy when using normal timed sleep.
1063 .B \-playing\-msg <string>
1064 Print out a string before starting playback.
1065 The following expansions are supported:
1068 Expand to the value of the property NAME.
1070 Expand TEXT only if the property NAME is available.
1072 Expand TEXT only if the property NAME is not available.
1076 .B \-playlist <filename>
1077 Play files according to a playlist file (ASX, Winamp, SMIL, or
1078 one-file-per-line format).
1081 This option is considered an entry so options found after it will apply
1082 only to the elements of this playlist.
1084 FIXME: This needs to be clarified and documented thoroughly.
1087 .B \-rtc\-device <device>
1088 Use the specified device for RTC timing.
1092 Play files in random order.
1095 .B \-slave (also see \-input)
1096 Switches on slave mode, in which MPlayer works as a backend for other programs.
1097 Instead of intercepting keyboard events, MPlayer will read commands separated
1098 by a newline (\\n) from stdin.
1101 See \-input cmdlist for a list of slave commands and DOCS/tech/slave.txt
1102 for their description.
1103 Also, this is not intended to disable other inputs, e.g.\& via the video window,
1104 use some other method like \-input nodefault\-bindings:conf=/dev/null for that.
1108 Time frames by repeatedly checking the current time instead of asking the
1109 kernel to wake up MPlayer at the correct time.
1110 Useful if your kernel timing is imprecise and you cannot use the RTC either.
1111 Comes at the price of higher CPU consumption.
1115 Skip <sec> seconds after every frame.
1116 The normal framerate of the movie is kept, so playback is accelerated.
1117 Since MPlayer can only seek to the next keyframe this may be inexact.
1121 .SH "DEMUXER/STREAM OPTIONS"
1125 Select the Dynamic Range Compression level for AC-3 audio streams.
1126 <level> is a float value ranging from 0 to 1, where 0 means no compression
1127 and 1 (which is the default) means full compression (make loud passages more
1128 silent and vice versa).
1129 Values up to 2 are also accepted, but are purely experimental.
1130 This option only shows an effect if the AC-3 stream contains the required range
1131 compression information.
1134 .B \-aid <ID> (also see \-alang)
1135 Select audio channel (MPEG: 0\-31, AVI/\:OGM: 1\-99, ASF/\:RM: 0\-127,
1136 VOB(AC-3): 128\-159, VOB(LPCM): 160\-191, MPEG-TS 17\-8190).
1137 MPlayer prints the available audio IDs when run in verbose (\-v) mode.
1138 When playing an MPEG-TS stream, MPlayer will use the first program (if present)
1139 with the chosen audio stream.
1142 .B \-ausid <ID> (also see \-alang)
1143 Select audio substream channel.
1144 Currently the valid range is 0x55..0x75 and applies only to MPEG-TS when handled
1145 by the native demuxer (not by libavformat).
1146 The format type may not be correctly identified because of how this information
1147 (or lack thereof) is embedded in the stream, but it will demux correctly the
1148 audio streams when multiple substreams are present.
1149 MPlayer prints the available substream IDs when run with \-identify.
1152 .B \-alang <language code[,language code,...]> (also see \-aid)
1153 Specify a priority list of audio languages to use.
1154 Different container formats employ different language codes.
1155 DVDs use ISO 639-1 two letter language codes, Matroska, MPEG-TS and NUT
1156 use ISO 639-2 three letter language codes while OGM uses a free-form identifier.
1157 MPlayer prints the available languages when run in verbose (\-v) mode.
1162 .IPs "mplayer dvd://1 \-alang hu,en"
1163 Chooses the Hungarian language track on a DVD and falls back on English if
1164 Hungarian is not available.
1165 .IPs "mplayer \-alang jpn example.mkv"
1166 Plays a Matroska file in Japanese.
1171 .B \-audio\-demuxer <[+]name> (\-audiofile only)
1172 Force audio demuxer type for \-audiofile.
1173 Use a '+' before the name to force it, this will skip some checks!
1174 Give the demuxer name as printed by \-audio\-demuxer help.
1175 For backward compatibility it also accepts the demuxer ID as defined in
1176 libmpdemux/\:demuxer.h.
1177 \-audio\-demuxer audio or \-audio\-demuxer 17 forces MP3.
1180 .B \-audiofile <filename>
1181 Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a
1185 .B \-audiofile\-cache <kBytes>
1186 Enables caching for the stream used by \-audiofile, using the specified
1190 .B \-reuse\-socket (udp:// only)
1191 Allows a socket to be reused by other processes as soon as it is closed.
1194 .B \-bandwidth <Bytes> (network only)
1195 Specify the maximum bandwidth for network streaming (for servers that are
1196 able to send content in different bitrates).
1197 Useful if you want to watch live streamed media behind a slow connection.
1198 With Real RTSP streaming, it is also used to set the maximum delivery
1199 bandwidth allowing faster cache filling and stream dumping.
1202 .B \-bluray\-angle <angle ID> (Blu\-ray only)
1203 Some Blu\-ray discs contain scenes that can be viewed from multiple angles.
1204 Here you can tell MPlayer which angles to use (default: 1).
1207 .B \-bluray\-chapter <chapter ID> (Blu\-ray only)
1208 Tells MPlayer which Blu\-ray chapter to start the current title from (default: 1).
1211 .B \-bluray\-device <path to disc> (Blu\-ray only)
1212 Specify the Blu\-ray disc location. Must be a directory with Blu\-ray structure.
1216 This option specifies how much memory (in kBytes) to use when precaching a
1218 Especially useful on slow media.
1225 .B \-cache\-min <percentage>
1226 Playback will start when the cache has been filled up to <percentage>
1230 .B \-cache\-seek\-min <percentage>
1231 If a seek is to be made to a position within <percentage> of the cache size
1232 from the current position, MPlayer will wait for the cache to be filled to
1233 this position rather than performing a stream seek (default: 50).
1236 .B \-capture (MPlayer only)
1237 Allows capturing the primary stream (not additional audio tracks or other
1238 kind of streams) into the file specified by \-dumpfile or \"stream.dump\"
1240 If this option is given, capturing can be started and stopped by pressing
1241 the key bound to this function (see section INTERACTIVE CONTROL).
1242 Same as for \-dumpstream, this will likely not produce usable results for
1243 anything else than MPEG streams.
1244 Note that, due to cache latencies, captured data may begin and end
1245 somewhat delayed compared to what you see displayed.
1248 .B \-cdda <option1:option2> (CDDA only)
1249 This option can be used to tune the CD Audio reading feature of MPlayer.
1251 Available options are:
1255 .IPs paranoia=<0\-2>
1257 Values other than 0 seem to break playback of anything but the first track.
1259 0: disable checking (default)
1261 1: overlap checking only
1263 2: full data correction and verification
1265 .IPs generic-dev=<value>
1266 Use specified generic SCSI device.
1267 .IPs sector-size=<value>
1268 Set atomic read size.
1269 .IPs overlap=<value>
1270 Force minimum overlap search during verification to <value> sectors.
1272 Assume that the beginning offset of track 1 as reported in the TOC will be
1274 Some Toshiba drives need this for getting track boundaries correct.
1275 .IPs toc-offset=<value>
1276 Add <value> sectors to the values reported when addressing tracks.
1279 (Never) accept imperfect data reconstruction.
1283 .B \-cdrom\-device <path to device>
1284 Specify the CD-ROM device (default: /dev/\:cdrom).
1287 .B \-channels <number> (also see \-af channels)
1288 Request the number of playback channels (default: 2).
1289 MPlayer asks the decoder to decode the audio into as many channels as
1291 Then it is up to the decoder to fulfill the requirement.
1292 This is usually only important when playing videos with AC-3 audio (like DVDs).
1293 In that case liba52 does the decoding by default and correctly downmixes the
1294 audio into the requested number of channels.
1295 To directly control the number of output channels independently of how many
1296 channels are decoded, use the channels filter.
1299 This option is honored by codecs (AC-3 only), filters (surround) and audio
1300 output drivers (OSS at least).
1302 Available options are:
1318 .B \-chapter <chapter ID>[\-<endchapter ID>] (dvd:// and dvdnav:// only)
1319 Specify which chapter to start playing at.
1320 Optionally specify which chapter to end playing at (default: 1).
1323 .B \-edition <edition ID> (Matroska, MPlayer only)
1324 Specify the edition (set of chapters) to use, where 0 is the first. If set to
1325 -1 (the default), MPlayer will choose the first edition declared as a default,
1326 or if there is no default, the first edition defined.
1329 .B \-cookies (network only)
1330 Send cookies when making HTTP requests.
1333 .B \-cookies\-file <filename> (network only)
1334 Read HTTP cookies from <filename> (default: ~/.mozilla/ and ~/.netscape/)
1335 and skip reading from default locations.
1336 The file is assumed to be in Netscape format.
1340 audio delay in seconds (positive or negative float value)
1342 Negative values delay the audio, and positive values delay the video.
1346 Ignore the specified starting time for streams in AVI files.
1347 This nullifies stream delays.
1350 .B \-demuxer <[+]name>
1352 Use a '+' before the name to force it, this will skip some checks!
1353 Give the demuxer name as printed by \-demuxer help.
1354 For backward compatibility it also accepts the demuxer ID as defined in
1355 libmpdemux/\:demuxer.h.
1358 .B \-dumpaudio (MPlayer only)
1359 Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/\:AC-3,
1360 in most other cases the resulting file will not be playable).
1361 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1362 on the command line only the last one will work.
1365 .B \-dumpfile <filename> (MPlayer only)
1366 Specify which file MPlayer should dump to.
1367 Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream /
1371 .B \-dumpstream (MPlayer only)
1372 Dumps the raw stream to ./stream.dump.
1373 Useful when ripping from DVD or network.
1374 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1375 on the command line only the last one will work.
1378 .B \-dumpvideo (MPlayer only)
1379 Dump raw compressed video stream to ./stream.dump (not very usable).
1380 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1381 on the command line only the last one will work.
1384 .B \-dvbin <options> (DVB only)
1385 Pass the following parameters to the DVB input module, in order to override
1391 Specifies using card number 1\-4 (default: 1).
1392 .IPs file=<filename>
1393 Instructs MPlayer to read the channels list from <filename>.
1394 Default is ~/.mplayer/\:channels.conf.{sat,ter,cbl,atsc} (based on your card type)
1395 or ~/.mplayer/\:channels.conf as a last resort.
1396 .IPs timeout=<1\-30>
1397 Maximum number of seconds to wait when trying to tune a
1398 frequency before giving up (default: 30).
1403 .B \-dvd\-device <path to device> (DVD only)
1404 Specify the DVD device or .iso filename (default: /dev/\:dvd).
1405 You can also specify a directory that contains files previously copied directly
1406 from a DVD (with e.g.\& vobcopy).
1409 .B \-dvd\-speed <factor or speed in KB/s> (DVD only)
1410 Try to limit DVD speed (default: 0, no change).
1411 DVD base speed is about 1350KB/s, so a 8x drive can read at speeds up to
1413 Slower speeds make the drive more quiet, for watching DVDs 2700KB/s should be
1414 quiet and fast enough.
1415 MPlayer resets the speed to the drive default value on close.
1416 Values less than 100 mean multiples of 1350KB/s, i.e.\& \-dvd\-speed 8 selects
1420 You need write access to the DVD device to change the speed.
1423 .B \-dvdangle <angle ID> (DVD only)
1424 Some DVD discs contain scenes that can be viewed from multiple angles.
1425 Here you can tell MPlayer which angles to use (default: 1).
1429 Enables edit decision list (EDL) actions during playback.
1430 Video will be skipped over and audio will be muted and unmuted according to
1431 the entries in the given file.
1432 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details
1436 .B \-endpos <[[hh:]mm:]ss[.ms]> (also see \-ss and \-sb)
1440 When used in conjunction with \-ss option, \-endpos time will shift forward by
1441 seconds specified with \-ss.
1448 .IPs "\-endpos 01:10:00"
1449 Stop at 1 hour 10 minutes.
1450 .IPs "\-ss 10 \-endpos 56"
1451 Stop at 1 minute 6 seconds.
1457 Force index rebuilding.
1458 Useful for files with broken index (A/V desync, etc).
1459 This will enable seeking in files where seeking was not possible.
1462 This option only works if the underlying media supports seeking
1463 (i.e.\& not with stdin, pipe, etc).
1466 .B \-fps <float value>
1467 Override video framerate.
1468 Useful if the original value is wrong or missing.
1471 .B \-frames <number>
1472 Play/\:convert only first <number> frames, then quit.
1475 .B \-hr\-mp3\-seek (MP3 only)
1477 Enabled when playing from an external MP3 file, as we need to seek
1478 to the very exact position to keep A/V sync.
1479 Can be slow especially when seeking backwards since it has to rewind
1480 to the beginning to find an exact frame position.
1483 .B \-idx (also see \-forceidx)
1484 Rebuilds index of files if no index was found, allowing seeking.
1485 Useful with broken/\:incomplete downloads, or badly created files.
1488 This option only works if the underlying media supports seeking
1489 (i.e.\& not with stdin, pipe, etc).
1493 Skip rebuilding index file.
1496 .B \-ipv4\-only\-proxy (network only)
1497 Skip the proxy for IPv6 addresses.
1498 It will still be used for IPv4 connections.
1501 .B \-loadidx <index file>
1502 The file from which to read the video index data saved by \-saveidx.
1503 This index will be used for seeking, overriding any index data
1504 contained in the AVI itself.
1505 MPlayer will not prevent you from loading an index file generated
1506 from a different AVI, but this is sure to cause unfavorable results.
1509 This option is obsolete now that MPlayer has OpenDML support.
1512 .B \-mc <seconds/frame>
1513 maximum A-V sync correction per frame (in seconds)
1516 .B \-mf <option1:option2:...>
1517 Used when decoding from multiple PNG or JPEG files.
1519 Available options are:
1524 input file width (default: autodetect)
1526 input file height (default: autodetect)
1528 output fps (default: 25)
1530 input file type (available: jpeg, png, tga, sgi)
1536 Force usage of non-interleaved AVI parser (fixes playback
1537 of some bad AVI files).
1540 .B \-nobps (AVI only)
1541 Do not use average byte/\:second value for A-V sync.
1542 Helps with some AVI files with broken header.
1546 Disables extension-based demuxer selection.
1547 By default, when the file type (demuxer) cannot be detected reliably
1548 (the file has no header or it is not reliable enough), the filename
1549 extension is used to select the demuxer.
1550 Always falls back on content-based demuxer selection.
1553 .B \-passwd <password> (also see \-user) (network only)
1554 Specify password for HTTP authentication.
1557 .B \-prefer\-ipv4 (network only)
1558 Use IPv4 on network connections.
1559 Falls back on IPv6 automatically.
1562 .B \-prefer\-ipv6 (IPv6 network only)
1563 Use IPv6 on network connections.
1564 Falls back on IPv4 automatically.
1567 .B \-psprobe <byte position>
1568 When playing an MPEG-PS or MPEG-PES streams, this option lets you specify
1569 how many bytes in the stream you want MPlayer to scan in order to identify
1570 the video codec used.
1571 This option is needed to play EVO or VDR files containing H.264 streams.
1574 .B \-pvr <option1:option2:...> (PVR only)
1575 This option tunes various encoding properties of the PVR capture module.
1576 It has to be used with any hardware MPEG encoder based card supported by the
1578 The Hauppauge WinTV PVR\-150/250/350/500 and all IVTV based
1579 cards are known as PVR capture cards.
1580 Be aware that only Linux 2.6.18 kernel
1581 and above is able to handle MPEG stream through V4L2 layer.
1582 For hardware capture of an MPEG stream and watching it with
1583 MPlayer, use 'pvr://' as a movie URL.
1585 Available options are:
1588 Specify input aspect ratio:
1598 .IPs arate=<32000\-48000>
1599 Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100
1602 Specify MPEG audio layer encoding (default: 2).
1603 .IPs abitrate=<32\-448>
1604 Specify audio encoding bitrate in kbps (default: 384).
1606 Specify audio encoding mode.
1607 Available preset values are 'stereo', 'joint_stereo', 'dual' and 'mono' (default: stereo).
1608 .IPs vbitrate=<value>
1609 Specify average video bitrate encoding in Mbps (default: 6).
1611 Specify video encoding mode:
1613 vbr: Variable BitRate (default)
1615 cbr: Constant BitRate
1618 Specify peak video bitrate encoding in Mbps
1619 (only useful for VBR encoding, default: 9.6).
1621 Choose an MPEG format for encoding:
1623 ps: MPEG-2 Program Stream (default)
1625 ts: MPEG-2 Transport Stream
1627 mpeg1: MPEG-1 System Stream
1629 vcd: Video CD compatible stream
1631 svcd: Super Video CD compatible stream
1633 dvd: DVD compatible stream
1639 .B \-radio <option1:option2:...> (radio only)
1640 These options set various parameters of the radio capture module.
1641 For listening to radio with MPlayer use 'radio://<frequency>'
1642 (if channels option is not given) or 'radio://<channel_number>'
1643 (if channels option is given) as a movie URL.
1644 You can see allowed frequency range by running MPlayer with '\-v'.
1645 To start the grabbing subsystem, use 'radio://<frequency or channel>/capture'.
1646 If the capture keyword is not given you can listen to radio
1647 using the line-in cable only.
1648 Using capture to listen is not recommended due to synchronization
1649 problems, which makes this process uncomfortable.
1651 Available options are:
1654 Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD).
1656 Radio driver to use (default: v4l2 if available, otherwise v4l).
1657 Currently, v4l and v4l2 drivers are supported.
1658 .IPs volume=<0..100>
1659 sound volume for radio device (default 100)
1660 .IPs "freq_min=<value> (*BSD BT848 only)"
1661 minimum allowed frequency (default: 87.50)
1662 .IPs "freq_max=<value> (*BSD BT848 only)"
1663 maximum allowed frequency (default: 108.00)
1664 .IPs channels=<frequency>\-<name>,<frequency>\-<name>,...
1666 Use _ for spaces in names (or play with quoting ;-).
1667 The channel names will then be written using OSD and the slave commands
1668 radio_step_channel and radio_set_channel will be usable for
1669 a remote control (see LIRC).
1670 If given, number in movie URL will be treated as channel position in
1674 radio://1, radio://104.4, radio_set_channel 1
1675 .IPs "adevice=<value> (radio capture only)"
1676 Name of device to capture sound from.
1677 Without such a name capture will be disabled,
1678 even if the capture keyword appears in the URL.
1679 For ALSA devices use it in the form hw=<card>.<device>.
1680 If the device name contains a '=', the module will use
1681 ALSA to capture, otherwise OSS.
1682 .IPs "arate=<value> (radio capture only)"
1683 Rate in samples per second (default: 44100).
1686 When using audio capture set also \-rawaudio rate=<value> option
1687 with the same value as arate.
1688 If you have problems with sound speed (runs too quickly), try to play
1689 with different rate values (e.g.\& 48000,44100,32000,...).
1690 .IPs "achannels=<value> (radio capture only)"
1691 Number of audio channels to capture.
1695 .B \-rawaudio <option1:option2:...>
1696 This option lets you play raw audio files.
1697 You have to use \-demuxer rawaudio as well.
1698 It may also be used to play audio CDs which are not 44kHz 16-bit stereo.
1699 For playing raw AC-3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio.
1701 Available options are:
1705 .IPs channels=<value>
1708 rate in samples per second
1709 .IPs samplesize=<value>
1710 sample size in bytes
1711 .IPs bitrate=<value>
1712 bitrate for rawaudio files
1719 .B \-rawvideo <option1:option2:...>
1720 This option lets you play raw video files.
1721 You have to use \-demuxer rawvideo as well.
1723 Available options are:
1728 rate in frames per second (default: 25.0)
1729 .IPs sqcif|qcif|cif|4cif|pal|ntsc
1730 set standard image size
1732 image width in pixels
1734 image height in pixels
1735 .IPs i420|yv12|yuy2|y8
1738 colorspace (fourcc) in hex or string constant.
1739 Use \-rawvideo format=help for a list of possible strings.
1749 .IPs "mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif"
1750 Play the famous "foreman" sample video.
1751 .IPs "mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576"
1752 Play a raw YUV sample.
1757 .B \-referrer <string> (network only)
1758 Specify a referrer path or URL for HTTP requests.
1762 Used with 'rtsp://' URLs to force the client's port number.
1763 This option may be useful if you are behind a router and want to forward
1764 the RTSP stream from the server to a specific client.
1767 .B \-rtsp\-destination
1768 Used with 'rtsp://' URLs to force the destination IP address to be bound.
1769 This option may be useful with some RTSP server which do not
1770 send RTP packets to the right interface.
1771 If the connection to the RTSP server fails, use \-v to see
1772 which IP address MPlayer tries to bind to and try to force
1773 it to one assigned to your computer instead.
1776 .B \-rtsp\-stream\-over\-tcp (LIVE555 and NEMESI only)
1777 Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCP
1778 packets be streamed over TCP (using the same TCP connection as RTSP).
1779 This option may be useful if you have a broken internet connection that does
1780 not pass incoming UDP packets (see http://www.live555.com/\:mplayer/).
1783 .B \-rtsp\-stream\-over\-http (LIVE555 only)
1784 Used with 'http://' URLs to specify that the resulting incoming RTP and RTCP
1785 packets be streamed over HTTP.
1788 .B \-saveidx <filename>
1789 Force index rebuilding and dump the index to <filename>.
1790 Currently this only works with AVI files.
1793 This option is obsolete now that MPlayer has OpenDML support.
1796 .B \-sb <byte position> (also see \-ss)
1797 Seek to byte position.
1798 Useful for playback from CD-ROM images or VOB files with junk at the beginning.
1801 .B \-speed <0.01\-100>
1802 Slow down or speed up playback by the factor given as parameter.
1806 Select the output sample rate to be used
1807 (of course sound cards have limits on this).
1808 If the sample frequency selected is different from that
1809 of the current media, the resample or lavcresample audio filter will be inserted
1810 into the audio filter layer to compensate for the difference.
1811 The type of resampling can be controlled by the \-af\-adv option.
1812 The default is fast resampling that may cause distortion.
1815 .B \-ss <time> (also see \-sb)
1816 Seek to given time position.
1822 Seeks to 56 seconds.
1823 .IPs "\-ss 01:10:00"
1824 Seeks to 1 hour 10 min.
1830 Tells MPlayer not to discard TS packets reported as broken in the stream.
1831 Sometimes needed to play corrupted MPEG-TS files.
1834 .B \-tsprobe <byte position>
1835 When playing an MPEG-TS stream, this option lets you specify how many
1836 bytes in the stream you want MPlayer to search for the desired
1837 audio and video IDs.
1840 .B \-tsprog <1\-65534>
1841 When playing an MPEG-TS stream, you can specify with this option which
1842 program (if present) you want to play.
1843 Can be used with \-vid and \-aid.
1846 .B \-tv <option1:option2:...> (TV/\:PVR only)
1847 This option tunes various properties of the TV capture module.
1848 For watching TV with MPlayer, use 'tv://' or 'tv://<channel_number>'
1849 or even 'tv://<channel_name> (see option channels for channel_name below)
1851 You can also use 'tv:///<input_id>' to start watching a
1852 movie from a composite or S-Video input (see option input for details).
1854 Available options are:
1858 .IPs "automute=<0\-255> (v4l and v4l2 only)"
1859 If signal strength reported by device is less than this value,
1860 audio and video will be muted.
1861 In most cases automute=100 will be enough.
1862 Default is 0 (automute disabled).
1864 See \-tv driver=help for a list of compiled-in TV input drivers.
1865 available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
1867 Specify TV device (default: /dev/\:video0).
1869 For the bsdbt848 driver you can provide both bktr and tuner device
1870 names separating them with a comma, tuner after
1871 bktr (e.g.\& -tv device=/dev/bktr1,/dev/tuner1).
1873 Specify input (default: 0 (TV), see console output for available inputs).
1875 Specify the frequency to set the tuner to (e.g.\& 511.250).
1876 Not compatible with the channels parameter.
1878 Specify the output format of the tuner with a preset value supported by the
1879 V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420) or an
1880 arbitrary format given as hex value.
1881 Try outfmt=help for a list of all available formats.
1885 output window height
1887 framerate at which to capture video (frames per second)
1888 .IPs buffersize=<value>
1889 maximum size of the capture buffer in megabytes (default: dynamical)
1891 For bsdbt848 and v4l, PAL, SECAM, NTSC are available.
1892 For v4l2, see the console output for a list of all available norms,
1893 also see the normid option below.
1894 .IPs "normid=<value> (v4l2 only)"
1895 Sets the TV norm to the given numeric ID.
1896 The TV norm depends on the capture card.
1897 See the console output for a list of available TV norms.
1898 .IPs channel=<value>
1899 Set tuner to <value> channel.
1900 .IPs chanlist=<value>
1901 available: argentina, australia, china-bcast, europe-east, europe-west, france,
1902 ireland, italy, japan-bcast, japan-cable, newzealand, russia, southafrica,
1903 us-bcast, us-cable, us-cable-hrc
1904 .IPs channels=<chan>\-<name>[=<norm>],<chan>\-<name>[=<norm>],...
1905 Set names for channels.
1907 If <chan> is an integer greater than 1000, it will be treated as frequency (in kHz)
1908 rather than channel name from frequency table.
1910 Use _ for spaces in names (or play with quoting ;-).
1911 The channel names will then be written using OSD, and the slave commands
1912 tv_step_channel, tv_set_channel and tv_last_channel will be usable for
1913 a remote control (see LIRC).
1914 Not compatible with the frequency parameter.
1917 The channel number will then be the position in the 'channels' list,
1921 tv://1, tv://TV1, tv_set_channel 1, tv_set_channel TV1
1922 .IPs [brightness|contrast|hue|saturation]=<\-100\-100>
1923 Set the image equalizer on the card.
1924 .IPs audiorate=<value>
1925 Set input audio sample rate.
1927 Capture audio even if there are no audio sources reported by v4l.
1931 Choose an audio mode:
1941 .IPs forcechan=<1\-2>
1942 By default, the count of recorded audio channels is determined automatically
1943 by querying the audio mode from the TV card.
1944 This option allows forcing stereo/\:mono recording regardless of the amode
1945 option and the values returned by v4l.
1946 This can be used for troubleshooting when the TV card is unable to report the
1948 .IPs adevice=<value>
1949 Set an audio device.
1950 <value> should be /dev/\:xxx for OSS and a hardware ID for ALSA.
1951 You must replace any ':' by a '.' in the hardware ID for ALSA.
1952 .IPs audioid=<value>
1953 Choose an audio output of the capture card, if it has more than one.
1954 .IPs "[volume|bass|treble|balance]=<0\-65535> (v4l1)"
1955 .IPs "[volume|bass|treble|balance]=<0\-100> (v4l2)"
1956 These options set parameters of the mixer on the video capture card.
1957 They will have no effect, if your card does not have one.
1958 For v4l2 50 maps to the default value of the
1959 control, as reported by the driver.
1960 .IPs "gain=<0\-100> (v4l2)"
1961 Set gain control for video devices (usually webcams) to the desired
1962 value and switch off automatic control.
1963 A value of 0 enables automatic control.
1964 If this option is omitted, gain control will not be modified.
1965 .IPs immediatemode=<bool>
1966 A value of 0 means capture and buffer audio and video together.
1967 A value of 1 (default) means to do video capture only and let the
1968 audio go through a loopback cable from the TV card to the sound card.
1970 Use hardware MJPEG compression (if the card supports it).
1971 When using this option, you do not need to specify the width and height
1972 of the output window, because MPlayer will determine it automatically
1973 from the decimation value (see below).
1974 .IPs decimation=<1|2|4>
1975 choose the size of the picture that will be compressed by hardware
1990 .IPs quality=<0\-100>
1991 Choose the quality of the JPEG compression
1992 (< 60 recommended for full size).
1993 .IPs tdevice=<value>
1994 Specify TV teletext device (example: /dev/\:vbi0) (default: none).
1995 .IPs tformat=<format>
1996 Specify TV teletext display format (default: 0):
2002 2: opaque with inverted colors
2004 3: transparent with inverted colors
2006 .IPs tpage=<100\-899>
2007 Specify initial TV teletext page number (default: 100).
2008 .IPs tlang=<\-1\-127>
2009 Specify default teletext language code (default: 0), which will be used
2010 as primary language until a type 28 packet is received.
2011 Useful when the teletext system uses a non-latin character set, but language
2012 codes are not transmitted via teletext type 28 packets for some reason.
2013 To see a list of supported language codes set this option to \-1.
2014 .IPs "hidden_video_renderer (dshow only)"
2015 Terminate stream with video renderer instead of Null renderer (default: off).
2016 Will help if video freezes but audio does not.
2018 May not work with \-vo directx and \-vf crop combination.
2019 .IPs "hidden_vp_renderer (dshow only)"
2020 Terminate VideoPort pin stream with video renderer
2021 instead of removing it from the graph (default: off).
2022 Useful if your card has a VideoPort pin and video is choppy.
2024 May not work with \-vo directx and \-vf crop combination.
2025 .IPs "system_clock (dshow only)"
2026 Use the system clock as sync source instead of the default graph clock
2027 (usually the clock from one of the live sources in graph).
2028 .IPs "normalize_audio_chunks (dshow only)"
2029 Create audio chunks with a time length equal to
2030 video frame time length (default: off).
2031 Some audio cards create audio chunks about 0.5s in size, resulting in
2032 choppy video when using immediatemode=0.
2036 .B \-tvscan <option1:option2:...> (TV and MPlayer only)
2037 Tune the TV channel scanner.
2038 MPlayer will also print value for "-tv channels=" option,
2039 including existing and just found channels.
2041 Available suboptions are:
2044 Begin channel scanning immediately after startup (default: disabled).
2045 .IPs period=<0.1\-2.0>
2046 Specify delay in seconds before switching to next channel (default: 0.5).
2047 Lower values will cause faster scanning, but can detect
2048 inactive TV channels as active.
2049 .IPs threshold=<1\-100>
2050 Threshold value for the signal strength (in percent), as reported
2051 by the device (default: 50).
2052 A signal strength higher than this value will indicate that the
2053 currently scanning channel is active.
2057 .B \-user <username> (also see \-passwd) (network only)
2058 Specify username for HTTP authentication.
2061 .B \-user\-agent <string>
2062 Use <string> as user agent for HTTP streaming.
2066 Select video channel (MPG: 0\-15, ASF: 0\-255, MPEG-TS: 17\-8190).
2067 When playing an MPEG-TS stream, MPlayer will use the first program (if present)
2068 with the chosen video stream.
2071 .B \-vivo <suboption> (DEBUG CODE)
2072 Force audio parameters for the VIVO demuxer (for debugging purposes).
2073 FIXME: Document this.
2077 .SH "OSD/SUBTITLE OPTIONS"
2079 Also see \-vf expand.
2082 .B \-ass (FreeType only)
2083 Turn on SSA/ASS subtitle rendering.
2084 With this option, libass will be used for SSA/ASS
2085 external subtitles and Matroska tracks.
2088 Unlike normal OSD, libass uses fontconfig by default. To disable it, use
2092 .B \-ass\-border\-color <value>
2093 Sets the border (outline) color for text subtitles.
2094 The color format is RRGGBBAA.
2097 .B \-ass\-bottom\-margin <value>
2098 Adds a black band at the bottom of the frame.
2099 The SSA/ASS renderer can place subtitles there (with \-ass\-use\-margins).
2102 .B \-ass\-color <value>
2103 Sets the color for text subtitles.
2104 The color format is RRGGBBAA.
2107 .B \-ass\-font\-scale <value>
2108 Set the scale coefficient to be used for fonts in the SSA/ASS renderer.
2111 .B \-ass\-force\-style <[Style.]Param=Value[,...]>
2112 Override some style or script info parameters.
2117 \-ass\-force\-style FontName=Arial,Default.Bold=1
2119 \-ass\-force\-style PlayResY=768
2124 .B \-ass\-hinting <type>
2132 FreeType autohinter, light mode
2134 FreeType autohinter, normal mode
2138 The same, but hinting will only be performed if the OSD is rendered at
2139 screen resolution and will therefore not be scaled.
2142 The default value is 5 (use light hinter for unscaled OSD and no hinting otherwise).
2147 .B \-ass\-line\-spacing <value>
2148 Set line spacing value for SSA/ASS renderer.
2151 .B \-ass\-styles <filename>
2152 Load all SSA/ASS styles found in the specified file and use them for
2153 rendering text subtitles.
2154 The syntax of the file is exactly like the
2155 [V4 Styles] / [V4+ Styles] section of SSA/ASS.
2158 .B \-ass\-top\-margin <value>
2159 Adds a black band at the top of the frame.
2160 The SSA/ASS renderer can place toptitles there (with \-ass\-use\-margins).
2163 .B \-ass\-use\-margins
2164 Enables placing toptitles and subtitles in black borders when they
2168 .B \-dumpjacosub (MPlayer only)
2169 Convert the given subtitle (specified with the \-sub option) to the time-based
2170 JACOsub subtitle format.
2171 Creates a dumpsub.js file in the current directory.
2174 .B \-dumpmicrodvdsub (MPlayer only)
2175 Convert the given subtitle (specified with the \-sub option) to the
2176 MicroDVD subtitle format.
2177 Creates a dumpsub.sub file in the current directory.
2180 .B \-dumpmpsub (MPlayer only)
2181 Convert the given subtitle (specified with the \-sub option) to MPlayer's
2182 subtitle format, MPsub.
2183 Creates a dump.mpsub file in the current directory.
2186 .B \-dumpsami (MPlayer only)
2187 Convert the given subtitle (specified with the \-sub option) to the time-based
2188 SAMI subtitle format.
2189 Creates a dumpsub.smi file in the current directory.
2192 .B \-dumpsrtsub (MPlayer only)
2193 Convert the given subtitle (specified with the \-sub option) to the time-based
2194 SubViewer (SRT) subtitle format.
2195 Creates a dumpsub.srt file in the current directory.
2198 Some broken hardware players choke on SRT subtitle files with Unix
2200 If you are unlucky enough to have such a box, pass your subtitle
2201 files through unix2dos or a similar program to replace Unix line
2202 endings with DOS/Windows line endings.
2205 .B \-dumpsub (MPlayer only) (BETA CODE)
2206 Dumps the subtitle substream from VOB streams.
2207 Also see the \-dump*sub options.
2210 .B \-noembeddedfonts
2211 Disables use of fonts embedded in Matroska containers and ASS scripts (default: enabled).
2212 These fonts can be used for SSA/ASS subtitle
2213 rendering (\-ass option).
2216 .B \-ffactor <number>
2217 Resample the font alphamap.
2224 very narrow black outline (default)
2226 narrow black outline
2233 .B \-flip\-hebrew (FriBiDi only)
2234 Turns on flipping subtitles using FriBiDi.
2237 .B \-noflip\-hebrew\-commas
2238 Change FriBiDi's assumptions about the placements of commas in subtitles.
2239 Use this if commas in subtitles are shown at the start of a sentence
2240 instead of at the end.
2243 .B \-font <path to font.desc file, path to font (FreeType), font pattern (Fontconfig)>
2244 Search for the OSD/\:SUB fonts in an alternative directory (default for normal
2245 fonts: ~/\:.mplayer/\:font/\:font.desc, default for FreeType fonts:
2246 ~/.mplayer/\:subfont.ttf).
2249 With FreeType, this option determines the path to the text font file.
2250 With Fontconfig, this option determines the Fontconfig font pattern.
2255 \-font ~/\:.mplayer/\:arial-14/\:font.desc
2257 \-font ~/\:.mplayer/\:arialuni.ttf
2259 \-font 'Bitstream Vera Sans'
2261 \-font 'Bitstream Vera Sans:style=Bold'
2266 .B \-fontconfig (fontconfig only)
2267 Enables the usage of fontconfig managed fonts.
2270 By default fontconfig is used for libass-rendered subtitles and not used for
2271 OSD. With \-fontconfig it is used for both libass and OSD, with \-nofontconfig
2272 it is not used at all.
2276 Display only forced subtitles for the DVD subtitle stream selected by e.g.\&
2280 .B \-fribidi\-charset <charset name> (FriBiDi only)
2281 Specifies the character set that will be passed to FriBiDi when
2282 decoding non-UTF-8 subtitles (default: ISO8859-8).
2285 .B \-ifo <VOBsub IFO file>
2286 Indicate the file that will be used to load palette and frame size for VOBsub
2291 Turns off automatic subtitle file loading.
2294 .B \-osd\-duration <time>
2295 Set the duration of the OSD messages in ms (default: 1000).
2298 .B \-osdlevel <0\-3> (MPlayer only)
2299 Specifies which mode the OSD should start in.
2305 volume + seek (default)
2307 volume + seek + timer + percentage
2309 volume + seek + timer + percentage + total time
2315 Allows the next subtitle to be displayed while the current one is
2316 still visible (default is to enable the support only for specific
2320 .B \-sid <ID> (also see \-slang, \-vobsubid)
2321 Display the subtitle stream specified by <ID> (0\-31).
2322 MPlayer prints the available subtitle IDs when run in verbose (\-v) mode.
2323 If you cannot select one of the subtitles on a DVD, also try \-vobsubid.
2327 Disables any otherwise auto-selected internal subtitles (as e.g.\& the Matroska/mkv
2329 Use \-noautosub to disable the loading of external subtitle files.
2332 .B \-slang <language code[,language code,...]> (also see \-sid)
2333 Specify a priority list of subtitle languages to use.
2334 Different container formats employ different language codes.
2335 DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2
2336 three letter language codes while OGM uses a free-form identifier.
2337 MPlayer prints the available languages when run in verbose (\-v) mode.
2342 .IPs "mplayer dvd://1 \-slang hu,en"
2343 Chooses the Hungarian subtitle track on a DVD and falls back on English if
2344 Hungarian is not available.
2345 .IPs "mplayer \-slang jpn example.mkv"
2346 Plays a Matroska file with Japanese subtitles.
2352 Antialiasing/\:scaling mode for DVD/\:VOBsub.
2353 A value of 16 may be added to <mode> in order to force scaling even
2354 when original and scaled frame size already match.
2355 This can be employed to e.g.\& smooth subtitles with gaussian blur.
2356 Available modes are:
2360 none (fastest, very ugly)
2362 approximate (broken?)
2366 bilinear (default, fast and not too bad)
2368 uses swscaler gaussian blur (looks very good)
2373 .B \-spualign <\-1\-2>
2374 Specify how SPU (DVD/\:VOBsub) subtitles should be aligned.
2380 Align at top (original behavior, default).
2389 .B \-spugauss <0.0\-3.0>
2390 Variance parameter of gaussian used by \-spuaa 4.
2391 Higher means more blur (default: 1.0).
2394 .B \-sub <subtitlefile1,subtitlefile2,...>
2395 Use/\:display these subtitle files.
2396 Only one file can be displayed at the same time.
2399 .B \-sub\-bg\-alpha <0\-255>
2400 Specify the alpha channel value for subtitles and OSD backgrounds.
2401 Big values mean more transparency.
2402 0 means completely transparent.
2405 .B \-sub\-bg\-color <0\-255>
2406 Specify the color value for subtitles and OSD backgrounds.
2407 Currently subtitles are grayscale so this value is equivalent to the
2408 intensity of the color.
2409 255 means white and 0 black.
2412 .B \-sub\-demuxer <[+]name> (\-subfile only) (BETA CODE)
2413 Force subtitle demuxer type for \-subfile.
2414 Use a '+' before the name to force it, this will skip some checks!
2415 Give the demuxer name as printed by \-sub\-demuxer help.
2416 For backward compatibility it also accepts the demuxer ID as defined in
2420 .B \-sub\-fuzziness <mode>
2421 Adjust matching fuzziness when searching for subtitles:
2427 Load all subs containing movie name.
2429 Load all subs in the current directory.
2434 .B \-sub\-no\-text\-pp
2435 Disables any kind of text post processing done after loading the subtitles.
2436 Used for debug purposes.
2439 .B \-subalign <0\-2>
2440 Specify which edge of the subtitles should be aligned at the height
2445 Align subtitle top edge (original behavior).
2447 Align subtitle center.
2449 Align subtitle bottom edge (default).
2454 .B "\-subcc <1\-4>\ "
2455 Display DVD Closed Caption (CC) subtitles from the specified channel.
2458 the VOB subtitles, these are special ASCII subtitles for the
2459 hearing impaired encoded in the VOB userdata stream on most region 1 DVDs.
2460 CC subtitles have not been spotted on DVDs from other regions so far.
2463 .B \-subcp <codepage> (iconv only)
2464 If your system supports iconv(3), you can use this option to
2465 specify the subtitle codepage.
2477 .B \-subcp enca:<language>:<fallback codepage> (ENCA only)
2478 You can specify your language using a two letter language code to
2479 make ENCA detect the codepage automatically.
2480 If unsure, enter anything and watch mplayer \-v output for available
2482 Fallback codepage specifies the codepage to use, when autodetection fails.
2487 .IPs "\-subcp enca:cs:latin2"
2488 Guess the encoding, assuming the subtitles are Czech, fall back on
2489 latin 2, if the detection fails.
2490 .IPs "\-subcp enca:pl:cp1250"
2491 Guess the encoding for Polish, fall back on cp1250.
2497 Delays subtitles by <sec> seconds.
2501 .B \-subfile <filename> (BETA CODE)
2503 Same as \-audiofile, but for subtitle streams (OggDS?).
2506 .B \-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only)
2507 Sets the subtitle font (see \-font).
2508 If no \-subfont is given, \-font is used.
2511 .B \-subfont\-autoscale <0\-3> (FreeType only)
2512 Sets the autoscale mode.
2515 0 means that text scale and OSD scale are font heights in points.
2524 proportional to movie height
2526 proportional to movie width
2528 proportional to movie diagonal (default)
2533 .B \-subfont\-blur <0\-8> (FreeType only)
2534 Sets the font blur radius (default: 2).
2537 .B \-subfont\-encoding <value> (FreeType only)
2538 Sets the font encoding.
2539 When set to 'unicode', all the glyphs from the font file will be rendered and
2540 unicode will be used (default: unicode).
2543 .B \-subfont\-osd\-scale <0\-100> (FreeType only)
2544 Sets the autoscale coefficient of the OSD elements (default: 6).
2547 .B \-subfont\-outline <0\-8> (FreeType only)
2548 Sets the font outline thickness (default: 2).
2551 .B \-subfont\-text\-scale <0\-100> (FreeType only)
2552 Sets the subtitle text autoscale coefficient as percentage of the
2553 screen size (default: 5).
2557 Specify the framerate of the subtitle file (default: movie fps).
2560 <rate> > movie fps speeds the subtitles up for frame-based subtitle files and
2561 slows them down for time-based ones.
2564 .B \-subpos <0\-100> (useful with \-vf expand)
2565 Specify the position of subtitles on the screen.
2566 The value is the vertical position of the subtitle in % of the screen height.
2569 .B \-subwidth <10\-100>
2570 Specify the maximum width of subtitles on the screen.
2572 The value is the width of the subtitle in % of the screen width.
2576 Disable the display of OSD messages on the console when no video output is
2580 .B \-term\-osd\-esc <escape sequence>
2581 Specify the escape sequence to use before writing an OSD message on the
2583 The escape sequence should move the pointer to the beginning of the line
2584 used for the OSD and clear it (default: ^[[A\\r^[[K).
2588 Tells MPlayer to handle the subtitle file as unicode.
2591 .B \-unrarexec <path to unrar executable> (not supported on MingW)
2592 Specify the path to the unrar executable so MPlayer can use it to access
2593 rar-compressed VOBsub files (default: not set, so the feature is off).
2594 The path must include the executable's filename, i.e.\& /usr/local/bin/unrar.
2598 Tells MPlayer to handle the subtitle file as UTF-8.
2601 .B \-vobsub <VOBsub file without extension>
2602 Specify a VOBsub file to use for subtitles.
2603 Has to be the full pathname without extension, i.e.\& without
2604 the '.idx', '.ifo' or '.sub'.
2607 .B \-vobsubid <0\-31>
2608 Specify the VOBsub subtitle ID.
2612 .SH "AUDIO OUTPUT OPTIONS (MPLAYER ONLY)"
2615 .B \-abs <value> (\-ao oss only) (OBSOLETE)
2616 Override audio driver/\:card buffer size detection.
2619 .B \-format <format> (also see the format audio filter)
2620 Select the sample format used for output from the audio filter
2621 layer to the sound card.
2622 The values that <format> can adopt are listed below in the
2623 description of the format audio filter.
2627 Try to play consecutive audio files with no silence or disruption
2628 at the point of file change.
2629 This feature is implemented in a simple manner and relies on audio output
2630 device buffering to continue playback while moving from one file to another.
2631 If playback of the new file starts slowly, for example because it's played from
2632 a remote network location or because you have specified cache settings that
2633 require time for the initial cache fill, then the buffered audio may run out
2634 before playback of the new file can start.
2638 Use a mixer device different from the default /dev/\:mixer.
2639 For ALSA this is the mixer name.
2642 .B \-mixer\-channel <mixer line>[,mixer index] (\-ao oss and \-ao alsa only)
2643 This option will tell MPlayer to use a different channel for controlling
2644 volume than the default PCM.
2645 Options for OSS include
2647 For a complete list of options look for SOUND_DEVICE_NAMES in
2648 /usr/\:include/\:linux/\:soundcard.h.
2649 For ALSA you can use the names e.g.\& alsamixer displays, like
2650 .B Master, Line, PCM.
2653 ALSA mixer channel names followed by a number must be specified in the
2654 <name,number> format, i.e.\& a channel labeled 'PCM 1' in alsamixer must
2660 Force the use of the software mixer, instead of using the sound card
2664 .B \-softvol\-max <10.0\-10000.0>
2665 Set the maximum amplification level in percent (default: 110).
2666 A value of 200 will allow you to adjust the volume up to a maximum of
2667 double the current level.
2668 With values below 100 the initial volume (which is 100%) will be above
2669 the maximum, which e.g.\& the OSD cannot display correctly.
2672 .B \-volstep <0\-100>
2673 Set the step size of mixer volume changes in percent of the whole range
2677 .B \-volume <-1\-100> (also see \-af volume)
2678 Set the startup volume in the mixer, either hardware or software (if
2679 used with \-softvol).
2680 A value of -1 (the default) will not change the volume.
2684 .SH "AUDIO OUTPUT DRIVERS (MPLAYER ONLY)"
2685 Audio output drivers are interfaces to different audio output facilities.
2689 .B \-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
2690 Specify a priority list of audio output drivers to be used.
2692 If the list has a trailing ',' MPlayer will fall back on drivers not
2693 contained in the list.
2694 Suboptions are optional and can mostly be omitted.
2697 See \-ao help for a list of compiled-in audio output drivers.
2702 .IPs "\-ao alsa,oss,"
2703 Try the ALSA driver, then the OSS driver, then others.
2704 .IPs "\-ao alsa:noblock:device=hw=0.3"
2705 Sets noblock-mode and the device-name as first card, fourth device.
2709 Available audio output drivers are:
2713 ALSA 0.9/1.x audio output driver
2718 .IPs device=<device>
2719 Sets the device name.
2720 Replace any ',' with '.' and any ':' with '=' in the ALSA device name.
2721 For hwac3 output via S/PDIF, use an "iec958" or "spdif" device, unless
2722 you really know how to set it correctly.
2728 ALSA 0.5 audio output driver
2732 OSS audio output driver
2736 Sets the audio output device (default: /dev/\:dsp).
2738 Sets the audio mixer device (default: /dev/\:mixer).
2739 .IPs <mixer-channel>
2740 Sets the audio mixer channel (default: pcm).
2746 highly platform independent SDL (Simple Directmedia Layer) library
2751 Explicitly choose the SDL audio driver to use (default: let SDL choose).
2757 audio output through the aRts daemon
2761 audio output through the ESD daemon
2765 Explicitly choose the ESD server to use (default: localhost).
2771 audio output through JACK (Jack Audio Connection Kit)
2775 Connects to the ports with the given name (default: physical ports).
2776 .IPs name=<client name>
2777 Client name that is passed to JACK (default: MPlayer [<PID>]).
2778 Useful if you want to have certain connections established automatically.
2780 Estimate the audio delay, supposed to make the video playback smoother
2783 Automatically start jackd if necessary (default: disabled).
2784 Note that this seems unreliable and will spam stdout with server messages.
2790 audio output through NAS
2793 .B coreaudio (Mac OS X only)
2794 native Mac OS X audio output driver
2798 ID of output device to use (0 = default device)
2800 List all available output devices with their IDs.
2806 Experimental OpenAL audio output driver
2810 PulseAudio audio output driver
2813 .IPs "[<host>][:<output sink>]"
2814 Specify the host and optionally output sink to use.
2815 An empty <host> string uses a local connection, "localhost"
2816 uses network transfer (most likely not what you want).
2822 native SGI audio output driver
2825 .IPs "<output device name>"
2826 Explicitly choose the output device/\:interface to use
2827 (default: system-wide default).
2828 For example, 'Analog Out' or 'Digital Out'.
2834 native Sun audio output driver
2838 Explicitly choose the audio device to use (default: /dev/\:audio).
2843 .B win32 (Windows only)
2844 native Windows waveout audio output driver
2847 .B dsound (Windows only)
2848 DirectX DirectSound audio output driver
2851 .IPs device=<devicenum>
2852 Sets the device number to use.
2853 Playing a file with \-v will show a list of available devices.
2859 OS/2 KAI audio output driver
2867 Open audio in shareable or exclusive mode.
2869 Set buffer size to <size> in samples (default: 2048).
2875 OS/2 DART audio output driver
2879 Open DART in shareable or exclusive mode.
2881 Set buffer size to <size> in samples (default: 2048).
2886 .B dxr2 (also see \-dxr2) (DXR2 only)
2887 Creative DXR2 specific output driver
2891 IVTV specific MPEG audio output driver.
2892 Works with \-ac hwmpa only.
2895 .B v4l2 (requires Linux 2.6.22+ kernel)
2896 Audio output driver for V4L2 cards with hardware MPEG decoder.
2899 .B mpegpes (DVB only)
2900 Audio output driver for DVB cards that writes the output to an MPEG-PES
2901 file if no DVB card is installed.
2905 DVB card to use if more than one card is present.
2906 If not specified MPlayer will search the first usable card.
2907 .IPs file=<filename>
2914 Produces no audio output but maintains video playback speed.
2915 Use \-nosound for benchmarking.
2919 raw PCM/wave file writer audio output
2923 Include or do not include the wave header (default: included).
2924 When not included, raw PCM will be generated.
2925 .IPs file=<filename>
2926 Write the sound to <filename> instead of the default
2928 If nowaveheader is specified, the default is audiodump.pcm.
2930 Try to dump faster than realtime.
2931 Make sure the output does not get truncated (usually with
2932 "Too many video packets in buffer" message).
2933 It is normal that you get a "Your system is too SLOW to play this!" message.
2939 plugin audio output driver
2943 .SH "VIDEO OUTPUT OPTIONS (MPLAYER ONLY)"
2946 .B \-adapter <value>
2947 Set the graphics card that will receive the image.
2948 You can get a list of available cards when you run this option with \-v.
2949 Currently only works with the directx video output driver.
2953 Override the autodetected color depth.
2954 Only supported by the fbdev, dga, svga, vesa video output drivers.
2958 Play movie with window border and decorations.
2959 Since this is on by default, use \-noborder to disable the standard window
2963 .B \-brightness <\-100\-100>
2964 Adjust the brightness of the video signal (default: 0).
2965 Not supported by all video output drivers.
2968 .B \-contrast <\-100\-100>
2969 Adjust the contrast of the video signal (default: 0).
2970 Not supported by all video output drivers.
2973 .B \-display <name> (X11 only)
2974 Specify the hostname and display number of the X server you want to display
2980 \-display xtest.localdomain:0
2986 Turns on direct rendering (not supported by all codecs and video outputs)
2989 May cause OSD/SUB corruption!
2992 .B \-dxr2 <option1:option2:...>
2993 This option is used to control the dxr2 video output driver.
2995 .IPs ar-mode=<value>
2996 aspect ratio mode (0 = normal, 1 = pan-and-scan, 2 = letterbox (default))
2998 Set iec958 output mode to encoded.
3000 Set iec958 output mode to decoded (default).
3001 .IPs macrovision=<value>
3002 macrovision mode (0 = off (default), 1 = agc, 2 = agc 2 colorstripe,
3003 3 = agc 4 colorstripe)
3009 path to the microcode
3017 enable 7.5 IRE output mode
3019 disable 7.5 IRE output mode (default)
3023 color TV output (default)
3025 interlaced TV output (default)
3027 disable interlaced TV output
3029 TV norm (ntsc (default), pal, pal60, palm, paln, palnc)
3031 set pixel mode to square
3033 set pixel mode to ccir601
3040 .IPs cr-left=<0\-500>
3041 Set the left cropping value (default: 50).
3042 .IPs cr-right=<0\-500>
3043 Set the right cropping value (default: 300).
3044 .IPs cr-top=<0\-500>
3045 Set the top cropping value (default: 0).
3046 .IPs cr-bottom=<0\-500>
3047 Set the bottom cropping value (default: 0).
3048 .IPs ck-[r|g|b]=<0\-255>
3049 Set the r(ed), g(reen) or b(lue) gain of the overlay color-key.
3050 .IPs ck-[r|g|b]min=<0\-255>
3051 minimum value for the respective color key
3052 .IPs ck-[r|g|b]max=<0\-255>
3053 maximum value for the respective color key
3055 Ignore cached overlay settings.
3057 Update cached overlay settings.
3059 Enable overlay onscreen display.
3061 Disable overlay onscreen display (default).
3062 .IPs ol[h|w|x|y]-cor=<\-20\-20>
3063 Adjust the overlay size (h,w) and position (x,y) in case it does not
3064 match the window perfectly (default: 0).
3066 Activate overlay (default).
3069 .IPs overlay-ratio=<1\-2500>
3070 Tune the overlay (default: 1000).
3074 .B \-fbmode <modename> (\-vo fbdev only)
3075 Change video mode to the one that is labeled as <modename> in
3079 VESA framebuffer does not support mode changing.
3082 .B \-fbmodeconfig <filename> (\-vo fbdev only)
3083 Override framebuffer mode configuration file (default: /etc/\:fb.modes).
3086 .B \-force\-window\-position
3087 Forcefully move MPlayer's video output window to default location whenever
3088 there is a change in video parameters, video stream or file.
3089 This used to be the default behavior.
3090 Currently only affects X11 VOs.
3093 .B \-fs (also see \-zoom)
3094 Fullscreen playback (centers movie, and paints black bands around it).
3095 Not supported by all video output drivers.
3098 .B \-fsmode\-dontuse <0\-31> (OBSOLETE, use the \-fs option)
3099 Try this option if you still experience fullscreen problems.
3102 .B \-fstype <type1,type2,...> (X11 only)
3103 Specify a priority list of fullscreen modes to be used.
3104 You can negate the modes by prefixing them with '\-'.
3105 If you experience problems like the fullscreen window being covered
3106 by other windows try using a different order.
3109 See \-fstype help for a full list of available modes.
3111 The available types are:
3116 Use the _NETWM_STATE_ABOVE hint if available.
3118 Use the _NETWM_STATE_BELOW hint if available.
3120 Use the _NETWM_STATE_FULLSCREEN hint if available.
3122 Use the _WIN_LAYER hint with the default layer.
3124 Use the _WIN_LAYER hint with the given layer number.
3128 Clear the list of modes; you can add modes to enable afterward.
3130 Use _NETWM_STATE_STAYS_ON_TOP hint if available.
3138 .IPs layer,stays_on_top,above,fullscreen
3139 Default order, will be used as a fallback if incorrect or
3140 unsupported modes are specified.
3142 Fixes fullscreen switching on OpenBox 1.x.
3147 .B \-geometry x[%][:y[%]] or [WxH][+-x+-y]
3148 Adjust where the output is on the screen initially.
3149 The x and y specifications are in pixels measured from the top-left of the
3150 screen to the top-left of the image being displayed, however if a percentage
3151 sign is given after the argument it turns the value into a percentage of the
3152 screen size in that direction.
3153 It also supports the standard X11 \-geometry option format, in which e.g.
3154 +10-50 means "place 10 pixels from the left border and 50 pixels from the lower
3155 border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels
3156 beyond the top border".
3157 If an external window is specified using the \-wid option, then the x and
3158 y coordinates are relative to the top-left corner of the window rather
3160 The coordinates are relative to the screen given with \-xineramascreen for
3161 the video output drivers that fully support \-xineramascreen (direct3d, gl, gl2,
3162 vdpau, x11, xv, xvmc, corevideo).
3165 This option is only supported by the x11, xmga, xv, xvmc, xvidix,
3166 gl, gl2, directx, fbdev, tdfxfb and corevideo video output drivers.
3172 Places the window at x=50, y=40.
3174 Places the window in the middle of the screen.
3176 Places the window at the middle of the right edge of the screen.
3178 Places the window at the bottom right corner of the screen.
3183 .B \-hue <\-100\-100>
3184 Adjust the hue of the video signal (default: 0).
3185 You can get a colored negative of the image with this option.
3186 Not supported by all video output drivers.
3189 .B \-monitor\-dotclock <range[,range,...]> (\-vo fbdev and vesa only)
3190 Specify the dotclock or pixelclock range of the monitor.
3193 .B \-monitor\-hfreq <range[,range,...]> (\-vo fbdev and vesa only)
3194 Specify the horizontal frequency range of the monitor.
3197 .B \-monitor\-vfreq <range[,range,...]> (\-vo fbdev and vesa only)
3198 Specify the vertical frequency range of the monitor.
3201 .B \-monitoraspect <ratio> (also see \-aspect)
3202 Set the aspect ratio of your monitor or TV screen.
3203 A value of 0 disables a previous setting (e.g.\& in the config file).
3204 Overrides the \-monitorpixelaspect setting if enabled.
3209 \-monitoraspect 4:3 or 1.3333
3211 \-monitoraspect 16:9 or 1.7777
3216 .B \-monitorpixelaspect <ratio> (also see \-aspect)
3217 Set the aspect of a single pixel of your monitor or TV screen (default: 1).
3218 A value of 1 means square pixels
3219 (correct for (almost?) all LCDs).
3222 .B \-name (X11 only)
3223 Set the window class name.
3227 Disables double buffering, mostly for debugging purposes.
3228 Double buffering fixes flicker by storing two frames in memory, and
3229 displaying one while decoding another.
3230 It can affect OSD negatively, but often removes OSD flickering.
3234 Do not grab the mouse pointer after a video mode change (\-vm).
3235 Useful for multihead setups.
3239 Do not keep window aspect ratio when resizing windows.
3240 By default MPlayer tries to keep the correct video aspect ratio by
3241 instructing the window manager to maintain window aspect when resizing,
3242 and by adding black bars if the window manager nevertheless allows
3243 window shape to change.
3244 This option disables window manager aspect hints and scales the video
3245 to completely fill the window without regard for aspect ratio.
3249 Makes the player window stay on top of other windows.
3250 Supported by video output drivers which use X11, except SDL,
3251 as well as directx, corevideo, quartz, ggi and gl2.
3254 .B \-panscan <0.0\-1.0>
3255 Enables pan-and-scan functionality (cropping the sides of e.g.\& a 16:9
3256 movie to make it fit a 4:3 display without black bands).
3257 The range controls how much of the image is cropped.
3258 Only works with the xv, xmga, mga, gl, gl2, quartz, corevideo and xvidix
3259 video output drivers.
3262 Values between \-1 and 0 are allowed as well, but highly experimental
3263 and may crash or worse.
3264 Use at your own risk!
3267 .B \-panscanrange <\-19.0\-99.0> (experimental)
3268 Change the range of the pan-and-scan functionality (default: 1).
3269 Positive values mean multiples of the default range.
3270 Negative numbers mean you can zoom in up to a factor of \-panscanrange+1.
3271 E.g.\& \-panscanrange \-3 allows a zoom factor of up to 4.
3272 This feature is experimental.
3273 Do not report bugs unless you are using \-vo gl.
3276 .B \-refreshrate <Hz>
3277 Set the monitor refreshrate in Hz.
3278 Currently only supported by \-vo directx combined with the \-vm option.
3282 Play movie in the root window (desktop background).
3283 Desktop background images may cover the movie window, though.
3284 Only works with the x11, xv, xmga, xvidix, quartz, corevideo and directx video output drivers.
3287 .B \-saturation <\-100\-100>
3288 Adjust the saturation of the video signal (default: 0).
3289 You can get grayscale output with this option.
3290 Not supported by all video output drivers.
3293 .B \-screenh <pixels>
3294 Specify the screen height for video output drivers which
3295 do not know the screen resolution like fbdev, x11 and TV-out.
3298 .B \-screenw <pixels>
3299 Specify the screen width for video output drivers which
3300 do not know the screen resolution like fbdev, x11 and TV-out.
3303 .B \-stop\-xscreensaver (X11 only)
3304 Turns off xscreensaver at startup and turns it on again on exit.
3305 If your screensaver supports neither the XSS nor XResetScreenSaver
3306 API please use \-heartbeat\-cmd instead.
3309 .B \-title (also see \-use\-filename\-title)
3310 Set the window title.
3311 Supported by X11-based video output drivers.
3314 .B \-use\-filename\-title (also see \-title)
3315 Set the window title using the media filename, when not set with \-title.
3316 Supported by X11-based video output drivers.
3320 Try to change to a different video mode.
3321 Supported by the dga, x11, xv, sdl and directx video output drivers.
3322 If used with the directx video output driver the \-screenw,
3323 \-screenh, \-bpp and \-refreshrate options can be used to set
3324 the new display mode.
3328 Enables VBI for the vesa, dfbmga and svga video output drivers.
3331 .B \-wid <window ID> (X11, OpenGL and DirectX only)
3332 This tells MPlayer to attach to an existing window.
3333 Useful to embed MPlayer in a browser (e.g.\& the plugger extension).
3334 This option fills the given window completely, thus aspect scaling,
3335 panscan, etc are no longer handled by MPlayer but must be managed by the
3336 application that created the window.
3339 .B \-xineramascreen <\-2\-...>
3340 In Xinerama configurations (i.e.\& a single desktop that spans across multiple
3341 displays) this option tells MPlayer which screen to display the movie on.
3342 A value of \-2 means fullscreen across the whole virtual display (in this case
3343 Xinerama information is completely ignored), \-1 means
3344 fullscreen on the display the window currently is on.
3345 The initial position set via the \-geometry option is relative to the
3347 Will usually only work with "\-fstype \-fullscreen" or "\-fstype none".
3348 This option is not suitable to only set the startup screen (because
3349 it will always display on the given screen in fullscreen mode),
3350 \-geometry is the best that is available for that purpose
3352 Supported by at least the direct3d, gl, gl2, x11, xv and corevideo video output
3356 .B \-zrbw (\-vo zr only)
3357 Display in black and white.
3358 For optimal performance, this can be combined with '\-lavdopts gray'.
3361 .B \-zrcrop <[width]x[height]+[x offset]+[y offset]> (\-vo zr only)
3362 Select a part of the input image to display, multiple occurrences
3363 of this option switch on cinerama mode.
3364 In cinerama mode the movie is distributed over more than one TV
3365 (or beamer) to create a larger image.
3366 Options appearing after the n-th \-zrcrop apply to the n-th MJPEG card, each
3367 card should at least have a \-zrdev in addition to the \-zrcrop.
3368 For examples, see the output of \-zrhelp and the Zr section of the
3372 .B \-zrdev <device> (\-vo zr only)
3373 Specify the device special file that belongs to your MJPEG card, by default
3374 the zr video output driver takes the first v4l device it can find.
3377 .B \-zrfd (\-vo zr only)
3378 Force decimation: Decimation, as specified by \-zrhdec and \-zrvdec, only
3379 happens if the hardware scaler can stretch the image to its original size.
3380 Use this option to force decimation.
3383 .B \-zrhdec <1|2|4> (\-vo zr only)
3384 Horizontal decimation: Ask the driver to send only every 2nd or 4th
3385 line/\:pixel of the input image to the MJPEG card and use the scaler
3386 of the MJPEG card to stretch the image to its original size.
3389 .B \-zrhelp (\-vo zr only)
3390 Display a list of all \-zr* options, their default values and a
3391 cinerama mode example.
3394 .B \-zrnorm <norm> (\-vo zr only)
3395 Specify the TV norm as PAL or NTSC (default: no change).
3398 .B \-zrquality <1\-20> (\-vo zr only)
3399 A number from 1 (best) to 20 (worst) representing the JPEG encoding quality.
3402 .B \-zrvdec <1|2|4> (\-vo zr only)
3403 Vertical decimation: Ask the driver to send only every 2nd or 4th
3404 line/\:pixel of the input image to the MJPEG card and use the scaler
3405 of the MJPEG card to stretch the image to its original size.
3408 .B \-zrxdoff <x display offset> (\-vo zr only)
3409 If the movie is smaller than the TV screen, this option specifies the x
3410 offset from the upper-left corner of the TV screen (default: centered).
3413 .B \-zrydoff <y display offset> (\-vo zr only)
3414 If the movie is smaller than the TV screen, this option specifies the y
3415 offset from the upper-left corner of the TV screen (default: centered).
3419 .SH "VIDEO OUTPUT DRIVERS (MPLAYER ONLY)"
3420 Video output drivers are interfaces to different video output facilities.
3424 .B \-vo <driver1[:suboption1[=value]:...],driver2,...[,]>
3425 Specify a priority list of video output drivers to be used.
3427 If the list has a trailing ',' MPlayer will fall back on drivers not
3428 contained in the list.
3429 Suboptions are optional and can mostly be omitted.
3432 See \-vo help for a list of compiled-in video output drivers.
3437 .IPs "\-vo xmga,xv,"
3438 Try the Matrox X11 driver, then the Xv driver, then others.
3439 .IPs "\-vo directx:noaccel"
3440 Uses the DirectX driver with acceleration features turned off.
3444 Available video output drivers are:
3448 Uses the XVideo extension of XFree86 4.x to enable hardware
3449 accelerated playback.
3450 If you cannot use a hardware specific driver, this is probably
3452 For information about what colorkey is used and how it is drawn run MPlayer
3453 with \-v option and look out for the lines tagged with [xv common] at the
3457 .IPs adaptor=<number>
3458 Select a specific XVideo adaptor (check xvinfo results).
3460 Select a specific XVideo port.
3461 .IPs ck=<cur|use|set>
3462 Select the source from which the colorkey is taken (default: cur).
3465 The default takes the colorkey currently set in Xv.
3467 Use but do not set the colorkey from MPlayer (use \-colorkey option to change
3470 Same as use but also sets the supplied colorkey.
3472 .IPs ck-method=<man|bg|auto>
3473 Sets the colorkey drawing method (default: man).
3476 Draw the colorkey manually (reduces flicker in some cases).
3478 Set the colorkey as window background.
3480 Let Xv draw the colorkey.
3487 Shared memory video output driver without hardware acceleration that
3488 works whenever X11 is present.
3492 Adds X11 support to all overlay based video output drivers.
3493 Currently only supported by tdfx_vid.
3497 Select the driver to use as source to overlay on top of X11.
3502 .B vdpau (with \-vc ffmpeg12vdpau, ffwmv3vdpau, ffvc1vdpau, ffh264vdpau or ffodivxvdpau)
3503 Video output that uses VDPAU to decode video via hardware.
3504 Also supports displaying of software-decoded video.
3507 .IPs sharpen=<\-1\-1>
3508 For positive values, apply a sharpening algorithm to the video,
3509 for negative values a blurring algorithm (default: 0).
3511 Apply a noise reduction algorithm to the video (default: 0, no noise reduction).
3513 Select the deinterlacer (default: 0).
3514 All modes > 0 respect \-field\-dominance.
3519 Show only first field, similar to \-vf field.
3521 Bob deinterlacing, similar to \-vf tfields=1.
3523 motion adaptive temporal deinterlacing
3524 May lead to A/V desync with slow video hardware and/or high resolution.
3525 This is the default if "D" is used to enable deinterlacing.
3527 motion adaptive temporal deinterlacing with edge-guided spatial interpolation
3528 Needs fast video hardware.
3531 Makes temporal deinterlacers operate both on luma and chroma (default).
3532 Use nochroma\-deint to solely use luma and speed up advanced deinterlacing.
3533 Useful with slow video memory.
3535 Try to apply inverse telecine, needs motion adaptive temporal deinterlacing.
3536 .IPs colorspace=<0-3>
3537 Select the color space for YUV to RGB conversion.
3538 In general BT.601 should be used for standard definition (SD) content and
3539 BT.709 for high definition (HD) content.
3540 Using incorrect color space results in slightly under or over saturated and
3544 Guess the color space based on video resolution.
3545 Video with width >= 1280 or height > 576 is assumed to be HD and BT.709 color
3548 Use ITU-R BT.601 color space (default).
3550 Use ITU-R BT.709 color space.
3552 Use SMPTE-240M color space.
3554 .IPs hqscaling=<0-9>
3557 Use default VDPAU scaling (default).
3559 Apply high quality VDPAU scaling (needs capable hardware).
3562 Output video in studio level RGB (16-235).
3563 This is what TVs and video monitors generally expect.
3564 By default PC level RGB (0-255) suitable for PC monitors is used.
3565 Providing studio level output to a device expecting PC level input results in
3566 grey blacks and dim whites, the reverse in crushed blacks and whites.
3568 Override autodetected display refresh rate value (the value is needed for framedrop to allow video playback rates higher than display refresh rate, and for vsync-aware frame timing adjustments).
3569 Default 0 means use autodetected value.
3570 A positive value is interpreted as a refresh rate in Hz and overrides the autodetected value.
3571 A negative value disables all timing adjustment and framedrop logic.
3572 .IPs queuetime_windowed=<number>
3573 .IPs queuetime_fs=<number>
3574 Use VDPAU's presentation queue functionality to queue future video frame
3575 changes at most this many milliseconds in advance (default: 50).
3576 See below for additional information.
3577 .IPs output_surfaces=<2-15>
3578 Allocate this many output surfaces to display video frames (default: 3).
3579 See below for additional information.
3583 Using the VDPAU frame queueing functionality controlled by the queuetime
3584 options makes MPlayer's frame flip timing less sensitive to system CPU load
3585 and allows MPlayer to start decoding the next frame(s) slightly earlier
3586 which can reduce jitter caused by individual slow-to-decode frames.
3587 However the NVIDIA graphics drivers can make other window behavior such as
3588 window moves choppy if VDPAU is using the blit queue (mainly happens
3589 if you have the composite extension enabled) and this feature is active.
3590 If this happens on your system and it bothers you then you can set the
3591 queuetime value to 0 to disable this feature.
3592 The settings to use in windowed and fullscreen mode are separate because there
3593 should be less reason to disable this for fullscreen mode (as the driver issue
3594 shouldn't affect the video itself).
3596 You can queue more frames ahead by increasing the queuetime values and the
3597 output_surfaces count (to ensure enough surfaces to buffer video for a
3598 certain time ahead you need at least as many surfaces as the video has
3599 frames during that time, plus two).
3600 This could help make video smoother in some cases.
3601 The main downsides are increased video RAM requirements for the surfaces
3602 and laggier display response to user commands (display changes only become
3603 visible some time after they're queued). The graphics driver implementation may
3604 also have limits on the length of maximum queuing time or number of queued
3605 surfaces that work well or at all.
3610 .B xvmc (X11 with \-vc ffmpeg12mc only)
3611 Video output driver that uses the XvMC (X Video Motion Compensation)
3612 extension of XFree86 4.x to speed up MPEG-1/2 and VCR2 decoding.
3615 .IPs adaptor=<number>
3616 Select a specific XVideo adaptor (check xvinfo results).
3618 Select a specific XVideo port.
3620 Disables image display.
3621 Necessary for proper benchmarking of drivers that change
3622 image buffers on monitor retrace only (nVidia).
3623 Default is not to disable image display (nobenchmark).
3625 Very simple deinterlacer.
3626 Might not look better than \-vf tfields=1,
3627 but it is the only deinterlacer for xvmc (default: nobobdeint).
3629 Queue frames for display to allow more parallel work of the video hardware.
3630 May add a small (not noticeable) constant A/V desync (default: noqueue).
3632 Use sleep function while waiting for rendering to finish
3633 (not recommended on Linux) (default: nosleep).
3635 Same as \-vo xv:ck (see \-vo xv).
3636 .IPs ck-method=man|bg|auto
3637 Same as \-vo xv:ck-method (see \-vo xv).
3643 Play video through the XFree86 Direct Graphics Access extension.
3644 Considered obsolete.
3647 .B sdl (SDL only, buggy/outdated)
3648 Highly platform independent SDL (Simple Directmedia Layer) library
3649 video output driver.
3650 Since SDL uses its own X11 layer, MPlayer X11 options do not have
3652 Note that it has several minor bugs (\-vm/\-novm is mostly ignored,
3653 \-fs behaves like \-novm should, window is in top-left corner when
3654 returning from fullscreen, panscan is not supported, ...).
3657 .IPs driver=<driver>
3658 Explicitly choose the SDL driver to use.
3660 Use XVideo through the sdl video output driver (default: forcexv).
3662 Use hardware accelerated scaler (default: hwaccel).
3668 VIDIX (VIDeo Interface for *niX) is an interface to the
3669 video acceleration features of different graphics cards.
3670 Very fast video output driver on cards that support it.
3674 Explicitly choose the VIDIX subdevice driver to use.
3675 Available subdevice drivers are cyberblade, ivtv, mach64,
3676 mga_crtc2, mga, nvidia, pm2, pm3, radeon, rage128, s3, sh_veu,
3677 sis_vid and unichrome.
3682 .B xvidix (X11 only)
3683 X11 frontend for VIDIX
3693 Generic and platform independent VIDIX frontend, can even run in a
3694 text console with nVidia cards.
3703 .B winvidix (Windows only)
3704 Windows frontend for VIDIX
3713 .B direct3d (Windows only) (BETA CODE!)
3714 Video output driver that uses the Direct3D interface (useful for Vista).
3717 .B directx (Windows only)
3718 Video output driver that uses the DirectX interface.
3722 Turns off hardware acceleration.
3723 Try this option if you have display problems.
3729 Video output driver that uses the libkva interface.
3735 Force WarpOverlay! mode.
3739 Enable or disable workaround for T23 laptop (default: disabled).
3740 Try to enable this option if your video card supports upscaling only.
3745 .B quartz (Mac OS X only)
3746 Mac OS X Quartz video output driver.
3747 Under some circumstances, it might be more efficient to force a
3748 packed YUV output format, with e.g.\& \-vf format=yuy2.
3751 .IPs device_id=<number>
3752 Choose the display device to use in fullscreen.
3753 .IPs fs_res=<width>:<height>
3754 Specify the fullscreen resolution (useful on slow systems).
3759 .B corevideo (Mac OS X 10.4 or 10.3.9 with QuickTime 7)
3760 Mac OS X CoreVideo video output driver
3763 .IPs device_id=<number>
3764 Choose the display device to use for fullscreen or set it to \-1 to
3765 always use the same screen the video window is on (default: \-1 \- auto).
3767 Write output to a shared memory buffer instead of displaying it and
3768 try to open an existing NSConnection for communication with a GUI.
3769 .IPs buffer_name=<name>
3770 Name of the shared buffer created with shm_open as well as the name of
3771 the NSConnection MPlayer will try to open (default: "mplayerosx").
3772 Setting buffer_name implicitly enables shared_buffer.
3777 .B fbdev (Linux only)
3778 Uses the kernel framebuffer to play video.
3782 Explicitly choose the fbdev device name to use (e.g.\& /dev/\:fb0) or the
3783 name of the VIDIX subdevice if the device name starts with 'vidix'
3784 (e.g.\& 'vidixsis_vid' for the sis driver).
3789 .B fbdev2 (Linux only)
3790 Uses the kernel framebuffer to play video,
3791 alternative implementation.
3795 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
3801 Very general video output driver that should work on any VESA VBE 2.0
3806 Turns DGA mode on or off (default: on).
3808 Activate the NeoMagic TV out and set it to PAL norm.
3810 Activate the NeoMagic TV out and set it to NTSC norm.
3812 Use the VIDIX driver.
3814 Activate the Linux Video Overlay on top of VESA mode.
3820 Play video using the SVGA library.
3824 Specify video mode to use.
3825 The mode can be given in a <width>x<height>x<colors> format,
3826 e.g.\& 640x480x16M or be a graphics mode number, e.g.\& 84.
3828 Draw OSD into black bands below the movie (slower).
3830 Use only native drawing functions.
3831 This avoids direct rendering, OSD and hardware acceleration.
3833 Force frame switch on vertical retrace.
3834 Usable only with \-double.
3835 It has the same effect as the \-vsync option.
3837 Try to select a video mode with square pixels.
3839 Use svga with VIDIX.
3845 OpenGL video output driver, simple version.
3846 Video size must be smaller than
3847 the maximum texture size of your OpenGL implementation.
3848 Intended to work even with the most basic OpenGL implementations,
3849 but also makes use of newer extensions, which allow support for more
3850 colorspaces and direct rendering.
3851 For optimal speed try adding the options
3855 The code performs very few checks, so if a feature does not work, this
3856 might be because it is not supported by your card/OpenGL implementation
3857 even if you do not get any error message.
3858 Use glxinfo or a similar tool to display the supported OpenGL extensions.
3862 ATI drivers may give a corrupted image when PBOs are used (when using \-dr
3864 This option fixes this, at the expense of using a bit more memory.
3866 Always uses PBOs to transfer textures even if this involves an extra copy.
3867 Currently this gives a little extra speed with NVidia drivers and a lot more
3868 speed with ATI drivers.
3869 May need \-noslices and the ati\-hack suboption to work correctly.
3871 Changes the way the OSD behaves when the size of the
3872 window changes (default: disabled).
3873 When enabled behaves more like the other video output drivers,
3874 which is better for fixed-size fonts.
3875 Disabled looks much better with FreeType fonts and uses the
3876 borders in fullscreen mode.
3877 Does not work correctly with ass subtitles (see \-ass), you can instead
3878 render them without OpenGL support via \-vf ass.
3879 .IPs osdcolor=<0xAARRGGBB>
3880 Color for OSD (default: 0x00ffffff, corresponds to non-transparent white).
3881 .IPs rectangle=<0,1,2>
3882 Select usage of rectangular textures which saves video RAM, but often is
3883 slower (default: 0).
3885 0: Use power-of-two textures (default).
3887 1: Use the GL_ARB_texture_rectangle extension.
3889 2: Use the GL_ARB_texture_non_power_of_two extension.
3890 In some cases only supported in software and thus very slow.
3892 .IPs swapinterval=<n>
3893 Minimum interval between two buffer swaps, counted in
3894 displayed frames (default: 1).
3895 1 is equivalent to enabling VSYNC, 0 to disabling VSYNC.
3896 Values below 0 will leave it at the system default.
3897 This limits the framerate to (horizontal refresh rate / n).
3898 Requires GLX_SGI_swap_control support to work.
3899 With some (most/all?) implementations this only works in fullscreen mode.
3901 Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB.
3902 In most cases this is probably slower than doing software conversion to RGB.
3904 Select the type of YUV to RGB conversion.
3905 The default is auto-detection deciding between values 0 and 2.
3907 0: Use software conversion.
3908 Compatible with all OpenGL versions.
3909 Provides brightness, contrast and saturation control.
3911 1: Use register combiners.
3912 This uses an nVidia-specific extension (GL_NV_register_combiners).
3913 At least three texture units are needed.
3914 Provides saturation and hue control.
3915 This method is fast but inexact.
3917 2: Use a fragment program.
3918 Needs the GL_ARB_fragment_program extension and at least three texture units.
3919 Provides brightness, contrast, saturation and hue control.
3921 3: Use a fragment program using the POW instruction.
3922 Needs the GL_ARB_fragment_program extension and at least three texture units.
3923 Provides brightness, contrast, saturation, hue and gamma control.
3924 Gamma can also be set independently for red, green and blue.
3925 Method 4 is usually faster.
3927 4: Use a fragment program with additional lookup.
3928 Needs the GL_ARB_fragment_program extension and at least four texture units.
3929 Provides brightness, contrast, saturation, hue and gamma control.
3930 Gamma can also be set independently for red, green and blue.
3932 5: Use ATI-specific method (for older cards).
3933 This uses an ATI-specific extension (GL_ATI_fragment_shader \- not
3934 GL_ARB_fragment_shader!).
3935 At least three texture units are needed.
3936 Provides saturation and hue control.
3937 This method is fast but inexact.
3939 6: Use a 3D texture to do conversion via lookup.
3940 Needs the GL_ARB_fragment_program extension and at least four texture units.
3941 Extremely slow (software emulation) on some (all?) ATI cards since it uses
3942 a texture with border pixels.
3943 Provides brightness, contrast, saturation, hue and gamma control.
3944 Gamma can also be set independently for red, green and blue.
3945 Speed depends more on GPU memory bandwidth than other methods.
3948 Select the color space for YUV to RGB conversion.
3951 Use the formula used normally by MPlayer (default).
3953 Use ITU-R BT.601 color space.
3955 Use ITU-R BT.709 color space.
3957 Use SMPTE-240M color space.
3960 Select the brightness level conversion to use for the YUV to RGB conversion
3963 Convert TV to PC levels (default).
3965 Convert PC to TV levels.
3967 Do not do any conversion.
3970 Select the scaling function to use for luminance scaling.
3971 Only valid for yuv modes 2, 3, 4 and 6.
3973 0: Use simple linear filtering (default).
3975 1: Use bicubic B-spline filtering (better quality).
3976 Needs one additional texture unit.
3977 Older cards will not be able to handle this for chroma at least in fullscreen mode.
3979 2: Use cubic filtering in horizontal, linear filtering in vertical direction.
3980 Works on a few more cards than method 1.
3982 3: Same as 1 but does not use a lookup texture.
3983 Might be faster on some cards.
3985 4: Use experimental unsharp masking with 3x3 support and a default strength of 0.5 (see filter-strength).
3987 5: Use experimental unsharp masking with 5x5 support and a default strength of 0.5 (see filter-strength).
3990 Select the scaling function to use for chrominance scaling.
3991 For details see lscale.
3992 .IPs filter-strength=<value>
3993 Set the effect strength for the lscale/cscale filters that support it.
3995 Select a method for stereo display.
3996 You may have to use -aspect to fix the aspect value.
3997 Experimental, do not expect too much from it.
3999 0: Normal 2D display
4001 1: left-right split input to full-color red-cyan stereo.
4003 2: left-right split input to full-color red-cyan stereo.
4005 3: left-right split input to quadbuffered stereo.
4006 Only supported by very few OpenGL cards.
4011 The following options are only useful if writing your own fragment programs.
4015 .IPs customprog=<filename>
4016 Load a custom fragment program from <filename>.
4017 See TOOLS/edgedect.fp for an example.
4018 .IPs customtex=<filename>
4019 Load a custom "gamma ramp" texture from <filename>.
4020 This can be used in combination with yuv=4 or with the customprog option.
4022 If enabled (default) use GL_LINEAR interpolation, otherwise use GL_NEAREST
4023 for customtex texture.
4024 .IPs (no)customtrect
4025 If enabled, use texture_rectangle for customtex texture.
4026 Default is disabled.
4028 If enabled, mipmaps for the video are automatically generated.
4029 This should be useful together with the customprog and the TXB
4030 instruction to implement blur filters with a large radius.
4031 For most OpenGL implementations this is very slow for any non-RGB
4033 Default is disabled.
4037 Normally there is no reason to use the following options, they mostly
4038 exist for testing purposes.
4043 Call glFinish() before swapping buffers.
4044 Slower but in some cases more correct output (default: disabled).
4046 Enables support for more (RGB and BGR) color formats (default: enabled).
4047 Needs OpenGL version >= 1.2.
4048 .IPs slice-height=<0\-...>
4049 Number of lines copied to texture in one piece (default: 0).
4053 If YUV colorspace is used (see yuv suboption), special rules apply:
4055 If the decoder uses slice rendering (see \-noslices), this setting
4056 has no effect, the size of the slices as provided by the decoder is used.
4058 If the decoder does not use slice rendering, the default is 16.
4061 Enable or disable support for OSD rendering via OpenGL (default: enabled).
4062 This option is for testing; to disable the OSD use \-osdlevel 0 instead.
4064 Enable or disable aspect scaling and pan-and-scan support (default: enabled).
4065 Disabling might increase speed.
4072 Variant of the OpenGL video output driver.
4073 Supports videos larger than the maximum texture size but lacks many of the
4074 advanced features and optimizations of the gl driver and is unlikely to be
4079 same as gl (default: enabled)
4081 Select the type of YUV to RGB conversion.
4082 If set to anything except 0 OSD will be disabled and brightness, contrast and
4083 gamma setting is only available via the global X server settings.
4084 Apart from this the values have the same meaning as for \-vo gl.
4089 OpenGL-based renderer creating a Matrix-like running-text effect.
4093 Number of text columns to display.
4094 Very low values (< 16) will probably fail due to scaler limitations.
4095 Values not divisible by 16 may cause issues as well.
4097 Number of text rows to display.
4098 Very low values (< 16) will probably fail due to scaler limitations.
4099 Values not divisible by 16 may cause issues as well.
4104 Produces no video output.
4105 Useful for benchmarking.
4109 ASCII art video output driver that works on a text console.
4110 You can get a list and an explanation of available suboptions
4111 by executing 'mplayer \-vo aa:help'.
4114 The driver does not handle \-aspect correctly.
4117 You probably have to specify \-monitorpixelaspect.
4118 Try 'mplayer \-vo aa \-monitorpixelaspect 0.5'.
4122 Color ASCII art video output driver that works on a text console.
4126 Video playback using the Blinkenlights UDP protocol.
4127 This driver is highly hardware specific.
4131 Explicitly choose the Blinkenlights subdevice driver to use.
4132 It is something like arcade:host=localhost:2323 or
4133 hdl:file=name1,file=name2.
4134 You must specify a subdevice.
4140 GGI graphics system video output driver
4144 Explicitly choose the GGI driver to use.
4145 Replace any ',' that would appear in the driver string by a '.'.
4151 Play video using the DirectFB library.
4155 Use the DirectFB instead of the MPlayer keyboard code (default: enabled).
4156 .IPs buffermode=single|double|triple
4157 Double and triple buffering give best results if you want to avoid tearing issues.
4158 Triple buffering is more efficient than double buffering as it does
4159 not block MPlayer while waiting for the vertical retrace.
4160 Single buffering should be avoided (default: single).
4161 .IPs fieldparity=top|bottom
4162 Control the output order for interlaced frames (default: disabled).
4163 Valid values are top = top fields first, bottom = bottom fields first.
4164 This option does not have any effect on progressive film material
4165 like most MPEG movies are.
4166 You need to enable this option if you have tearing issues or unsmooth
4167 motions watching interlaced film material.
4169 Will force layer with ID N for playback (default: \-1 \- auto).
4171 Specify a parameter list for DirectFB.
4177 Matrox G400/\:G450/\:G550 specific video output driver that uses the
4178 DirectFB library to make use of special hardware features.
4179 Enables CRTC2 (second head), displaying video independently of the first head.
4183 same as directfb (default: disabled)
4184 .IPs buffermode=single|double|triple
4185 same as directfb (default: triple)
4186 .IPs fieldparity=top|bottom
4189 Enable the use of the Matrox BES (backend scaler) (default: disabled).
4190 Gives very good results concerning speed and output quality as interpolated
4191 picture processing is done in hardware.
4192 Works only on the primary head.
4194 Make use of the Matrox sub picture layer to display the OSD (default: enabled).
4196 Turn on TV-out on the second head (default: enabled).
4197 The output quality is amazing as it is a full interlaced picture
4198 with proper sync to every odd/\:even field.
4199 .IPs tvnorm=pal|ntsc|auto
4200 Will set the TV norm of the Matrox card without the need
4201 for modifying /etc/\:directfbrc (default: disabled).
4202 Valid norms are pal = PAL, ntsc = NTSC.
4203 Special norm is auto (auto-adjust using PAL/\:NTSC) because it decides
4204 which norm to use by looking at the framerate of the movie.
4210 Matrox specific video output driver that makes use of the YUV back
4211 end scaler on Gxxx cards through a kernel module.
4212 If you have a Matrox card, this is the fastest option.
4216 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4221 .B xmga (Linux, X11 only)
4222 The mga video output driver, running in an X11 window.
4226 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4231 .B s3fb (Linux only) (also see \-dr)
4232 S3 Virge specific video output driver.
4233 This driver supports the card's YUV conversion and scaling, double
4234 buffering and direct rendering features.
4235 Use \-vf format=yuy2 to get hardware-accelerated YUY2 rendering, which is
4236 much faster than YV12 on this card.
4240 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4246 Nintendo Wii/GameCube specific video output driver.
4249 .B 3dfx (Linux only)
4250 3dfx-specific video output driver that directly uses
4251 the hardware on top of X11.
4252 Only 16 bpp are supported.
4255 .B tdfxfb (Linux only)
4256 This driver employs the tdfxfb framebuffer driver to play movies with
4257 YUV acceleration on 3dfx cards.
4261 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4266 .B tdfx_vid (Linux only)
4267 3dfx-specific video output driver that works in combination with
4268 the tdfx_vid kernel module.
4272 Explicitly choose the device name to use (default: /dev/\:tdfx_vid).
4277 .B dxr2 (also see \-dxr2) (DXR2 only)
4278 Creative DXR2 specific video output driver.
4282 Output video subdriver to use as overlay (x11, xv).
4288 Sigma Designs em8300 MPEG decoder chip (Creative DXR3, Sigma Designs
4289 Hollywood Plus) specific video output driver.
4290 Also see the lavc video filter.
4294 Activates the overlay instead of TV-out.
4296 Turns on prebuffering.
4298 Will turn on the new sync-engine.
4300 Specifies the TV norm.
4302 0: Does not change current norm (default).
4304 1: Auto-adjust using PAL/\:NTSC.
4306 2: Auto-adjust using PAL/\:PAL-60.
4315 Specifies the device number to use if you have more than one em8300 card.
4321 Conexant CX23415 (iCompression iTVC15) or Conexant CX23416 (iCompression
4322 iTVC16) MPEG decoder chip (Hauppauge WinTV PVR-150/250/350/500)
4323 specific video output driver for TV-out.
4324 Also see the lavc video filter.
4328 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4330 Explicitly choose the TV-out output to be used for the video signal.
4335 .B v4l2 (requires Linux 2.6.22+ kernel)
4336 Video output driver for V4L2 compliant cards with built-in hardware MPEG decoder.
4337 Also see the lavc video filter.
4341 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4343 Explicitly choose the TV-out output to be used for the video signal.
4348 .B mpegpes (DVB only)
4349 Video output driver for DVB cards that writes the output to an MPEG-PES file
4350 if no DVB card is installed.
4354 Specifies the device number to use if you have more than one DVB output card
4355 (V3 API only, such as 1.x.y series drivers).
4356 If not specified MPlayer will search the first usable card.
4358 output filename (default: ./grab.mpg)
4363 .B zr (also see \-zr* and \-zrhelp)
4364 Video output driver for a number of MJPEG capture/\:playback cards.
4367 .B zr2 (also see the zrmjpeg video filter)
4368 Video output driver for a number of MJPEG capture/\:playback cards,
4373 Specifies the video device to use.
4374 .IPs norm=<PAL|NTSC|SECAM|auto>
4375 Specifies the video norm to use (default: auto).
4377 (De)Activate prebuffering, not yet supported.
4383 Calculate MD5 sums of each frame and write them to a file.
4384 Supports RGB24 and YV12 colorspaces.
4385 Useful for debugging.
4388 .IPs outfile=<value>
4389 Specify the output filename (default: ./md5sums).
4395 Transforms the video stream into a sequence of uncompressed YUV 4:2:0
4396 images and stores it in a file (default: ./stream.yuv).
4397 The format is the same as the one employed by mjpegtools, so this is
4398 useful if you want to process the video with the mjpegtools suite.
4399 It supports the YV12 format.
4400 If your source file has a different format and is interlaced, make sure
4401 to use -vf scale=::1 to ensure the conversion uses interlaced mode.
4402 You can combine it with the \-fixed\-vo option to concatenate files
4403 with the same dimensions and fps value.
4407 Write the output as interlaced frames, top field first.
4409 Write the output as interlaced frames, bottom field first.
4410 .IPs file=<filename>
4411 Write the output to <filename> instead of the default stream.yuv.
4417 If you do not specify any option the output is progressive
4418 (i.e.\& not interlaced).
4423 Output each frame into a single animated GIF file in the current directory.
4424 It supports only RGB format with 24 bpp and the output is converted to 256
4429 Float value to specify framerate (default: 5.0).
4431 Specify the output filename (default: ./out.gif).
4437 You must specify the framerate before the filename or the framerate will
4438 be part of the filename.
4444 mplayer video.nut \-vo gif89a:fps=15:output=test.gif
4450 Output each frame into a JPEG file in the current directory.
4451 Each file takes the frame number padded with leading zeros as name.
4454 .IPs [no]progressive
4455 Specify standard or progressive JPEG (default: noprogressive).
4457 Specify use of baseline or not (default: baseline).
4458 .IPs optimize=<0\-100>
4459 optimization factor (default: 100)
4460 .IPs smooth=<0\-100>
4461 smooth factor (default: 0)
4462 .IPs quality=<0\-100>
4463 quality factor (default: 75)
4464 .IPs outdir=<dirname>
4465 Specify the directory to save the JPEG files to (default: ./).
4466 .IPs subdirs=<prefix>
4467 Create numbered subdirectories with the specified prefix to
4468 save the files in instead of the current directory.
4469 .IPs "maxfiles=<value> (subdirs only)"
4470 Maximum number of files to be saved per subdirectory.
4471 Must be equal to or larger than 1 (default: 1000).
4477 Output each frame into a PNM file in the current directory.
4478 Each file takes the frame number padded with leading zeros as name.
4479 It supports PPM, PGM and PGMYUV files in both raw and ASCII mode.
4480 Also see pnm(5), ppm(5) and pgm(5).
4484 Write PPM files (default).
4489 PGMYUV is like PGM, but it also contains the U and V plane, appended at the
4490 bottom of the picture.
4492 Write PNM files in raw mode (default).
4494 Write PNM files in ASCII mode.
4495 .IPs outdir=<dirname>
4496 Specify the directory to save the PNM files to (default: ./).
4497 .IPs subdirs=<prefix>
4498 Create numbered subdirectories with the specified prefix to
4499 save the files in instead of the current directory.
4500 .IPs "maxfiles=<value> (subdirs only)"
4501 Maximum number of files to be saved per subdirectory.
4502 Must be equal to or larger than 1 (default: 1000).
4508 Output each frame into a PNG file in the current directory.
4509 Each file takes the frame number padded with leading zeros as name.
4510 24bpp RGB and BGR formats are supported.
4514 Specifies the compression level.
4515 0 is no compression, 9 is maximum compression.
4516 .IPs alpha (default: noalpha)
4517 Create PNG files with an alpha channel.
4518 Note that MPlayer in general does not support alpha, so this will only
4519 be useful in some rare cases.
4525 Output each frame into a Targa file in the current directory.
4526 Each file takes the frame number padded with leading zeros as name.
4527 The purpose of this video output driver is to have a simple lossless
4528 image writer to use without any external library.
4529 It supports the BGR[A] color format, with 15, 24 and 32 bpp.
4530 You can force a particular format with the format video filter.
4536 mplayer video.nut \-vf format=bgr15 \-vo tga
4542 .SH "DECODING/FILTERING OPTIONS"
4545 .B \-ac <[\-|+]codec1,[\-|+]codec2,...[,]>
4546 Specify a priority list of audio codecs to be used, according to their codec
4547 name in codecs.conf.
4548 Use a '\-' before the codec name to omit it.
4549 Use a '+' before the codec name to force it, this will likely crash!
4550 If the list has a trailing ',' MPlayer will fall back on codecs not
4551 contained in the list.
4554 See \-ac help for a full list of available codecs.
4560 Force the l3codeca.acm MP3 codec.
4562 Try libmad first, then fall back on others.
4563 .IPs "\-ac hwac3,a52,"
4564 Try hardware AC-3 passthrough, software AC-3, then others.
4566 Try hardware DTS passthrough, then fall back on others.
4567 .IPs "\-ac \-ffmp3,"
4568 Skip FFmpeg's MP3 decoder.
4573 .B \-af\-adv <force=(0\-7):list=(filters)> (also see \-af)
4574 Specify advanced audio filter options:
4577 Forces the insertion of audio filters to one of the following:
4579 0: Use completely automatic filter insertion (currently identical to 1).
4581 1: Optimize for accuracy (default).
4583 2: Optimize for speed.
4585 Some features in the audio filters may silently fail,
4586 and the sound quality may drop.
4588 3: Use no automatic insertion of filters and no optimization.
4590 It may be possible to crash MPlayer using this setting.
4592 4: Use automatic insertion of filters according to 0 above,
4593 but use floating point processing when possible.
4595 5: Use automatic insertion of filters according to 1 above,
4596 but use floating point processing when possible.
4598 6: Use automatic insertion of filters according to 2 above,
4599 but use floating point processing when possible.
4601 7: Use no automatic insertion of filters according to 3 above,
4602 and use floating point processing when possible.
4609 .B \-afm <driver1,driver2,...>
4610 Specify a priority list of audio codec families to be used, according
4611 to their codec name in codecs.conf.
4612 Falls back on the default codecs if none of the given codec families work.
4615 See \-afm help for a full list of available codec families.
4621 Try FFmpeg's libavcodec codecs first.
4622 .IPs "\-afm acm,dshow"
4623 Try Win32 codecs first.
4628 .B \-aspect <ratio> (also see \-zoom)
4629 Override movie aspect ratio, in case aspect information is
4630 incorrect or missing in the file being played.
4635 \-aspect 4:3 or \-aspect 1.3333
4637 \-aspect 16:9 or \-aspect 1.7777
4643 Disable automatic movie aspect ratio compensation.
4646 .B "\-field\-dominance <\-1\-1>"
4647 Set first field for interlaced content.
4648 Useful for deinterlacers that double the framerate: \-vf tfields=1,
4649 \-vf yadif=1, \-vo vdpau:deint and \-vo xvmc:bobdeint.
4653 auto (default): If the decoder does not export the appropriate information,
4654 it falls back to 0 (top field first).
4664 Flip image upside-down.
4667 .B \-lavdopts <option1:option2:...> (DEBUG CODE)
4668 Specify libavcodec decoding parameters.
4669 Separate multiple options with a colon.
4674 \-lavdopts gray:skiploopfilter=all:skipframe=nonref
4679 Available options are:
4683 Only use bit-exact algorithms in all decoding steps (for codec testing).
4685 Manually work around encoder bugs.
4689 1: autodetect bugs (default)
4691 2 (msmpeg4v3): some old lavc generated msmpeg4v3 files (no autodetection)
4693 4 (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
4695 8 (mpeg4): UMP4 (autodetected if fourcc==UMP4)
4697 16 (mpeg4): padding bug (autodetected)
4699 32 (mpeg4): illegal vlc bug (autodetected per fourcc)
4701 64 (mpeg4): Xvid and DivX qpel bug (autodetected per fourcc/\:version)
4703 128 (mpeg4): old standard qpel (autodetected per fourcc/\:version)
4705 256 (mpeg4): another qpel bug (autodetected per fourcc/\:version)
4707 512 (mpeg4): direct-qpel-blocksize bug (autodetected per fourcc/\:version)
4709 1024 (mpeg4): edge padding bug (autodetected per fourcc/\:version)
4712 Display debugging information.
4723 8: macroblock (MB) type
4725 16: per-block quantization parameter (QP)
4729 0x0040: motion vector visualization (use \-noslices)
4731 0x0080: macroblock (MB) skip
4737 0x0400: error resilience
4739 0x0800: memory management control operations (H.264)
4743 0x2000: Visualize quantization parameter (QP), lower QP are tinted greener.
4745 0x4000: Visualize block types.
4748 Set error concealment strategy.
4750 1: Use strong deblock filter for damaged MBs.
4752 2: iterative motion vector (MV) search (slow)
4757 Set error resilience strategy.
4762 1: careful (Should work with broken encoders.)
4764 2: normal (default) (Works with compliant encoders.)
4766 3: aggressive (More checks, but might cause problems even for valid bitstreams.)
4770 .IPs "fast (MPEG-2, MPEG-4, and H.264 only)"
4771 Enable optimizations which do not comply to the specification and might
4772 potentially cause problems, like simpler dequantization, simpler motion
4773 compensation, assuming use of the default quantization matrix, assuming
4774 YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.
4776 grayscale only decoding (a bit faster than with color)
4777 .IPs "idct=<0\-99> (see \-lavcopts)"
4778 For best decoding quality use the same IDCT algorithm for decoding and encoding.
4779 This may come at a price in accuracy, though.
4780 .IPs lowres=<number>[,<w>]
4781 Decode at lower resolutions.
4782 Low resolution decoding is not supported by all codecs, and it will
4783 often result in ugly artifacts.
4784 This is not a bug, but a side effect of not decoding at full resolution.
4796 If <w> is specified lowres decoding will be used only if the width of the
4797 video is major than or equal to <w>.
4799 .B o=<key>=<value>[,<key>=<value>[,...]]
4800 Pass AVOptions to libavcodec decoder.
4801 Note, a patch to make the o= unneeded and pass all unknown options through
4802 the AVOption system is welcome.
4803 A full list of AVOptions can be found in the FFmpeg manual.
4813 .IPs "sb=<number> (MPEG-2 only)"
4814 Skip the given number of macroblock rows at the bottom.
4815 .IPs "st=<number> (MPEG-2 only)"
4816 Skip the given number of macroblock rows at the top.
4817 .IPs "skiploopfilter=<skipvalue> (H.264 only)"
4818 Skips the loop filter (AKA deblocking) during H.264 decoding.
4819 Since the filtered frame is supposed to be used as reference
4820 for decoding dependent frames this has a worse effect on quality
4821 than not doing deblocking on e.g.\& MPEG-2 video.
4822 But at least for high bitrate HDTV this provides a big speedup with
4823 no visible quality loss.
4825 <skipvalue> can be either one of the following:
4830 default: Skip useless processing steps (e.g.\& 0 size packets in AVI).
4832 nonref: Skip frames that are not referenced (i.e.\& not used for
4833 decoding other frames, the error cannot "build up").
4835 bidir: Skip B-Frames.
4837 nonkey: Skip all frames except keyframes.
4839 all: Skip all frames.
4841 .IPs "skipidct=<skipvalue> (MPEG-1/2 only)"
4842 Skips the IDCT step.
4843 This degrades quality a lot of in almost all cases
4844 (see skiploopfilter for available skip values).
4845 .IPs skipframe=<skipvalue>
4846 Skips decoding of frames completely.
4847 Big speedup, but jerky motion and sometimes bad artifacts
4848 (see skiploopfilter for available skip values).
4849 .IPs "threads=<0\-16>"
4850 Number of threads to use for decoding.
4851 Whether threading is actually supported depends on codec.
4852 0 means autodetect number of cores on the machine and use that, up to the
4856 Visualize motion vectors.
4861 1: Visualize forward predicted MVs of P-frames.
4863 2: Visualize forward predicted MVs of B-frames.
4865 4: Visualize backward predicted MVs of B-frames.
4868 Prints some statistics and stores them in ./vstats_*.log.
4873 Disable drawing video by 16-pixel height slices/\:bands, instead draws the
4874 whole frame in a single run.
4875 May be faster or slower, depending on video card and available cache.
4876 It has effect only with libmpeg2 and libavcodec codecs.
4881 Useful for benchmarking.
4886 With some demuxers this may not work. In those cases you can try \-vc null \-vo null instead; but "\-vc null" is always unreliable.
4889 .B \-pp <quality> (also see \-vf pp)
4890 Set the DLL postprocess level.
4891 This option is no longer usable with \-vf pp.
4892 It only works with Win32 DirectShow DLLs with internal postprocessing routines.
4893 The valid range of \-pp values varies by codec, it is mostly
4894 0\-6, where 0=disable, 6=slowest/\:best.
4897 .B \-pphelp (also see \-vf pp)
4898 Show a summary about the available postprocess filters and their usage.
4902 Specifies software scaler parameters.
4907 \-vf scale \-ssf lgb=3.0
4913 gaussian blur filter (luma)
4915 gaussian blur filter (chroma)
4916 .IPs ls=<\-100\-100>
4917 sharpen filter (luma)
4918 .IPs cs=<\-100\-100>
4919 sharpen filter (chroma)
4921 chroma horizontal shifting
4923 chroma vertical shifting
4929 Select type of MP2/\:MP3 stereo output.
4942 .B \-sws <software scaler type> (also see \-vf scale and \-zoom)
4943 Specify the software scaler algorithm to be used with the \-zoom option.
4944 This affects video output drivers which lack hardware acceleration, e.g.\& x11.
4946 Available types are:
4955 bicubic (good quality) (default)
4959 nearest neighbor (bad quality)
4963 luma bicubic / chroma bilinear
4971 natural bicubic spline
4977 Some \-sws options are tunable.
4978 The description of the scale video filter has further information.
4982 .B \-vc <[\-|+]codec1,[\-|+]codec2,...[,]>
4983 Specify a priority list of video codecs to be used, according to their codec
4984 name in codecs.conf.
4985 Use a '\-' before the codec name to omit it.
4986 Use a '+' before the codec name to force it, this will likely crash!
4987 If the list has a trailing ',' MPlayer will fall back on codecs not
4988 contained in the list.
4991 See \-vc help for a full list of available codecs.
4997 Force Win32/\:VfW DivX codec, no fallback.
4998 .IPs "\-vc \-divxds,\-divx,"
4999 Skip Win32 DivX codecs.
5000 .IPs "\-vc ffmpeg12,mpeg12,"
5001 Try libavcodec's MPEG-1/2 codec, then libmpeg2, then others.
5006 .B \-vfm <driver1,driver2,...>
5007 Specify a priority list of video codec families to be used, according
5008 to their names in codecs.conf.
5009 Falls back on the default codecs if none of the given codec families work.
5012 See \-vfm help for a full list of available codec families.
5017 .IPs "\-vfm ffmpeg,dshow,vfw"
5018 Try the libavcodec, then Directshow, then VfW codecs and fall back
5019 on others, if they do not work.
5021 Try XAnim codecs first.
5026 .B \-x <x> (also see \-zoom) (MPlayer only)
5027 Scale image to width <x> (if software/\:hardware scaling is available).
5028 Disables aspect calculations.
5031 .B \-xvidopts <option1:option2:...>
5032 Specify additional parameters when decoding with Xvid.
5035 Since libavcodec is faster than Xvid you might want to use the libavcodec
5036 postprocessing filter (\-vf pp) and decoder (\-vfm ffmpeg) instead.
5038 Xvid's internal postprocessing filters:
5041 .IPs "deblock-chroma (also see \-vf pp)"
5042 chroma deblock filter
5043 .IPs "deblock-luma (also see \-vf pp)"
5045 .IPs "dering-luma (also see \-vf pp)"
5046 luma deringing filter
5047 .IPs "dering-chroma (also see \-vf pp)"
5048 chroma deringing filter
5049 .IPs "filmeffect (also see \-vf noise)"
5050 Adds artificial film grain to the video.
5051 May increase perceived quality, while lowering true quality.
5060 Activate direct rendering method 2.
5062 Deactivate direct rendering method 2.
5067 .B \-xy <value> (also see \-zoom)
5071 Scale image by factor <value>.
5073 Set width to value and calculate height to keep correct aspect ratio.
5078 .B \-y <y> (also see \-zoom) (MPlayer only)
5079 Scale image to height <y> (if software/\:hardware scaling is available).
5080 Disables aspect calculations.
5084 Allow software scaling, where available.
5085 This will allow scaling with output drivers (like x11, fbdev) that
5086 do not support hardware scaling where MPlayer disables scaling by
5087 default for performance reasons.
5092 Audio filters allow you to modify the audio stream and its properties.
5096 .B \-af <filter1[=parameter1:parameter2:...],filter2,...>
5097 Setup a chain of audio filters.
5100 To get a full list of available audio filters, see \-af help.
5102 Audio filters are managed in lists.
5103 There are a few commands to manage the filter list.
5106 .B \-af\-add <filter1[,filter2,...]>
5107 Appends the filters given as arguments to the filter list.
5110 .B \-af\-pre <filter1[,filter2,...]>
5111 Prepends the filters given as arguments to the filter list.
5114 .B \-af\-del <index1[,index2,...]>
5115 Deletes the filters at the given indexes.
5116 Index numbers start at 0, negative numbers address the end of the
5117 list (\-1 is the last).
5121 Completely empties the filter list.
5123 Available filters are:
5126 .B resample[=srate[:sloppy[:type]]]
5127 Changes the sample rate of the audio stream.
5128 Can be used if you have a fixed frequency sound card or if you are
5129 stuck with an old sound card that is only capable of max 44.1kHz.
5130 This filter is automatically enabled if necessary.
5131 It only supports 16-bit integer and float in native-endian format as input.
5135 output sample frequency in Hz.
5136 The valid range for this parameter is 8000 to 192000.
5137 If the input and output sample frequency are the same or if this
5138 parameter is omitted the filter is automatically unloaded.
5139 A high sample frequency normally improves the audio quality,
5140 especially when used in combination with other filters.
5142 Allow (1) or disallow (0) the output frequency to differ slightly
5143 from the frequency given by <srate> (default: 1).
5144 Can be used if the startup of the playback is extremely slow.
5146 Select which resampling method to use.
5148 0: linear interpolation (fast, poor quality especially when upsampling)
5150 1: polyphase filterbank and integer processing
5152 2: polyphase filterbank and floating point processing (slow, best quality)
5162 .IPs "mplayer \-af resample=44100:0:0"
5163 would set the output frequency of the resample filter to 44100Hz using
5164 exact output frequency scaling and linear interpolation.
5169 .B lavcresample[=srate[:length[:linear[:count[:cutoff]]]]]
5170 Changes the sample rate of the audio stream to an integer <srate> in Hz.
5171 It only supports the 16-bit native-endian format.
5175 the output sample rate
5177 length of the filter with respect to the lower sampling rate (default: 16)
5179 if 1 then filters will be linearly interpolated between polyphase entries
5181 log2 of the number of polyphase entries
5182 (..., 10->1024, 11->2048, 12->4096, ...)
5185 cutoff frequency (0.0\-1.0), default set depending upon filter length
5190 .B lavcac3enc[=tospdif[:bitrate[:minchn]]]
5191 Encode multi-channel audio to AC-3 at runtime using libavcodec.
5192 Supports 16-bit native-endian input format, maximum 6 channels.
5193 The output is big-endian when outputting a raw AC-3 stream,
5194 native-endian when outputting to S/PDIF.
5195 The output sample rate of this filter is same with the input sample rate.
5196 When input sample rate is 48kHz, 44.1kHz, or 32kHz, this filter directly use it.
5197 Otherwise a resampling filter is auto-inserted before this filter to make
5198 the input and output sample rate be 48kHz.
5199 You need to specify '\-channels N' to make the decoder decode audio into
5200 N-channel, then the filter can encode the N-channel input to AC-3.
5205 Output raw AC-3 stream if zero or not set,
5206 output to S/PDIF for passthrough when <tospdif> is set non-zero.
5208 The bitrate to encode the AC-3 stream.
5209 Set it to either 384 or 384000 to get 384kbits.
5210 Valid values: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
5211 320, 384, 448, 512, 576, 640
5212 Default bitrate is based on the input channel number:
5213 1ch: 96, 2ch: 192, 3ch: 224, 4ch: 384, 5ch: 448, 6ch: 448
5215 If the input channel number is less than <minchn>, the filter will
5216 detach itself (default: 5).
5222 Produces a sine sweep.
5226 Sine function delta, use very low values to hear the sweep.
5231 .B sinesuppress[=freq:decay]
5232 Remove a sine at the specified frequency.
5233 Useful to get rid of the 50/60Hz noise on low quality audio equipment.
5234 It probably only works on mono input.
5238 The frequency of the sine which should be removed (in Hz) (default: 50)
5240 Controls the adaptivity (a larger value will make the filter adapt to
5241 amplitude and phase changes quicker, a smaller value will make the
5242 adaptation slower) (default: 0.0001).
5243 Reasonable values are around 0.001.
5248 .B bs2b[=option1:option2:...]
5249 Bauer stereophonic to binaural transformation using libbs2b.
5250 Improves the headphone listening experience by making the sound
5251 similar to that from loudspeakers, allowing each ear to hear both
5252 channels and taking into account the distance difference and the
5253 head shadowing effect.
5254 It is applicable only to 2 channel audio.
5257 .IPs fcut=<300\-1000>
5258 Set cut frequency in Hz.
5260 Set feed level for low frequencies in 0.1*dB.
5261 .IPs profile=<value>
5262 Several profiles are available for convenience:
5266 will be used if nothing else was specified (fcut=700, feed=45)
5268 Chu Moy circuit implementation (fcut=700, feed=60)
5270 Jan Meier circuit implementation (fcut=650, feed=95)
5275 If fcut or feed options are specified together with a profile, they
5276 will be applied on top of the selected profile.
5282 Head-related transfer function: Converts multichannel audio to
5283 2 channel output for headphones, preserving the spatiality of the sound.
5288 .IPs "m matrix decoding of the rear channel"
5289 .IPs "s 2-channel matrix decoding"
5290 .IPs "0 no matrix decoding (default)"
5295 .B equalizer=[g1:g2:g3:...:g10]
5296 10 octave band graphic equalizer, implemented using 10 IIR band pass filters.
5297 This means that it works regardless of what type of audio is being played back.
5298 The center frequencies for the 10 bands are:
5302 .IPs "No. frequency"
5317 If the sample rate of the sound being played is lower than the center
5318 frequency for a frequency band, then that band will be disabled.
5319 A known bug with this filter is that the characteristics for the
5320 uppermost band are not completely symmetric if the sample
5321 rate is close to the center frequency of that band.
5322 This problem can be worked around by upsampling the sound
5323 using the resample filter before it reaches this filter.
5327 .IPs <g1>:<g2>:<g3>:...:<g10>
5328 floating point numbers representing the gain in dB
5329 for each frequency band (\-12\-12)
5336 .IPs "mplayer \-af equalizer=11:11:10:5:0:\-12:0:5:12:12 media.avi"
5337 Would amplify the sound in the upper and lower frequency region
5338 while canceling it almost completely around 1kHz.
5343 .B channels=nch[:nr:from1:to1:from2:to2:from3:to3:...]
5344 Can be used for adding, removing, routing and copying audio channels.
5345 If only <nch> is given the default routing is used, it works as
5346 follows: If the number of output channels is bigger than the number of
5347 input channels empty channels are inserted (except mixing from mono to
5348 stereo, then the mono channel is repeated in both of the output
5350 If the number of output channels is smaller than the number
5351 of input channels the exceeding channels are truncated.
5355 number of output channels (1\-8)
5357 number of routes (1\-8)
5358 .IPs <from1:to1:from2:to2:from3:to3:...>
5359 Pairs of numbers between 0 and 7 that define where to route each channel.
5366 .IPs "mplayer \-af channels=4:4:0:1:1:0:2:2:3:3 media.avi"
5367 Would change the number of channels to 4 and set up 4 routes that
5368 swap channel 0 and channel 1 and leave channel 2 and 3 intact.
5369 Observe that if media containing two channels was played back, channels
5370 2 and 3 would contain silence but 0 and 1 would still be swapped.
5371 .IPs "mplayer \-af channels=6:4:0:0:0:1:0:2:0:3 media.avi"
5372 Would change the number of channels to 6 and set up 4 routes
5373 that copy channel 0 to channels 0 to 3.
5374 Channel 4 and 5 will contain silence.
5379 .B format[=format] (also see \-format)
5380 Convert between different sample formats.
5381 Automatically enabled when needed by the sound card or another filter.
5385 Sets the desired format.
5386 The general form is 'sbe', where 's' denotes the sign (either 's' for signed
5387 or 'u' for unsigned), 'b' denotes the number of bits per sample (16, 24 or 32)
5388 and 'e' denotes the endianness ('le' means little-endian, 'be' big-endian
5389 and 'ne' the endianness of the computer MPlayer is running on).
5390 Valid values (amongst others) are: 's16le', 'u32be' and 'u24ne'.
5391 Exceptions to this rule that are also valid format specifiers: u8, s8,
5392 floatle, floatbe, floatne, mulaw, alaw, mpeg2, ac3 and imaadpcm.
5398 Implements software volume control.
5399 Use this filter with caution since it can reduce the signal
5400 to noise ratio of the sound.
5401 In most cases it is best to set the level for the PCM sound to max,
5402 leave this filter out and control the output level to your
5403 speakers with the master volume control of the mixer.
5404 In case your sound card has a digital PCM mixer instead of an analog
5405 one, and you hear distortion, use the MASTER mixer instead.
5406 If there is an external amplifier connected to the computer (this
5407 is almost always the case), the noise level can be minimized by
5408 adjusting the master level and the volume knob on the amplifier
5409 until the hissing noise in the background is gone.
5411 This filter has a second feature: It measures the overall maximum
5412 sound level and prints out that level when MPlayer exits.
5413 This feature currently only works with floating-point data,
5414 use e.g. \-af\-adv force=5, or use \-af stats.
5417 This filter is not reentrant and can therefore only be enabled
5418 once for every audio stream.
5422 Sets the desired gain in dB for all channels in the stream
5423 from \-200dB to +60dB, where \-200dB mutes the sound
5424 completely and +60dB equals a gain of 1000 (default: 0).
5426 Turns soft clipping on (1) or off (0).
5427 Soft-clipping can make the sound more smooth if very
5428 high volume levels are used.
5429 Enable this option if the dynamic range of the
5430 loudspeakers is very low.
5433 This feature creates distortion and should be considered a last resort.
5440 .IPs "mplayer \-af volume=10.1:0 media.avi"
5441 Would amplify the sound by 10.1dB and hard-clip if the
5442 sound level is too high.
5447 .B pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]
5448 Mixes channels arbitrarily.
5449 Basically a combination of the volume and the channels filter
5450 that can be used to down-mix many channels to only a few,
5451 e.g.\& stereo to mono or vary the "width" of the center
5452 speaker in a surround sound system.
5453 This filter is hard to use, and will require some tinkering
5454 before the desired result is obtained.
5455 The number of options for this filter depends on
5456 the number of output channels.
5457 An example how to downmix a six-channel file to two channels with
5458 this filter can be found in the examples section near the end.
5462 number of output channels (1\-8)
5464 How much of input channel i is mixed into output channel j (0\-1).
5465 So in principle you first have n numbers saying what to do with the
5466 first input channel, then n numbers that act on the second input channel
5468 If you do not specify any numbers for some input channels, 0 is assumed.
5475 .IPs "mplayer \-af pan=1:0.5:0.5 media.avi"
5476 Would down-mix from stereo to mono.
5477 .IPs "mplayer \-af pan=3:1:0:0.5:0:1:0.5 media.avi"
5478 Would give 3 channel output leaving channels 0 and 1 intact,
5479 and mix channels 0 and 1 into output channel 2 (which could
5480 be sent to a subwoofer for example).
5486 Adds a subwoofer channel to the audio stream.
5487 The audio data used for creating the subwoofer channel is
5488 an average of the sound in channel 0 and channel 1.
5489 The resulting sound is then low-pass filtered by a 4th order
5490 Butterworth filter with a default cutoff frequency of 60Hz
5491 and added to a separate channel in the audio stream.
5494 Disable this filter when you are playing DVDs with Dolby
5495 Digital 5.1 sound, otherwise this filter will disrupt
5496 the sound to the subwoofer.
5500 cutoff frequency in Hz for the low-pass filter (20Hz to 300Hz) (default: 60Hz)
5501 For the best result try setting the cutoff frequency as low as possible.
5502 This will improve the stereo or surround sound experience.
5504 Determines the channel number in which to insert the sub-channel audio.
5505 Channel number can be between 0 and 7 (default: 5).
5506 Observe that the number of channels will automatically
5507 be increased to <ch> if necessary.
5514 .IPs "mplayer \-af sub=100:4 \-channels 5 media.avi"
5515 Would add a sub-woofer channel with a cutoff frequency of
5516 100Hz to output channel 4.
5522 Creates a center channel from the front channels.
5523 May currently be low quality as it does not implement a
5524 high-pass filter for proper extraction yet, but averages and
5525 halves the channels instead.
5529 Determines the channel number in which to insert the center channel.
5530 Channel number can be between 0 and 7 (default: 5).
5531 Observe that the number of channels will automatically
5532 be increased to <ch> if necessary.
5538 Decoder for matrix encoded surround sound like Dolby Surround.
5539 Many files with 2 channel audio actually contain matrixed surround sound.
5540 Requires a sound card supporting at least 4 channels.
5544 delay time in ms for the rear speakers (0 to 1000) (default: 20)
5545 This delay should be set as follows: If d1 is the distance
5546 from the listening position to the front speakers and d2 is the distance
5547 from the listening position to the rear speakers, then the delay should
5548 be set to 15ms if d1 <= d2 and to 15 + 5*(d1-d2) if d1 > d2.
5555 .IPs "mplayer \-af surround=15 \-channels 4 media.avi"
5556 Would add surround sound decoding with 15ms delay for the sound to the
5562 .B delay[=ch1:ch2:...]
5563 Delays the sound to the loudspeakers such that the sound from the
5564 different channels arrives at the listening position simultaneously.
5565 It is only useful if you have more than 2 loudspeakers.
5569 The delay in ms that should be imposed on each channel
5570 (floating point number between 0 and 1000).
5575 To calculate the required delay for the different channels do as follows:
5577 Measure the distance to the loudspeakers in meters in relation
5578 to your listening position, giving you the distances s1 to s5
5580 There is no point in compensating for the subwoofer (you will not hear the
5583 Subtract the distances s1 to s5 from the maximum distance,
5584 i.e.\& s[i] = max(s) \- s[i]; i = 1...5.
5586 Calculate the required delays in ms as d[i] = 1000*s[i]/342; i = 1...5.
5594 .IPs "mplayer \-af delay=10.5:10.5:0:0:7:0 media.avi"
5595 Would delay front left and right by 10.5ms, the two rear channels
5596 and the sub by 0ms and the center channel by 7ms.
5601 .B export[=mmapped_file[:nsamples]]
5602 Exports the incoming signal to other processes using memory mapping (mmap()).
5603 Memory mapped areas contain a header:
5606 int nch /*number of channels*/
5607 int size /*buffer size*/
5608 unsigned long long counter /*Used to keep sync, updated every
5609 time new data is exported.*/
5612 The rest is payload (non-interleaved) 16 bit data.
5616 file to map data to (default: ~/.mplayer/\:mplayer-af_export)
5618 number of samples per channel (default: 512)
5625 .IPs "mplayer \-af export=/tmp/mplayer-af_export:1024 media.avi"
5626 Would export 1024 samples per channel to '/tmp/mplayer-af_export'.
5631 .B extrastereo[=mul]
5632 (Linearly) increases the difference between left and right channels
5633 which adds some sort of "live" effect to playback.
5637 Sets the difference coefficient (default: 2.5).
5638 0.0 means mono sound (average of both channels), with 1.0 sound will be
5639 unchanged, with \-1.0 left and right channels will be swapped.
5644 .B volnorm[=method:target]
5645 Maximizes the volume without distorting the sound.
5649 Sets the used method.
5651 1: Use a single sample to smooth the variations via the standard
5652 weighted mean over past samples (default).
5654 2: Use several samples to smooth the variations via the standard
5655 weighted mean over past samples.
5658 Sets the target amplitude as a fraction of the maximum for the
5659 sample type (default: 0.25).
5664 .B ladspa=file:label[:controls...]
5665 Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.
5666 This filter is reentrant, so multiple LADSPA plugins can be used at once.
5670 Specifies the LADSPA plugin library file.
5671 If LADSPA_PATH is set, it searches for the specified file.
5672 If it is not set, you must supply a fully specified pathname.
5674 Specifies the filter within the library.
5675 Some libraries contain only one filter, but others contain many of them.
5676 Entering 'help' here, will list all available filters within the specified
5677 library, which eliminates the use of 'listplugins' from the LADSPA SDK.
5679 Controls are zero or more floating point values that determine the
5680 behavior of the loaded plugin (for example delay, threshold or gain).
5681 In verbose mode (add \-v to the MPlayer command line), all available controls
5682 and their valid ranges are printed.
5683 This eliminates the use of 'analyseplugin' from the LADSPA SDK.
5689 Compressor/expander filter usable for microphone input.
5690 Prevents artifacts on very loud sound and raises the volume on
5692 This filter is untested, maybe even unusable.
5696 Noise gate filter similar to the comp audio filter.
5697 This filter is untested, maybe even unusable.
5701 Simple voice removal filter exploiting the fact that voice is
5702 usually recorded with mono gear and later 'center' mixed onto
5703 the final audio stream.
5704 Beware that this filter will turn your signal into mono.
5705 Works well for 2 channel tracks; do not bother trying it
5706 on anything but 2 channel stereo.
5709 .B scaletempo[=option1:option2:...]
5710 Scales audio tempo without altering pitch, optionally synced to playback
5713 This works by playing \'stride\' ms of audio at normal speed then
5714 consuming \'stride*scale\' ms of input audio.
5715 It pieces the strides together by blending \'overlap\'% of stride with
5716 audio following the previous stride.
5717 It optionally performs a short statistical analysis on the next \'search\'
5718 ms of audio to determine the best overlap position.
5722 Nominal amount to scale tempo.
5723 Scales this amount in addition to speed.
5725 .IPs stride=<amount>
5726 Length in milliseconds to output each stride.
5727 Too high of value will cause noticable skips at high scale amounts and
5728 an echo at low scale amounts.
5729 Very low values will alter pitch.
5730 Increasing improves performance.
5732 .IPs overlap=<percent>
5733 Percentage of stride to overlap.
5734 Decreasing improves performance.
5736 .IPs search=<amount>
5737 Length in milliseconds to search for best overlap position.
5738 Decreasing improves performance greatly.
5739 On slow systems, you will probably want to set this very low.
5741 .IPs speed=<tempo|pitch|both|none>
5742 Set response to speed change.
5745 Scale tempo in sync with speed (default).
5747 Reverses effect of filter.
5748 Scales pitch without altering tempo.
5749 Add \'[ speed_mult 0.9438743126816935\' and \'] speed_mult 1.059463094352953\'
5750 to your input.conf to step by musical semi-tones.
5752 Loses sync with video.
5754 Scale both tempo and pitch.
5756 Ignore speed changes.
5764 .IPs "mplayer \-af scaletempo \-speed 1.2 media.ogg"
5765 Would playback media at 1.2x normal speed, with audio at normal pitch.
5766 Changing playback speed, would change audio tempo to match.
5767 .IPs "mplayer \-af scaletempo=scale=1.2:speed=none \-speed 1.2 media.ogg"
5768 Would playback media at 1.2x normal speed, with audio at normal pitch,
5769 but changing playback speed has no effect on audio tempo.
5770 .IPs "mplayer \-af scaletempo=stride=30:overlap=.50:search=10 media.ogg"
5771 Would tweak the quality and performace parameters.
5772 .IPs "mplayer \-af format=floatne,scaletempo media.ogg"
5773 Would make scaletempo use float code.
5774 Maybe faster on some platforms.
5775 .IPs "mplayer \-af scaletempo=scale=1.2:speed=pitch audio.ogg"
5776 Would playback audio file at 1.2x normal speed, with audio at normal pitch.
5777 Changing playback speed, would change pitch, leaving audio tempo at 1.2x.
5783 Collects and prints statistics about the audio stream, especially the volume.
5784 These statistics are especially intended to help adjusting the volume while
5786 The volumes are printed in dB and compatible with the volume audio filter.
5791 Video filters allow you to modify the video stream and its properties.
5795 .B \-vf <filter1[=parameter1:parameter2:...],filter2,...>
5796 Setup a chain of video filters.
5798 Many parameters are optional and set to default values if omitted.
5799 To explicitly use a default value set a parameter to '\-1'.
5800 Parameters w:h means width x height in pixels, x:y means x;y position counted
5801 from the upper left corner of the bigger image.
5804 To get a full list of available video filters, see \-vf help.
5806 Video filters are managed in lists.
5807 There are a few commands to manage the filter list.
5810 .B \-vf\-add <filter1[,filter2,...]>
5811 Appends the filters given as arguments to the filter list.
5814 .B \-vf\-pre <filter1[,filter2,...]>
5815 Prepends the filters given as arguments to the filter list.
5818 .B \-vf\-del <index1[,index2,...]>
5819 Deletes the filters at the given indexes.
5820 Index numbers start at 0, negative numbers address the end of the
5821 list (\-1 is the last).
5825 Completely empties the filter list.
5827 With filters that support it, you can access parameters by their name.
5830 .B \-vf <filter>=help
5831 Prints the parameter names and parameter value ranges for a particular
5835 .B \-vf <filter=named_parameter1=value1[:named_parameter2=value2:...]>
5836 Sets a named parameter to the given value.
5837 Use on and off or yes and no to set flag parameters.
5839 Available filters are:
5843 Crops the given part of the image and discards the rest.
5844 Useful to remove black bands from widescreen movies.
5848 Cropped width and height, defaults to original width and height.
5850 Position of the cropped picture, defaults to center.
5855 .B cropdetect[=limit:round[:reset]]
5856 Calculates necessary cropping parameters and prints the recommended parameters
5861 Threshold, which can be optionally specified from nothing (0) to
5862 everything (255) (default: 24).
5865 Value which the width/\:height should be divisible by (default: 16).
5866 The offset is automatically adjusted to center the video.
5867 Use 2 to get only even dimensions (needed for 4:2:2 video).
5868 16 is best when encoding to most video codecs.
5871 Counter that determines after how many frames cropdetect will reset the
5872 previously detected largest video area and start over to detect the current
5873 optimal crop area (default: 0).
5874 This can be useful when channel logos distort the video area.
5875 0 indicates never reset and return the largest area encountered during playback.
5880 .B rectangle[=w:h:x:y]
5881 Draws a rectangle of the requested width and height at the specified
5882 coordinates over the image and prints current rectangle parameters
5884 This can be used to find optimal cropping parameters.
5885 If you bind the input.conf directive 'change_rectangle' to keystrokes,
5886 you can move and resize the rectangle on the fly.
5890 width and height (default: \-1, maximum possible width where boundaries
5893 top left corner position (default: \-1, uppermost leftmost)
5898 .B expand[=w:h:x:y:o:a:r]
5899 Expands (not scales) movie resolution to the given value and places the
5900 unscaled original at coordinates x, y.
5901 Can be used for placing subtitles/\:OSD in the resulting black bands.
5904 Expanded width,height (default: original width,height).
5905 Negative values for w and h are treated as offsets to the original size.
5910 .IP expand=0:\-50:0:0
5911 Adds a 50 pixel border to the bottom of the picture.
5915 position of original image on the expanded image (default: center)
5917 OSD/\:subtitle rendering
5919 0: disable (default)
5924 Expands to fit an aspect instead of a resolution (default: 0).
5929 .IP expand=800:::::4/3
5930 Expands to 800x600, unless the source is higher resolution, in which
5931 case it expands to fill a 4/3 aspect.
5935 Rounds up to make both width and height divisible by <r> (default: 1).
5939 .B flip (also see \-flip)
5940 Flips the image upside down.
5944 Mirrors the image on the Y axis.
5948 Rotates the image by 90 degrees and optionally flips it.
5949 For values between 4\-7 rotation is only done if the movie geometry is
5950 portrait and not landscape.
5953 Rotate by 90 degrees clockwise and flip (default).
5955 Rotate by 90 degrees clockwise.
5957 Rotate by 90 degrees counterclockwise.
5959 Rotate by 90 degrees counterclockwise and flip.
5963 .B scale[=w:h[:interlaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]
5964 Scales the image with the software scaler (slow) and performs a YUV<\->RGB
5965 colorspace conversion (also see \-sws).
5968 scaled width/\:height (default: original width/\:height)
5971 If \-zoom is used, and underlying filters (including libvo) are
5972 incapable of scaling, it defaults to d_width/\:d_height!
5974 0: scaled d_width/\:d_height
5976 \-1: original width/\:height
5978 \-2: Calculate w/h using the other dimension and the prescaled aspect ratio.
5980 \-3: Calculate w/h using the other dimension and the original aspect ratio.
5982 \-(n+8): Like \-n above, but rounding the dimension to the closest multiple of 16.
5985 Toggle interlaced scaling.
5994 0: Use all available input lines for chroma.
5996 1: Use only every 2. input line for chroma.
5998 2: Use only every 4. input line for chroma.
6000 3: Use only every 8. input line for chroma.
6002 .IPs "<par>[:<par2>] (also see \-sws)"
6003 Set some scaling parameters depending on the type of scaler selected
6006 \-sws 2 (bicubic): B (blurring) and C (ringing)
6010 0.00:0.75 VirtualDub's "precise bicubic"
6012 0.00:0.50 Catmull-Rom spline
6014 0.33:0.33 Mitchell-Netravali spline
6016 1.00:0.00 cubic B-spline
6018 \-sws 7 (gaussian): sharpness (0 (soft) \- 100 (sharp))
6020 \-sws 9 (lanczos): filter length (1\-10)
6023 Scale to preset sizes.
6025 qntsc: 352x240 (NTSC quarter screen)
6027 qpal: 352x288 (PAL quarter screen)
6029 ntsc: 720x480 (standard NTSC)
6031 pal: 720x576 (standard PAL)
6033 sntsc: 640x480 (square pixel NTSC)
6035 spal: 768x576 (square pixel PAL)
6038 Disallow upscaling past the original dimensions.
6040 0: Allow upscaling (default).
6042 1: Disallow upscaling if one dimension exceeds its original value.
6044 2: Disallow upscaling if both dimensions exceed their original values.
6047 Accurate rounding for the vertical scaler, which may be faster
6048 or slower than the default rounding.
6050 0: Disable accurate rounding (default).
6052 1: Enable accurate rounding.
6057 .B dsize[=aspect|w:h:aspect-method:r]
6058 Changes the intended display size/\:aspect at an arbitrary point in the
6060 Aspect can be given as a fraction (4/3) or floating point number
6062 Alternatively, you may specify the exact display width and height
6064 Note that this filter does
6066 do any scaling itself; it just affects
6067 what later scalers (software or hardware) will do when auto-scaling to
6071 New display width and height.
6072 Can also be these special values:
6074 0: original display width and height
6076 \-1: original video width and height (default)
6078 \-2: Calculate w/h using the other dimension and the original display
6081 \-3: Calculate w/h using the other dimension and the original video
6089 Specifies a display resolution of 800x600 for a 4/3 aspect video, or
6090 800x450 for a 16/9 aspect video.
6092 .IPs <aspect-method>
6093 Modifies width and height according to original aspect ratios.
6095 \-1: Ignore original aspect ratio (default).
6097 0: Keep display aspect ratio by using <w> and <h> as maximum
6100 1: Keep display aspect ratio by using <w> and <h> as minimum
6103 2: Keep video aspect ratio by using <w> and <h> as maximum
6106 3: Keep video aspect ratio by using <w> and <h> as minimum
6114 Specifies a display resolution of at most 800x600, or smaller, in order
6119 Rounds up to make both width and height divisible by <r> (default: 1).
6124 Forces software YVU9 to YV12 colorspace conversion.
6125 Deprecated in favor of the software scaler.
6129 Clamps YUV color values to the CCIR 601 range without doing real conversion.
6133 RGB/BGR 8 \-> 15/16/24/32bpp colorspace conversion using palette.
6136 .B format[=fourcc[:outfourcc]]
6137 Restricts the colorspace for the next filter without doing any conversion.
6138 Use together with the scale filter for a real conversion.
6141 For a list of available formats see format=fmt=help.
6145 format name like rgb15, bgr24, yv12, etc (default: yuy2)
6147 Format name that should be substituted for the output.
6148 If this is not 100% compatible with the <fourcc> value it will crash.
6152 format=rgb24:bgr24 format=yuyv:yuy2
6154 Invalid examples (will crash):
6161 .B noformat[=fourcc]
6162 Restricts the colorspace for the next filter without doing any conversion.
6163 Unlike the format filter, this will allow any colorspace
6165 the one you specify.
6168 For a list of available formats see noformat=fmt=help.
6172 format name like rgb15, bgr24, yv12, etc (default: yv12)
6177 .B pp[=filter1[:option1[:option2...]]/[\-]filter2...] (also see \-pphelp)
6178 Enables the specified chain of postprocessing subfilters.
6179 Subfilters must be separated by '/' and can be disabled by
6181 Each subfilter and some options have a short and a long name that can be
6182 used interchangeably, i.e.\& dr/dering are the same.
6183 All subfilters share common options to determine their scope:
6187 Automatically switch the subfilter off if the CPU is too slow.
6189 Do chrominance filtering, too (default).
6191 Do luminance filtering only (no chrominance).
6193 Do chrominance filtering only (no luminance).
6200 \-pphelp shows a list of available subfilters.
6202 Available subfilters are
6205 .IPs hb/hdeblock[:difference[:flatness]]
6206 horizontal deblocking filter
6208 <difference>: Difference factor where higher values mean
6209 more deblocking (default: 32).
6211 <flatness>: Flatness threshold where lower values mean
6212 more deblocking (default: 39).
6214 .IPs vb/vdeblock[:difference[:flatness]]
6215 vertical deblocking filter
6217 <difference>: Difference factor where higher values mean
6218 more deblocking (default: 32).
6220 <flatness>: Flatness threshold where lower values mean
6221 more deblocking (default: 39).
6223 .IPs ha/hadeblock[:difference[:flatness]]
6224 accurate horizontal deblocking filter
6226 <difference>: Difference factor where higher values mean
6227 more deblocking (default: 32).
6229 <flatness>: Flatness threshold where lower values mean
6230 more deblocking (default: 39).
6232 .IPs va/vadeblock[:difference[:flatness]]
6233 accurate vertical deblocking filter
6235 <difference>: Difference factor where higher values mean
6236 more deblocking (default: 32).
6238 <flatness>: Flatness threshold where lower values mean
6239 more deblocking (default: 39).
6242 The horizontal and vertical deblocking filters share the
6243 difference and flatness values so you cannot set
6244 different horizontal and vertical thresholds.
6247 experimental horizontal deblocking filter
6249 experimental vertical deblocking filter
6252 .IPs tn/tmpnoise[:threshold1[:threshold2[:threshold3]]]
6253 temporal noise reducer
6255 <threshold1>: larger -> stronger filtering
6257 <threshold2>: larger -> stronger filtering
6259 <threshold3>: larger -> stronger filtering
6261 .IPs al/autolevels[:f/fullyrange]
6262 automatic brightness / contrast correction
6264 f/fullyrange: Stretch luminance to (0\-255).
6266 .IPs lb/linblenddeint
6267 Linear blend deinterlacing filter that deinterlaces the given block
6268 by filtering all lines with a (1 2 1) filter.
6269 .IPs li/linipoldeint
6270 Linear interpolating deinterlacing filter that deinterlaces the given block
6271 by linearly interpolating every second line.
6272 .IPs ci/cubicipoldeint
6273 Cubic interpolating deinterlacing filter deinterlaces the given block
6274 by cubically interpolating every second line.
6276 Median deinterlacing filter that deinterlaces the given block
6277 by applying a median filter to every second line.
6279 FFmpeg deinterlacing filter that deinterlaces the given block
6280 by filtering every second line with a (\-1 4 2 4 \-1) filter.
6282 Vertically applied FIR lowpass deinterlacing filter that deinterlaces
6283 the given block by filtering all lines with a (\-1 2 6 2 \-1) filter.
6284 .IPs fq/forceQuant[:quantizer]
6285 Overrides the quantizer table from the input with the constant
6286 quantizer you specify.
6288 <quantizer>: quantizer to use
6291 default pp filter combination (hb:a,vb:a,dr:a)
6293 fast pp filter combination (h1:a,v1:a,dr:a)
6295 high quality pp filter combination (ha:a:128:7,va:a,dr:a)
6303 .IPs "\-vf pp=hb/vb/dr/al"
6304 horizontal and vertical deblocking, deringing and automatic
6305 brightness/\:contrast
6306 .IPs "\-vf pp=de/\-al"
6307 default filters without brightness/\:contrast correction
6308 .IPs "\-vf pp=default/tmpnoise:1:2:3"
6309 Enable default filters & temporal denoiser.
6310 .IPs "\-vf pp=hb:y/vb:a"
6311 Horizontal deblocking on luminance only, and switch vertical deblocking
6312 on or off automatically depending on available CPU time.
6317 .B spp[=quality[:qp[:mode]]]
6318 Simple postprocessing filter that compresses and decompresses the
6319 image at several (or \- in the case of quality level 6 \- all)
6320 shifts and averages the results.
6325 Force quantization parameter (default: 0, use QP from video).
6327 0: hard thresholding (default)
6329 1: soft thresholding (better deringing, but blurrier)
6331 4: like 0, but also use B-frames' QP (may cause flicker)
6333 5: like 1, but also use B-frames' QP (may cause flicker)
6337 .B uspp[=quality[:qp]]
6338 Ultra simple & slow postprocessing filter that compresses and
6339 decompresses the image at several (or \- in the case of quality
6340 level 8 \- all) shifts and averages the results.
6341 The way this differs from the behavior of spp is that uspp actually
6342 encodes & decodes each case with libavcodec Snow, whereas spp uses
6343 a simplified intra only 8x8 DCT similar to MJPEG.
6348 Force quantization parameter (default: 0, use QP from video).
6352 .B fspp[=quality[:qp[:strength[:bframes]]]]
6353 faster version of the simple postprocessing filter
6356 4\-5 (equivalent to spp; default: 4)
6358 Force quantization parameter (default: 0, use QP from video).
6360 Filter strength, lower values mean more details but also more artifacts,
6361 while higher values make the image smoother but also blurrier (default:
6364 0: do not use QP from B-frames (default)
6366 1: use QP from B-frames too (may cause flicker)
6371 Variant of the spp filter, similar to spp=6 with 7 point DCT where
6372 only the center sample is used after IDCT.
6375 Force quantization parameter (default: 0, use QP from video).
6377 0: hard thresholding
6379 1: soft thresholding (better deringing, but blurrier)
6381 2: medium thresholding (default, good results)
6386 quantization parameter (QP) change filter
6389 some equation like "2+2*sin(PI*qp)"
6394 generic equation change filter
6397 Some equation, e.g.\& 'p(W-X\\,Y)' to flip the image horizontally.
6398 You can use whitespace to make the equation more readable.
6399 There are a couple of constants that can be used in the equation:
6405 X / Y: the coordinates of the current sample
6407 W / H: width and height of the image
6409 SW / SH: width/height scale depending on the currently filtered plane, e.g.\&
6410 1,1 and 0.5,0.5 for YUV 4:2:0.
6412 p(x,y): returns the value of the pixel at location x/y of the current plane.
6418 Generate various test patterns.
6421 .B rgbtest[=width:height]
6422 Generate an RGB test pattern useful for detecting RGB vs BGR issues.
6423 You should see a red, green and blue stripe from top to bottom.
6426 Desired width of generated image (default: 0).
6427 0 means width of input image.
6430 Desired height of generated image (default: 0).
6431 0 means height of input image.
6435 .B lavc[=quality:fps]
6436 Fast software YV12 to MPEG-1 conversion with libavcodec for use with DVB/\:DXR3/\:IVTV/\:V4L2.
6441 32\-: fixed bitrate in kbits
6443 force output fps (float value) (default: 0, autodetect based on height)
6447 .B dvbscale[=aspect]
6448 Set up optimal scaling for DVB cards, scaling the x axis in hardware and
6449 calculating the y axis scaling in software to keep aspect.
6450 Only useful together with expand and scale.
6453 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default:
6454 576*4/3=768), set it to 576*(16/9)=1024 for a 16:9 TV.
6462 .IPs "\-vf dvbscale,scale=\-1:0,expand=\-1:576:\-1:\-1:1,lavc"
6463 FIXME: Explain what this does.
6468 .B noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
6477 uniform noise (gaussian otherwise)
6479 temporal noise (noise pattern changes between frames)
6481 averaged temporal noise (smoother, but a lot slower)
6483 high quality (slightly better looking, slightly slower)
6485 mix random noise with a (semi)regular pattern
6490 .B denoise3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6491 This filter aims to reduce image noise producing smooth images and making still
6492 images really still (This should enhance compressibility.).
6496 spatial luma strength (default: 4)
6497 .IPs <chroma_spatial>
6498 spatial chroma strength (default: 3)
6500 luma temporal strength (default: 6)
6502 chroma temporal strength (default: luma_tmp*chroma_spatial/luma_spatial)
6507 .B hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6508 High precision/\:quality version of the denoise3d filter.
6509 Parameters and usage are the same.
6512 .B ow[=depth[:luma_strength[:chroma_strength]]]
6513 Overcomplete Wavelet denoiser.
6517 Larger depth values will denoise lower frequency components more, but
6518 slow down filtering (default: 8).
6519 .IPs <luma_strength>
6520 luma strength (default: 1.0)
6521 .IPs <chroma_strength>
6522 chroma strength (default: 1.0)
6527 .B eq[=brightness:contrast] (OBSOLETE)
6528 Software equalizer with interactive controls just like the hardware
6529 equalizer, for cards/\:drivers that do not support brightness and
6530 contrast controls in hardware.
6541 .B eq2[=gamma:contrast:brightness:saturation:rg:gg:bg:weight]
6542 Alternative software equalizer that uses lookup tables (very slow),
6543 allowing gamma correction in addition to simple brightness
6544 and contrast adjustment.
6545 Note that it uses the same MMX optimized code as \-vf eq if all
6546 gamma values are 1.0.
6547 The parameters are given as floating point values.
6551 initial gamma value (default: 1.0)
6553 initial contrast, where negative values result in a
6554 negative image (default: 1.0)
6556 initial brightness (default: 0.0)
6558 initial saturation (default: 1.0)
6560 gamma value for the red component (default: 1.0)
6562 gamma value for the green component (default: 1.0)
6564 gamma value for the blue component (default: 1.0)
6566 The weight parameter can be used to reduce the effect of a high gamma value on
6567 bright image areas, e.g.\& keep them from getting overamplified and just plain
6569 A value of 0.0 turns the gamma correction all the way down while 1.0 leaves it
6570 at its full strength (default: 1.0).
6575 .B hue[=hue:saturation]
6576 Software equalizer with interactive controls just like the hardware
6577 equalizer, for cards/\:drivers that do not support hue and
6578 saturation controls in hardware.
6582 initial hue (default: 0.0)
6584 initial saturation, where negative values result
6585 in a negative chroma (default: 1.0)
6591 Convert planar YUV 4:2:0 to half-height packed 4:2:2, downsampling luma but
6592 keeping all chroma samples.
6593 Useful for output to low-resolution display devices when hardware downscaling
6594 is poor quality or is not available.
6595 Can also be used as a primitive luma-only deinterlacer with very low CPU
6600 By default, halfpack averages pairs of lines when downsampling.
6601 Any value different from 0 or 1 gives the default (averaging) behavior.
6603 0: Only use even lines when downsampling.
6605 1: Only use odd lines when downsampling.
6612 When interlaced video is stored in YUV 4:2:0 formats, chroma
6613 interlacing does not line up properly due to vertical downsampling of
6614 the chroma channels.
6615 This filter packs the planar 4:2:0 data into YUY2 (4:2:2) format with
6616 the chroma lines in their proper locations, so that in any given
6617 scanline, the luma and chroma data both come from the same field.
6621 Select the sampling mode.
6623 0: nearest-neighbor sampling, fast but incorrect
6625 1: linear interpolation (default)
6631 .B decimate[=max:hi:lo:frac]
6632 Drops frames that do not differ greatly from the previous frame in
6633 order to reduce framerate.
6634 The main use of this filter is for very-low-bitrate encoding (e.g.\&
6635 streaming over dialup modem), but it could in theory be used for
6636 fixing movies that were inverse-telecined incorrectly.
6640 Sets the maximum number of consecutive frames which can be
6641 dropped (if positive), or the minimum interval between
6642 dropped frames (if negative).
6643 .IPs <hi>,<lo>,<frac>
6644 A frame is a candidate for dropping if no 8x8 region differs by more
6645 than a threshold of <hi>, and if not more than <frac> portion (1
6646 meaning the whole image) differs by more than a threshold of <lo>.
6647 Values of <hi> and <lo> are for 8x8 pixel blocks and represent actual
6648 pixel value differences, so a threshold of 64 corresponds to 1 unit of
6649 difference for each pixel, or the same spread out differently over the
6655 .B dint[=sense:level]
6656 The drop-deinterlace (dint) filter detects and drops the first from a set
6657 of interlaced video frames.
6661 relative difference between neighboring pixels (default: 0.1)
6663 What part of the image has to be detected as interlaced to
6664 drop the frame (default: 0.15).
6669 .B lavcdeint (OBSOLETE)
6670 FFmpeg deinterlacing filter, same as \-vf pp=fd
6673 .B kerndeint[=thresh[:map[:order[:sharp[:twoway]]]]]
6674 Donald Graft's adaptive kernel deinterlacer.
6675 Deinterlaces parts of a video if a configurable threshold is exceeded.
6679 threshold (default: 10)
6682 0: Ignore pixels exceeding the threshold (default).
6684 1: Paint pixels exceeding the threshold white.
6688 0: Leave fields alone (default).
6694 0: Disable additional sharpening (default).
6696 1: Enable additional sharpening.
6700 0: Disable twoway sharpening (default).
6702 1: Enable twoway sharpening.
6708 .B unsharp[=l|cWxH:amount[:l|cWxH:amount]]
6709 unsharp mask / gaussian blur
6712 Apply effect on luma component.
6714 Apply effect on chroma components.
6715 .IPs <width>x<height>
6716 width and height of the matrix, odd sized in both directions
6717 (min = 3x3, max = 13x11 or 11x13, usually something between 3x3 and 7x7)
6719 Relative amount of sharpness/\:blur to add to the image
6720 (a sane range should be \-1.5\-1.5).
6733 .B il[=d|i][s][:[d|i][s]]
6734 (De)interleaves lines.
6735 The goal of this filter is to add the ability to process interlaced images
6736 pre-field without deinterlacing them.
6737 You can filter your interlaced DVD and play it on a TV without breaking the
6739 While deinterlacing (with the postprocessing filter) removes interlacing
6740 permanently (by smoothing, averaging, etc) deinterleaving splits the frame into
6741 2 fields (so called half pictures), so you can process (filter) them
6742 independently and then re-interleave them.
6746 deinterleave (placing one above the other)
6750 swap fields (exchange even & odd lines)
6756 (De)interleaves lines.
6757 This filter is very similar to the il filter but much faster, the main
6758 disadvantage is that it does not always work.
6759 Especially if combined with other filters it may produce randomly messed
6760 up images, so be happy if it works but do not complain if it does not for
6761 your combination of filters.
6765 Deinterleave fields, placing them side by side.
6767 Interleave fields again (reversing the effect of fil=d).
6773 Extracts a single field from an interlaced image using stride arithmetic
6774 to avoid wasting CPU time.
6775 The optional argument n specifies whether to extract the even or the odd
6776 field (depending on whether n is even or odd).
6779 .B detc[=var1=value1:var2=value2:...]
6780 Attempts to reverse the 'telecine' process to recover a clean,
6781 non-interlaced stream at film framerate.
6782 This was the first and most primitive inverse telecine filter to be
6784 It works by latching onto the telecine 3:2 pattern and following it as
6786 This makes it suitable for perfectly-telecined material, even in the
6787 presence of a fair degree of noise, but it will fail in the presence
6788 of complex post-telecine edits.
6789 Development on this filter is no longer taking place, as ivtc, pullup,
6790 and filmdint are better for most applications.
6791 The following arguments (see syntax above) may be used to control
6795 Set the frame dropping mode.
6797 0: Do not drop frames to maintain fixed output framerate (default).
6799 1: Always drop a frame when there have been no drops or telecine
6800 merges in the past 5 frames.
6802 2: Always maintain exact 5:4 input to output frame ratio.
6807 0: Fixed pattern with initial frame number specified by <fr>.
6809 1: aggressive search for telecine pattern (default)
6812 Set initial frame number in sequence.
6813 0\-2 are the three clean progressive frames; 3 and 4 are the two
6815 The default, \-1, means 'not in telecine sequence'.
6816 The number specified here is the type for the imaginary previous
6817 frame before the movie starts.
6818 .IPs "<t0>, <t1>, <t2>, <t3>"
6819 Threshold values to be used in certain modes.
6824 Experimental 'stateless' inverse telecine filter.
6825 Rather than trying to lock on to a pattern like the detc filter does,
6826 ivtc makes its decisions independently for each frame.
6827 This will give much better results for material that has undergone
6828 heavy editing after telecine was applied, but as a result it is not as
6829 forgiving of noisy input, for example TV capture.
6830 The optional parameter (ivtc=1) corresponds to the dr=1 option for the
6831 detc filter, and should not be used with MPlayer.
6832 Further development on ivtc has stopped, as the pullup and filmdint
6833 filters appear to be much more accurate.
6836 .B pullup[=jl:jr:jt:jb:sb:mp]
6837 Third-generation pulldown reversal (inverse telecine) filter,
6838 capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001
6839 fps progressive content.
6840 The pullup filter is designed to be much more robust than detc or
6841 ivtc, by taking advantage of future context in making its decisions.
6842 Like ivtc, pullup is stateless in the sense that it does not lock onto
6843 a pattern to follow, but it instead looks forward to the following
6844 fields in order to identify matches and rebuild progressive frames.
6845 It is still under development, but believed to be quite accurate.
6847 .IPs "jl, jr, jt, and jb"
6848 These options set the amount of "junk" to ignore at
6849 the left, right, top, and bottom of the image, respectively.
6850 Left/\:right are in units of 8 pixels, while top/\:bottom are in units of
6852 The default is 8 pixels on each side.
6854 .IPs "sb (strict breaks)"
6855 Setting this option to 1 will reduce the chances of
6856 pullup generating an occasional mismatched frame, but it may also
6857 cause an excessive number of frames to be dropped during high motion
6859 Conversely, setting it to \-1 will make pullup match fields more
6861 This may help processing of video where there is slight blurring
6862 between the fields, but may also cause there to be interlaced frames
6865 .IPs "mp (metric plane)"
6866 This option may be set to 1 or 2 to use a chroma
6867 plane instead of the luma plane for doing pullup's computations.
6868 This may improve accuracy on very clean source material, but more
6869 likely will decrease accuracy, especially if there is chroma noise
6870 (rainbow effect) or any grayscale video.
6871 The main purpose of setting mp to a chroma plane is to reduce CPU load
6872 and make pullup usable in realtime on slow machines.
6876 .B filmdint[=options]
6877 Inverse telecine filter, similar to the pullup filter above.
6878 It is designed to handle any pulldown pattern, including mixed soft and
6879 hard telecine and limited support for movies that are slowed down or sped
6880 up from their original framerate for TV.
6881 Only the luma plane is used to find the frame breaks.
6882 If a field has no match, it is deinterlaced with simple linear
6884 If the source is MPEG-2, this must be the first filter to allow
6885 access to the field-flags set by the MPEG-2 decoder.
6886 Depending on the source MPEG, you may be fine ignoring this advice, as
6887 long as you do not see lots of "Bottom-first field" warnings.
6888 With no options it does normal inverse telecine.
6889 When this filter is used with MPlayer, it will result in an uneven
6890 framerate during playback, but it is still generally better than using
6891 pp=lb or no deinterlacing at all.
6892 Multiple options can be specified separated by /.
6894 .IPs crop=<w>:<h>:<x>:<y>
6895 Just like the crop filter, but faster, and works on mixed hard and soft
6896 telecined content as well as when y is not a multiple of 4.
6897 If x or y would require cropping fractional pixels from the chroma
6898 planes, the crop area is extended.
6899 This usually means that x and y must be even.
6900 .IPs io=<ifps>:<ofps>
6901 For each ifps input frames the filter will output ofps frames.
6902 This could be used to filter movies that are broadcast on TV at a frame
6903 rate different from their original framerate.
6905 If n is nonzero, the chroma plane is copied unchanged.
6906 This is useful for YV12 sampled TV, which discards one of the chroma
6909 On x86, if n=1, use MMX2 optimized functions, if n=2, use 3DNow!
6910 optimized functions, otherwise, use plain C.
6911 If this option is not specified, MMX2 and 3DNow! are auto-detected, use
6912 this option to override auto-detection.
6914 The larger n will speed up the filter at the expense of accuracy.
6915 The default value is n=3.
6916 If n is odd, a frame immediately following a frame marked with the
6917 REPEAT_FIRST_FIELD MPEG flag is assumed to be progressive, thus filter
6918 will not spend any time on soft-telecined MPEG-2 content.
6919 This is the only effect of this flag if MMX2 or 3DNow! is available.
6920 Without MMX2 and 3DNow, if n=0 or 1, the same calculations will be used
6922 If n=2 or 3, the number of luma levels used to find the frame breaks is
6923 reduced from 256 to 128, which results in a faster filter without losing
6925 If n=4 or 5, a faster, but much less accurate metric will be used to
6926 find the frame breaks, which is more likely to misdetect high vertical
6927 detail as interlaced content.
6929 If n is nonzero, print the detailed metrics for each frame.
6930 Useful for debugging.
6932 Deinterlace threshold.
6933 Used during de-interlacing of unmatched frames.
6934 Larger value means less deinterlacing, use n=256 to completely turn off
6938 Threshold for comparing a top and bottom fields.
6941 Threshold to detect temporal change of a field.
6944 Sum of Absolute Difference threshold, default is 64.
6949 Inverse telecine for deinterlaced video.
6950 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced
6951 using a method that keeps one field and interpolates the other, the result is
6952 a juddering video that has every fourth frame duplicated.
6953 This filter is intended to find and drop those duplicates and restore the
6954 original film framerate.
6955 Two different modes are available:
6956 One pass mode is the default and is straightforward to use,
6957 but has the disadvantage that any changes in the telecine
6958 phase (lost frames or bad edits) cause momentary judder
6959 until the filter can resync again.
6960 Two pass mode avoids this by analyzing the whole video
6961 beforehand so it will have forward knowledge about the
6962 phase changes and can resync at the exact spot.
6965 correspond to pass one and two of the encoding process.
6966 You must run an extra pass using divtc pass one before the
6967 actual encoding throwing the resulting video away.
6968 Use \-nosound \-ovc raw \-o /dev/null to avoid
6969 wasting CPU power for this pass.
6970 You may add something like crop=2:2:0:0 after divtc
6971 to speed things up even more.
6972 Then use divtc pass two for the actual encoding.
6973 If you use multiple encoder passes, use divtc
6974 pass two for all of them.
6979 .IPs file=<filename>
6980 Set the two pass log filename (default: "framediff.log").
6981 .IPs threshold=<value>
6982 Set the minimum strength the telecine pattern must have for the filter to
6983 believe in it (default: 0.5).
6984 This is used to avoid recognizing false pattern from the parts of the video
6985 that are very dark or very still.
6986 .IPs window=<numframes>
6987 Set the number of past frames to look at when searching for pattern
6989 Longer window improves the reliability of the pattern search, but shorter
6990 window improves the reaction time to the changes in the telecine phase.
6991 This only affects the one pass mode.
6992 The two pass mode currently uses fixed window that extends to both future
6994 .IPs phase=0|1|2|3|4
6995 Sets the initial telecine phase for one pass mode (default: 0).
6996 The two pass mode can see the future, so it is able to use the correct
6997 phase from the beginning, but one pass mode can only guess.
6998 It catches the correct phase when it finds it, but this option can be used
6999 to fix the possible juddering at the beginning.
7000 The first pass of the two pass mode also uses this, so if you save the output
7001 from the first pass, you get constant phase result.
7002 .IPs deghost=<value>
7003 Set the deghosting threshold (0\-255 for one pass mode, \-255\-255 for two pass
7005 If nonzero, deghosting mode is used.
7006 This is for video that has been deinterlaced by blending the fields
7007 together instead of dropping one of the fields.
7008 Deghosting amplifies any compression artifacts in the blended frames, so the
7009 parameter value is used as a threshold to exclude those pixels from
7010 deghosting that differ from the previous frame less than specified value.
7011 If two pass mode is used, then negative value can be used to make the
7012 filter analyze the whole video in the beginning of pass-2 to determine
7013 whether it needs deghosting or not and then select either zero or the
7014 absolute value of the parameter.
7015 Specify this option for pass-2, it makes no difference on pass-1.
7019 .B phase[=t|b|p|a|u|T|B|A|U][:v]
7020 Delay interlaced video by one field time so that the field order
7022 The intended use is to fix PAL movies that have been captured with the
7023 opposite field order to the film-to-video transfer.
7027 Capture field order top-first, transfer bottom-first.
7028 Filter will delay the bottom field.
7030 Capture bottom-first, transfer top-first.
7031 Filter will delay the top field.
7033 Capture and transfer with the same field order.
7034 This mode only exists for the documentation of the other options to refer to,
7035 but if you actually select it, the filter will faithfully do nothing ;-)
7037 Capture field order determined automatically by field flags, transfer opposite.
7038 Filter selects among t and b modes on a frame by frame basis using field flags.
7039 If no field information is available, then this works just like u.
7041 Capture unknown or varying, transfer opposite.
7042 Filter selects among t and b on a frame by frame basis by analyzing the
7043 images and selecting the alternative that produces best match between the
7046 Capture top-first, transfer unknown or varying.
7047 Filter selects among t and p using image analysis.
7049 Capture bottom-first, transfer unknown or varying.
7050 Filter selects among b and p using image analysis.
7052 Capture determined by field flags, transfer unknown or varying.
7053 Filter selects among t, b and p using field flags and image analysis.
7054 If no field information is available, then this works just like U.
7055 This is the default mode.
7057 Both capture and transfer unknown or varying.
7058 Filter selects among t, b and p using image analysis only.
7061 Prints the selected mode for each frame and the average squared difference
7062 between fields for t, b, and p alternatives.
7067 Apply 3:2 'telecine' process to increase framerate by 20%.
7068 This most likely will not work correctly with MPlayer.
7069 The optional start parameter tells the filter where in the telecine
7070 pattern to start (0\-3).
7073 .B tinterlace[=mode]
7074 Temporal field interlacing \- merge pairs of frames into an interlaced
7075 frame, halving the framerate.
7076 Even frames are moved into the upper field, odd frames to the lower field.
7077 This can be used to fully reverse the effect of the tfields filter (in mode 0).
7078 Available modes are:
7082 Move odd frames into the upper field, even into the lower field, generating
7083 a full-height frame at half framerate.
7085 Only output odd frames, even frames are dropped; height unchanged.
7087 Only output even frames, odd frames are dropped; height unchanged.
7089 Expand each frame to full height, but pad alternate lines with black;
7090 framerate unchanged.
7092 Interleave even lines from even frames with odd lines from odd frames.
7093 Height unchanged at half framerate.
7098 .B tfields[=mode[:field_dominance]]
7099 Temporal field separation \- split fields into frames, doubling the
7104 0: Leave fields unchanged (will jump/\:flicker).
7106 1: Interpolate missing lines. (The algorithm used might not be so good.)
7108 2: Translate fields by 1/4 pixel with linear interpolation (no jump).
7110 4: Translate fields by 1/4 pixel with 4tap filter (higher quality) (default).
7111 .IPs <field_dominance>\ (DEPRECATED)
7113 Only works if the decoder exports the appropriate information and
7114 no other filters which discard that information come before tfields
7115 in the filter chain, otherwise it falls back to 0 (top field first).
7119 1: bottom field first
7122 This option will possibly be removed in a future version.
7123 Use \-field\-dominance instead.
7128 .B yadif=[mode[:field_dominance]]
7129 Yet another deinterlacing filter
7133 0: Output 1 frame for each frame.
7135 1: Output 1 frame for each field.
7137 2: Like 0 but skips spatial interlacing check.
7139 3: Like 1 but skips spatial interlacing check.
7140 .IPs <field_dominance>\ (DEPRECATED)
7141 Operates like tfields.
7144 This option will possibly be removed in a future version.
7145 Use \-field\-dominance instead.
7150 .B mcdeint=[mode[:parity[:qp]]]
7151 Motion compensating deinterlacer.
7152 It needs one field per frame as input and must thus be used together
7153 with tfields=1 or yadif=1/3 or equivalent.
7161 2: slow, iterative motion estimation
7163 3: extra slow, like 2 plus multiple reference frames
7165 0 or 1 selects which field to use (note: no autodetection yet!).
7167 Higher values should result in a smoother motion vector
7168 field but less optimal individual vectors.
7173 .B boxblur=radius:power[:radius:power]
7178 blur filter strength
7180 number of filter applications
7185 .B sab=radius:pf:colorDiff[:radius:pf:colorDiff]
7190 blur filter strength (~0.1\-4.0) (slower if larger)
7192 prefilter strength (~0.1\-2.0)
7194 maximum difference between pixels to still be considered (~0.1\-100.0)
7199 .B smartblur=radius:strength:threshold[:radius:strength:threshold]
7204 blur filter strength (~0.1\-5.0) (slower if larger)
7206 blur (0.0\-1.0) or sharpen (\-1.0\-0.0)
7208 filter all (0), filter flat areas (0\-30) or filter edges (\-30\-0)
7213 .B perspective=x0:y0:x1:y1:x2:y2:x3:y3:t
7214 Correct the perspective of movies not filmed perpendicular to the screen.
7218 coordinates of the top left, top right, bottom left, bottom right corners
7220 linear (0) or cubic resampling (1)
7226 Scale and smooth the image with the 2x scale and interpolate algorithm.
7230 1bpp bitmap to YUV/\:BGR 8/\:15/\:16/\:32 conversion
7233 .B down3dright[=lines]
7234 Reposition and resize stereoscopic images.
7235 Extracts both stereo fields and places them side by side, resizing
7236 them to maintain the original movie aspect.
7240 number of lines to select from the middle of the image (default: 12)
7245 .B bmovl=hidden:opaque:fifo
7246 The bitmap overlay filter reads bitmaps from a FIFO and displays them
7247 on top of the movie, allowing some transformations on the image.
7248 Also see TOOLS/bmovl-test.c for a small bmovl test program.
7252 Set the default value of the 'hidden' flag (0=visible, 1=hidden).
7254 Set the default value of the 'opaque' flag (0=transparent, 1=opaque).
7256 path/\:filename for the FIFO (named pipe connecting 'mplayer \-vf bmovl' to the
7257 controlling application)
7266 .IPs "RGBA32 width height xpos ypos alpha clear"
7267 followed by width*height*4 Bytes of raw RGBA32 data.
7268 .IPs "ABGR32 width height xpos ypos alpha clear"
7269 followed by width*height*4 Bytes of raw ABGR32 data.
7270 .IPs "RGB24 width height xpos ypos alpha clear"
7271 followed by width*height*3 Bytes of raw RGB24 data.
7272 .IPs "BGR24 width height xpos ypos alpha clear"
7273 followed by width*height*3 Bytes of raw BGR24 data.
7274 .IPs "ALPHA width height xpos ypos alpha"
7275 Change alpha transparency of the specified area.
7276 .IPs "CLEAR width height xpos ypos"
7279 Disable all alpha transparency.
7280 Send "ALPHA 0 0 0 0 0" to enable it again.
7293 .IPs "<width>, <height>"
7295 .IPs "<xpos>, <ypos>"
7296 Start blitting at position x/y.
7298 Set alpha difference.
7299 If you set this to \-255 you can then send a sequence of ALPHA-commands to set
7300 the area to \-225, \-200, \-175 etc for a nice fade-in-effect! ;)
7304 255: Make everything opaque.
7306 \-255: Make everything transparent.
7309 Clear the framebuffer before blitting.
7311 0: The image will just be blitted on top of the old one, so you do not need to
7312 send 1.8MB of RGBA32 data every time a small part of the screen is updated.
7320 .B framestep=I|[i]step
7321 Renders only every nth frame or every intra frame (keyframe).
7323 If you call the filter with I (uppercase) as the parameter, then
7325 keyframes are rendered.
7326 For DVDs it generally means one in every 15/12 frames (IBBPBBPBBPBBPBB),
7327 for AVI it means every scene change or every keyint value.
7329 When a keyframe is found, an 'I!' string followed by a newline character is
7330 printed, leaving the current line of MPlayer output on the screen, because it
7331 contains the time (in seconds) and frame number of the keyframe (You can use
7332 this information to split the AVI.).
7334 If you call the filter with a numeric parameter 'step' then only one in
7335 every 'step' frames is rendered.
7337 If you put an 'i' (lowercase) before the number then an 'I!' is printed
7338 (like the I parameter).
7340 If you give only the i then nothing is done to the frames, only I! is
7344 .B tile=xtiles:ytiles:output:start:delta
7345 Tile a series of images into a single, bigger image.
7346 If you omit a parameter or use a value less than 0, then the default
7348 You can also stop when you are satisfied (... \-vf tile=10:5 ...).
7349 It is probably a good idea to put the scale filter before the tile :-)
7356 number of tiles on the x axis (default: 5)
7358 number of tiles on the y axis (default: 5)
7360 Render the tile when 'output' number of frames are reached, where 'output'
7361 should be a number less than xtile * ytile.
7362 Missing tiles are left blank.
7363 You could, for example, write an 8 * 7 tile every 50 frames to have one
7364 image every 2 seconds @ 25 fps.
7366 outer border thickness in pixels (default: 2)
7368 inner border thickness in pixels (default: 4)
7373 .B delogo[=x:y:w:h:t]
7374 Suppresses a TV station logo by a simple interpolation of the
7376 Just set a rectangle covering the logo and watch it disappear (and
7377 sometimes something even uglier appear \- your mileage may vary).
7381 top left corner of the logo
7383 width and height of the cleared rectangle
7385 Thickness of the fuzzy edge of the rectangle (added to w and h).
7386 When set to \-1, a green rectangle is drawn on the screen to
7387 simplify finding the right x,y,w,h parameters.
7392 .B remove\-logo=/path/to/logo_bitmap_file_name.pgm
7393 Suppresses a TV station logo, using a PGM or PPM image
7394 file to determine which pixels comprise the logo.
7395 The width and height of the image file must match
7396 those of the video stream being processed.
7397 Uses the filter image and a circular blur
7398 algorithm to remove the logo.
7400 .IPs /path/to/logo_bitmap_file_name.pgm
7401 [path] + filename of the filter image.
7405 .B zrmjpeg[=options]
7406 Software YV12 to MJPEG encoder for use with the zr2 video
7409 .IPs maxheight=<h>|maxwidth=<w>
7410 These options set the maximum width and height the zr card
7411 can handle (the MPlayer filter layer currently cannot query those).
7412 .IPs {dc10+,dc10,buz,lml33}-{PAL|NTSC}
7413 Use these options to set maxwidth and maxheight automatically to the
7414 values known for card/\:mode combo.
7415 For example, valid options are: dc10-PAL and buz-NTSC (default: dc10+PAL)
7417 Select color or black and white encoding.
7418 Black and white encoding is faster.
7419 Color is the default.
7421 Horizontal decimation 1, 2 or 4.
7423 Vertical decimation 1, 2 or 4.
7425 Set JPEG compression quality [BEST] 1 \- 20 [VERY BAD].
7427 By default, decimation is only performed if the Zoran hardware
7428 can upscale the resulting MJPEG images to the original size.
7429 The option fd instructs the filter to always perform the requested
7435 Allows acquiring screenshots of the movie using slave mode
7436 commands that can be bound to keypresses.
7437 See the slave mode documentation and the INTERACTIVE CONTROL
7438 section for details.
7439 Files named 'shotNNNN.png' will be saved in the working directory,
7440 using the first available number \- no files will be overwritten.
7441 The filter has no overhead when not used and accepts an arbitrary
7442 colorspace, so it is safe to add it to the configuration file.
7443 Make sure that the screenshot filter is added after all other filters
7444 whose effect you want to record on the saved image.
7445 E.g.\& it should be the last filter if you want to have an exact
7446 screenshot of what you see on the monitor.
7451 Moves SSA/ASS subtitle rendering to an arbitrary point in the filter chain.
7452 Only useful with the \-ass option.
7457 .IPs "\-vf ass,screenshot"
7458 Moves SSA/ASS rendering before the screenshot filter.
7459 Screenshots taken this way will contain subtitles.
7464 .B blackframe[=amount:threshold]
7465 Detect frames that are (almost) completely black.
7466 Can be useful to detect chapter transitions or commercials.
7467 Output lines consist of the frame number of the detected frame, the
7468 percentage of blackness, the frame type and the frame number of the last
7469 encountered keyframe.
7472 Percentage of the pixels that have to be below the threshold (default: 98).
7474 Threshold below which a pixel value is considered black (default: 32).
7479 .B stereo3d[=in:out]
7480 Stereo3d converts between different stereoscopic image formats.
7483 Stereoscopic image format of input. Possible values:
7485 .B sbsl or side_by_side_left_first
7487 side by side parallel (left eye left, right eye right)
7489 .B sbsr or side_by_side_right_first
7491 side by side crosseye (right eye left, left eye right)
7493 .B abl or above_below_left_first
7495 above-below (left eye above, right eye below)
7497 .B abl or above_below_right_first
7499 above-below (right eye above, left eye below)
7501 .B ab2l or above_below_half_height_left_first
7503 above-below with half height resolution (left eye above, right eye below)
7505 .B ab2r or above_below_half_height_right_first
7507 above-below with half height resolution (right eye above, left eye below)
7511 Stereoscopic image format of output. Possible values are all the input formats
7514 .B arcg or anaglyph_red_cyan_gray
7516 anaglyph red/cyan gray (red filter on left eye, cyan filter on right eye)
7518 .B arch or anaglyph_red_cyan_half_color
7520 anaglyph red/cyan half colored (red filter on left eye, cyan filter on right
7523 .B arcc or anaglyph_red_cyan_color
7525 anaglyph red/cyan color (red filter on left eye, cyan filter on right eye)
7527 .B arcd or anaglyph_red_cyan_dubois
7529 anaglyph red/cyan color optimized with the least squares projection of dubois
7530 (red filter on left eye, cyan filter on right eye)
7532 .B agmg or anaglyph_green_magenta_gray
7534 anaglyph green/magenta gray (green filter on left eye, magenta filter on right
7537 .B agmh or anaglyph_green_magenta_half_color
7539 anaglyph green/magenta half colored (green filter on left eye, magenta filter on
7542 .B agmc or anaglyph_green_magenta_color
7544 anaglyph green/magenta colored (green filter on left eye, magenta filter on
7547 .B aybg or anaglyph_yellow_blue_gray
7549 anaglyph yellow/blue gray (yellow filter on left eye, blue filter on right eye)
7551 .B aybh or anaglyph_yellow_blue_half_color
7553 anaglyph yellow/blue half colored (yellow filter on left eye, blue filter on
7556 .B aybc or anaglyph_yellow_blue_color
7558 anaglyph yellow/blue colored (yellow filter on left eye, blue filter on right
7563 mono output (left eye only)
7567 mono output (right eye only)
7574 .B gradfun[=strength[:radius]]
7575 Fix the banding artifacts that are sometimes introduced into nearly flat
7576 regions by truncation to 8bit colordepth.
7577 Interpolates the gradients that should go where the bands are, and
7580 This filter is designed for playback only.
7581 Do not use it prior to lossy compression, because compression tends
7582 to lose the dither and bring back the bands.
7585 Maximum amount by which the filter will change any one pixel.
7586 Also the threshold for detecting nearly flat regions (default: 1.2).
7588 Neighborhood to fit the gradient to.
7589 Larger radius makes for smoother gradients, but also prevents the filter
7590 from modifying pixels near detailed regions (default: 16).
7595 Fixes the presentation timestamps (PTS) of the frames.
7596 By default, the PTS passed to the next filter is dropped, but the following
7597 options can change that:
7600 Print the incoming PTS.
7602 Specify a frame per second value.
7604 Specify an initial value for the PTS.
7608 incoming PTS as the initial PTS.
7609 All previous PTS are kept, so setting a huge value or \-1 keeps the PTS
7614 incoming PTS after the end of autostart to determine the framerate.
7622 .IPs "\-vf fixpts=fps=24000/1001,ass,fixpts"
7623 Generates a new sequence of PTS, uses it for ASS subtitles, then drops it.
7624 Generating a new sequence is useful when the timestamps are reset during the
7625 program; this is frequent on DVDs.
7626 Dropping it may be necessary to avoid confusing encoders.
7632 Using this filter together with any sort of seeking (including -ss and EDLs)
7633 may make demons fly out of your nose.
7637 .\" --------------------------------------------------------------------------
7638 .\" environment variables
7639 .\" --------------------------------------------------------------------------
7641 .SH ENVIRONMENT VARIABLES
7643 There are a number of environment variables that can be used to
7644 control the behavior of MPlayer.
7647 .B MPLAYER_CHARSET (also see \-msgcharset)
7648 Convert console messages to the specified charset (default: autodetect).
7649 A value of "noconv" means no conversion.
7653 Directory where MPlayer looks for user settings.
7656 .B MPLAYER_LOCALEDIR
7657 Directory where MPlayer looks for gettext translation files (if enabled).
7660 .B MPLAYER_VERBOSE (also see \-v and \-msglevel)
7661 Set the initial verbosity level across all message modules (default: 0).
7662 The resulting verbosity corresponds to that of \-msglevel 5 plus the
7663 value of MPLAYER_VERBOSE.
7669 If LADSPA_PATH is set, it searches for the specified file.
7670 If it is not set, you must supply a fully specified pathname.
7671 FIXME: This is also mentioned in the ladspa section.
7677 Specify a directory in which to store title key values.
7678 This will speed up descrambling of DVDs which are in the cache.
7679 The DVDCSS_CACHE directory is created if it does not exist,
7680 and a subdirectory is created named after the DVD's title
7681 or manufacturing date.
7682 If DVDCSS_CACHE is not set or is empty, libdvdcss will use
7683 the default value which is "${HOME}/.dvdcss/" under Unix and
7684 "C:\\Documents and Settings\\$USER\\Application Data\\dvdcss\\" under Win32.
7685 The special value "off" disables caching.
7689 Sets the authentication and decryption method that
7690 libdvdcss will use to read scrambled discs.
7691 Can be one of title, key or disc.
7695 is the default method.
7696 libdvdcss will use a set of calculated player keys to try and get the disc key.
7697 This can fail if the drive does not recognize any of the player keys.
7699 is a fallback method when key has failed.
7700 Instead of using player keys, libdvdcss will crack the disc key using
7701 a brute force algorithm.
7702 This process is CPU intensive and requires 64 MB of memory to store
7705 is the fallback when all other methods have failed.
7706 It does not rely on a key exchange with the DVD drive, but rather uses
7707 a crypto attack to guess the title key.
7708 On rare cases this may fail because there is not enough encrypted data
7709 on the disc to perform a statistical attack, but in the other hand it
7710 is the only way to decrypt a DVD stored on a hard disc, or a DVD with
7711 the wrong region on an RPC2 drive.
7716 .B DVDCSS_RAW_DEVICE
7717 Specify the raw device to use.
7718 Exact usage will depend on your operating system, the Linux
7719 utility to set up raw devices is raw(8) for instance.
7720 Please note that on most operating systems, using a raw device
7721 requires highly aligned buffers: Linux requires a 2048 bytes
7722 alignment (which is the size of a DVD sector).
7726 Sets the libdvdcss verbosity level.
7730 Outputs no messages at all.
7732 Outputs error messages to stderr.
7734 Outputs error messages and debug messages to stderr.
7740 Skip retrieving all keys on startup.
7745 FIXME: Document this.
7750 .B AO_SUN_DISABLE_SAMPLE_TIMING
7751 FIXME: Document this.
7755 FIXME: Document this.
7759 Specifies the Network Audio System server to which the
7760 nas audio output driver should connect and the transport
7761 that should be used.
7762 If unset DISPLAY is used instead.
7763 The transport can be one of tcp and unix.
7764 Syntax is tcp/<somehost>:<someport>, <somehost>:<instancenumber>
7765 or [unix]:<instancenumber>.
7766 The NAS base port is 8000 and <instancenumber> is added to that.
7773 .IPs AUDIOSERVER=somehost:0
7774 Connect to NAS server on somehost using default port and transport.
7775 .IPs AUDIOSERVER=tcp/somehost:8000
7776 Connect to NAS server on somehost listening on TCP port 8000.
7777 .IPs AUDIOSERVER=(unix)?:0
7778 Connect to NAS server instance 0 on localhost using unix domain sockets.
7784 FIXME: Document this.
7790 FIXME: Document this.
7794 Set this to 'disable' in order to stop the VIDIX driver from controlling
7795 alphablending settings.
7796 You can then manipulate it yourself with 'ivtvfbctl'.
7802 FIXME: Document this.
7808 FIXME: Document this.
7812 FIXME: Document this.
7816 FIXME: Document this.
7822 FIXME: Document this.
7826 FIXME: Document this.
7830 FIXME: Document this.
7834 FIXME: Document this.
7838 FIXME: Document this.
7844 FIXME: Document this.
7848 FIXME: Document this.
7852 FIXME: Document this.
7858 FIXME: Document this.
7862 FIXME: Document this.
7866 FIXME: Document this.
7870 FIXME: Document this.
7874 FIXME: Document this.
7878 FIXME: Document this.
7882 .\" --------------------------------------------------------------------------
7884 .\" --------------------------------------------------------------------------
7889 /usr/\:local/\:etc/\:mplayer/\:mplayer.conf
7890 MPlayer system-wide settings
7894 MPlayer user settings
7897 ~/.mplayer/\:input.conf
7898 input bindings (see '\-input keylist' for the full list)
7902 font directory (There must be a font.desc file and files with .RAW extension.)
7905 ~/.mplayer/\:DVDkeys/
7909 Assuming that /path/\:to/\:movie.avi is played, MPlayer searches for sub files
7912 /path/\:to/\:movie.sub
7914 ~/.mplayer/\:sub/\:movie.sub
7919 .\" --------------------------------------------------------------------------
7921 .\" --------------------------------------------------------------------------
7923 .SH EXAMPLES OF MPLAYER USAGE
7926 .B Quickstart Blu\-ray playing:
7928 mplayer br:////path/to/disc
7929 mplayer br:// \-bluray\-device /path/to/disc
7933 .B Quickstart DVD playing:
7939 .B Play in Japanese with English subtitles:
7941 mplayer dvd://1 \-alang ja \-slang en
7945 .B Play only chapters 5, 6, 7:
7947 mplayer dvd://1 \-chapter 5\-7
7951 .B Play only titles 5, 6, 7:
7957 .B Play a multiangle DVD:
7959 mplayer dvd://1 \-dvdangle 2
7963 .B Play from a different DVD device:
7965 mplayer dvd://1 \-dvd\-device /dev/\:dvd2
7969 .B Play DVD video from a directory with VOB files:
7971 mplayer dvd://1 \-dvd\-device /path/\:to/\:directory/
7975 .B Copy a DVD title to hard disk, saving to file "title1.vob":
7977 mplayer dvd://1 \-dumpstream \-dumpfile title1.vob
7981 .B Play a DVD with dvdnav from path /dev/sr1:
7983 mplayer dvdnav:////dev/sr1
7987 .B Stream from HTTP:
7989 mplayer http://mplayer.hq/example.avi
7993 .B Stream using RTSP:
7995 mplayer rtsp://server.example.com/streamName
7999 .B Convert subtitles to MPsub format:
8001 mplayer dummy.avi \-sub source.sub \-dumpmpsub
8005 .B Convert subtitles to MPsub format without watching the movie:
8007 mplayer /dev/\:zero \-rawvideo pal:fps=xx \-demuxer rawvideo \-vc null \-vo null \-noframedrop \-benchmark \-sub source.sub \-dumpmpsub
8011 .B input from standard V4L:
8013 mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 \-vo xv
8017 .B Playback on Zoran cards (old style, deprecated):
8019 mplayer \-vo zr \-vf scale=352:288 file.avi
8023 .B Playback on Zoran cards (new style):
8025 mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi
8029 .B Play DTS-CD with passthrough:
8031 mplayer \-ac hwdts \-rawaudio format=0x2001 \-cdrom\-device /dev/cdrom cdda://
8034 You can also use \-afm hwac3 instead of \-ac hwdts.
8035 Adjust '/dev/cdrom' to match the CD-ROM device on your system.
8036 If your external receiver supports decoding raw DTS streams,
8037 you can directly play it via cdda:// without setting format, hwac3 or hwdts.
8040 .B Play a 6-channel AAC file with only two speakers:
8042 mplayer \-rawaudio format=0xff \-demuxer rawaudio \-af pan=2:.32:.32:.39:.06:.06:.39:.17:-.17:-.17:.17:.33:.33 adts_he-aac160_51.aac
8045 You might want to play a bit with the pan values (e.g multiply with a value) to
8046 increase volume or avoid clipping.
8049 .B checkerboard invert with geq filter:
8051 mplayer \-vf geq='128+(p(X\\,Y)\-128)*(0.5\-gt(mod(X/SW\\,128)\\,64))*(0.5\-gt(mod(Y/SH\\,128)\\,64))*4'
8055 .\" --------------------------------------------------------------------------
8056 .\" Bugs, authors, standard disclaimer
8057 .\" --------------------------------------------------------------------------
8061 If you find one, report it to us, but please make sure you have read all
8062 of the documentation first.
8063 Also look out for smileys. :)
8064 Many bugs are the result of incorrect setup or parameter usage.
8065 The bug reporting section of the documentation
8066 (http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:bugreports.html)
8067 explains how to create useful bug reports.
8072 MPlayer was initially written by Arpad Gereoffy.
8073 See the AUTHORS file for a list of some of the many other contributors.
8075 MPlayer is (C) 2000\-2009 The MPlayer Team
8077 This man page was written mainly by Gabucino, Jonas Jermann and Diego Biurrun.
8078 It is maintained by Diego Biurrun.
8079 Please send mails about it to the MPlayer-DOCS mailing list.
8080 Translation specific mails belong on the MPlayer-translations mailing list.