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) 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).
161 Usage examples to get you started quickly can be found at the end
164 .B Also see the HTML documentation!
167 .\" --------------------------------------------------------------------------
168 .\" interactive control
169 .\" --------------------------------------------------------------------------
171 .SH "INTERACTIVE CONTROL"
172 MPlayer has a fully configurable, command-driven control layer
173 which allows you to control MPlayer using keyboard, mouse, joystick
174 or remote control (with LIRC).
175 See the \-input option for ways to customize it.
182 Seek backward/\:forward 10 seconds.
183 Shift+arrow does a 1 second exact seek (see \-hr\-seek; currently modifier
184 keys like shift only work if used in an X output window).
186 Seek forward/\:backward 1 minute.
187 Shift+arrow does a 5 second exact seek (see \-hr\-seek; currently modifier
188 keys like shift only work if used in an X output window).
189 .IPs "pgup and pgdown"
190 Seek forward/\:backward 10 minutes.
192 Decrease/increase current playback speed by 10%.
194 Halve/double current playback speed.
196 Reset playback speed to normal.
198 Go backward/\:forward in the playlist.
200 Go forward in the playlist, even over the end.
202 next/\:previous playtree entry in the parent list
203 .IPs "INS and DEL (ASX playlist only)"
204 next/\:previous alternative source.
206 Pause (pressing again unpauses).
209 Pressing once will pause movie, every consecutive press will play one frame
210 and then go into pause mode again.
212 Stop playing and quit.
214 Stop playing (and quit if \-idle is not used).
216 Adjust audio delay by +/\- 0.1 seconds.
218 Decrease/\:increase volume.
220 Decrease/\:increase volume.
222 Adjust audio balance in favor of left/\:right channel.
225 .IPs "_ (MPEG-TS, AVI and libavformat only)"
226 Cycle through the available video tracks.
227 .IPs "# (DVD, Blu-ray, MPEG, Matroska, AVI and libavformat only)"
228 Cycle through the available audio tracks.
229 .IPs "TAB (MPEG-TS and libavformat only)"
230 Cycle through the available programs.
232 Toggle fullscreen (also see \-fs).
234 Toggle stay-on-top (also see \-ontop).
236 Decrease/\:increase pan-and-scan range.
238 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
240 Toggle frame dropping states: none / skip display / skip decoding
241 (see \-framedrop and \-hardframedrop).
243 Toggle subtitle visibility.
245 Cycle through the available subtitles.
247 Step forward/backward in the subtitle list.
249 Toggle displaying "forced subtitles".
251 Toggle subtitle alignment: top / middle / bottom.
253 Adjust subtitle delay by +/\- 0.1 seconds.
254 .IPs "C (\-capture only)"
255 Start/stop capturing the primary stream.
257 Move subtitles up/down.
258 .IPs "i (\-edlout mode only)"
259 Set start or end of an EDL skip and write it out to the given file.
260 .IPs "s (\-vf screenshot only)"
262 .IPs "S (\-vf screenshot only)"
263 Start/stop taking screenshots.
265 Show filename on the OSD.
267 Show progression bar, elapsed time and total duration on the OSD.
269 Seek to the beginning of the previous/next chapter.
270 .IPs "D (\-vo xvmc, \-vo vdpau, \-vf yadif, \-vf kerndeint only)"
271 Activate/deactivate deinterlacer.
273 Cycle through the available DVD angles.
274 .IPs "c (currently -vo vdpau and -vo xv only)"
275 Change YUV colorspace.
280 (The following keys are valid only when using a video output that supports
281 the corresponding adjustment, the software equalizer
282 (\-vf eq or \-vf eq2) or hue filter (\-vf hue).)
299 (The following keys are valid only when using the quartz or corevideo
300 video output driver.)
306 Resize movie window to half its original size.
308 Resize movie window to its original size.
310 Resize movie window to double its original size.
312 Toggle fullscreen (also see \-fs).
313 .IPs "command + [ and command + ]"
314 Set movie window alpha.
319 (The following keys are valid only when using the sdl
320 video output driver.)
326 Cycle through available fullscreen modes.
328 Restore original mode.
333 (The following keys are valid if you have a keyboard
334 with multimedia keys.)
342 Stop playing and quit.
343 .IPs "PREVIOUS and NEXT"
344 Seek backward/\:forward 1 minute.
349 (The following keys are only valid if you compiled with TV or DVB input
350 support and will take precedence over the keys defined above.)
356 Select previous/\:next channel.
365 (The following keys are only valid if you compiled with dvdnav
366 support: They are used to navigate the menus.)
382 Return to nearest menu (the order of preference is: chapter->title->root).
390 (The following keys are used for controlling TV teletext. The data may
391 come from either an analog TV source or an MPEG transport stream.)
397 Switch teletext on/\:off.
399 Go to next/\:prev teletext page.
407 .IPs "button 3 and button 4"
408 Seek backward/\:forward 1 minute.
409 .IPs "button 5 and button 6"
410 Decrease/\:increase volume.
418 .IPs "left and right"
419 Seek backward/\:forward 10 seconds.
421 Seek forward/\:backward 1 minute.
425 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
426 .IPs "button 3 and button 4"
427 Decrease/\:increase volume.
432 .\" --------------------------------------------------------------------------
434 .\" --------------------------------------------------------------------------
437 Every 'flag' option has a 'noflag' counterpart, e.g.\& the opposite of the
438 \-fs option is \-nofs.
440 If an option is marked as (XXX only), it will only work in combination with
441 the XXX option or if XXX is compiled in.
444 The suboption parser (used for example for \-ao pcm suboptions) supports
445 a special kind of string-escaping intended for use with external GUIs.
447 It has the following format:
449 %n%string_of_length_n
453 mplayer \-ao pcm:file=%10%C:test.wav test.avi
457 mplayer \-ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi
460 .\" --------------------------------------------------------------------------
461 .\" Configuration files
462 .\" --------------------------------------------------------------------------
464 .SH "CONFIGURATION FILES"
465 You can put all of the options in configuration files which will be read
466 every time MPlayer is run.
467 The system-wide configuration file 'mplayer.conf' is in your configuration
468 directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the user
469 specific one is '~/\:.mplayer/\:config'.
470 User specific options override system-wide options and options given on the
471 command line override either.
472 The syntax of the configuration files is 'option=<value>', everything after
473 a '#' is considered a comment.
474 Options that work without values can be enabled by setting them to 'yes'
475 or '1' or 'true' and disabled by setting them to 'no' or '0' or 'false'.
476 Even suboptions can be specified in this way.
478 You can also write file-specific configuration files.
479 If you wish to have a configuration file for a file called 'movie.avi', create a file
480 named 'movie.avi.conf' with the file-specific options in it and put it in
482 You can also put the configuration file in the same directory as the file to
483 be played, as long as you give the \-use\-filedir\-conf option (either on the
484 command line or in your global config file).
485 If a file-specific configuration file is found in the same directory, no
486 file-specific configuration is loaded from ~/.mplayer.
487 In addition, the \-use\-filedir\-conf option enables directory-specific
489 For this, MPlayer first tries to load a mplayer.conf from the same directory as
490 the file played and then tries to load any file-specific configuration.
492 .I EXAMPLE MPLAYER CONFIGURATION FILE:
495 # Use Matrox driver by default.
497 # I love practicing handstands while watching videos.
499 # Decode multiple files from PNG,
500 # start with mf://filemask
502 # Eerie negative images are cool.
506 .\" --------------------------------------------------------------------------
508 .\" --------------------------------------------------------------------------
511 To ease working with different configurations profiles can be defined in the
513 A profile starts with its name between square brackets, e.g.\& '[my-profile]'.
514 All following options will be part of the profile.
515 A description (shown by \-profile help) can be defined with the profile-desc
517 To end the profile, start another one or use the profile name 'default'
518 to continue with normal options.
521 .I "EXAMPLE MPLAYER PROFILE:"
526 profile-desc="profile for dvd:// streams"
531 profile-desc="profile for dvdnav:// streams"
537 profile-desc="profile for .flv files"
547 .\" --------------------------------------------------------------------------
549 .\" --------------------------------------------------------------------------
551 .SH "GENERAL OPTIONS"
555 Specify a directory for binary codecs.
558 .B \-codecs\-file <filename> (also see \-afm, \-ac, \-vfm, \-vc)
559 Override the standard search path and use the specified file
560 instead of the builtin codecs.conf.
563 .B \-include <configuration file>
564 Specify configuration file to be parsed after the default ones.
568 Prints all available options.
571 .B \-msgcharset <charset>
572 Convert console messages to the specified character set (default: autodetect).
573 Text will be in the encoding specified with the \-\-charset configure option.
574 Set this to "noconv" to disable conversion (for e.g.\& iconv problems).
577 The option takes effect after command line parsing has finished.
578 The MPLAYER_CHARSET environment variable can help you get rid of
579 the first lines of garbled output.
583 Enable colorful console output on terminals that support ANSI color.
586 .B \-msglevel <all=<level>:<module>=<level>:...>
587 Control verbosity directly for each module.
588 The 'all' module changes the verbosity of all the modules not
589 explicitly specified on the command line.
590 See '\-msglevel help' for a list of all modules.
593 Some messages are printed before the command line is parsed and are
594 therefore not affected by \-msglevel.
595 To control these messages you have to use the MPLAYER_VERBOSE environment
596 variable, see its description below for details.
612 informational messages
614 status messages (default)
628 Prepend module name in front of each console message.
631 .B \-noconfig <options>
632 Do not parse selected configuration files.
635 If \-include or \-use\-filedir\-conf options are
636 specified at the command line, they will be honoured.
638 Available options are:
642 all configuration files
644 system configuration file
646 user configuration file
652 Make console output less verbose; in particular, prevents the status line
653 (i.e.\& A: 0.7 V: 0.6 A-V: 0.068 ...) from being displayed.
654 Particularly useful on slow terminals or broken ones which do not properly
655 handle carriage return (i.e.\& \\r).
658 .B \-priority <prio> (Windows and OS/2 only)
659 Set process priority for MPlayer according to the predefined
660 priorities available under Windows and OS/2.
661 Possible values of <prio>:
663 idle|belownormal|normal|abovenormal|high|realtime
668 Using realtime priority can cause system lockup.
672 .B \-profile <profile1,profile2,...>
673 Use the given profile(s), \-profile help displays a list of the defined profiles.
676 .B \-really\-quiet (also see \-quiet)
677 Display even less output and status messages than with \-quiet.
680 .B \-show\-profile <profile>
681 Show the description and content of a profile.
684 .B \-use\-filedir\-conf
685 Look for a file-specific configuration file in the same directory as
686 the file that is being played.
689 May be dangerous if playing from untrusted media.
693 Increment verbosity level, one level for each \-v
694 found on the command line.
701 .B \-autoq <quality> (use with \-vf [s]pp)
702 Dynamically changes the level of postprocessing depending on the available spare
704 The number you specify will be the maximum level used.
705 Usually you can use some big number.
706 You have to use \-vf [s]pp without parameters in order for this to work.
709 .B \-autosync <factor>
710 Gradually adjusts the A/V sync based on audio delay measurements.
711 Specifying \-autosync 0, the default, will cause frame timing to be based
712 entirely on audio delay measurements.
713 Specifying \-autosync 1 will do the same, but will subtly change the A/V
714 correction algorithm.
715 An uneven video framerate in a movie which plays fine with \-nosound can
716 often be helped by setting this to an integer value greater than 1.
717 The higher the value, the closer the timing will be to \-nosound.
718 Try \-autosync 30 to smooth out problems with sound drivers which do
719 not implement a perfect audio delay measurement.
720 With this value, if large A/V sync offsets occur, they will only take about
721 1 or 2 seconds to settle out.
722 This delay in reaction time to sudden A/V offsets should be the only
723 side-effect of turning this option on, for all sound drivers.
727 Prints some statistics on CPU usage and dropped frames at the end of playback.
728 Use in combination with \-nosound and \-vo null for benchmarking only the
732 With this option MPlayer will also ignore frame duration when playing
733 only video (you can think of that as infinite fps).
736 .B \-chapter\-merge\-threshold <number>
737 Threshold for merging almost consecutive ordered chapter parts
738 in milliseconds (default: 100).
739 Some Matroska files with ordered chapters have inaccurate chapter
740 end timestamps, causing a small gap between the end of one chapter and
741 the start of the next one when they should match.
742 If the end of one playback part is less than the given threshold away
743 from the start of the next one then keep playing video normally over the
744 chapter change instead of doing a seek.
747 .B \-colorkey <number>
748 Changes the colorkey to an RGB value of your choice.
749 0x000000 is black and 0xffffff is white.
750 Only supported by the fbdev, svga, vesa, xmga,
751 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
756 Disables colorkeying.
757 Only supported by the fbdev, svga, vesa, xmga,
758 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
762 .B \-correct\-pts, \-nocorrect\-pts
763 Switches MPlayer to a mode where timestamps for video frames
764 are calculated differently and video filters which add new frames or
765 modify timestamps of existing ones are supported.
766 Now enabled automatically for most common file formats.
767 The more accurate timestamps can be visible for example when playing
768 subtitles timed to scene changes with the \-ass option.
769 Without \-correct\-pts the subtitle timing will typically be off by some frames.
770 This option does not work correctly with some demuxers and codecs.
773 .B \-crash\-debug (DEBUG CODE)
774 Automatically attaches gdb upon crash or SIGTRAP.
775 Support must be compiled in by configuring with \-\-enable\-crash\-debug.
778 .B \-doubleclick\-time
779 Time in milliseconds to recognize two consecutive button presses as
780 a double-click (default: 300).
781 Set to 0 to let your windowing system decide what a double-click is
785 You will get slightly different behaviour depending on whether you bind
786 MOUSE_BTN0_DBL or MOUSE_BTN0\-MOUSE_BTN0_DBL.
789 .B \-edlout <filename>
790 Creates a new file and writes edit decision list (EDL) records to it.
791 During playback, the user hits 'i' to mark the start or end of a skip block.
792 This provides a starting point from which the user can fine-tune EDL entries
794 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details.
797 .B \-fixed\-vo, \-nofixed\-vo
798 \-fixed\-vo enforces a fixed video system for multiple files (one
799 (un)initialization for all files).
800 Therefore only one window will be opened for all files.
801 Now enabled by default, use \-nofixed\-vo to disable and create a new window
802 whenever the video stream changes.
803 Some of the older drivers may not be fixed-vo compliant.
806 .B \-framedrop (also see \-hardframedrop, experimental without \-nocorrect\-pts)
807 Skip displaying some frames to maintain A/V sync on slow systems.
808 Video filters are not applied to such frames.
809 For B-frames even decoding is skipped completely.
812 .B \-h, \-help, \-\-help
813 Show short summary of options.
816 .B \-hardframedrop (experimental without \-nocorrect\-pts)
817 More intense frame dropping (breaks decoding).
818 Leads to image distortion!
819 Note that especially the libmpeg2 decoder may crash with this,
820 so consider using "\-vc ffmpeg12,".
824 Command that is executed every 30 seconds during playback via system() -
825 i.e.\& using the shell.
828 MPlayer uses this command without any checking, it is your responsibility
829 to ensure it does not cause security problems (e.g.\& make sure to use full
830 paths if "." is in your path like on Windows).
831 It also only works when playing video (i.e.\& not with \-novideo but works with \-vo null).
833 This can be "misused" to disable screensavers that do not support the proper
834 X API (also see \-stop\-xscreensaver).
835 If you think this is too complicated, ask the author of the screensaver
836 program to support the proper X APIs.
838 .I EXAMPLE for xscreensaver:
839 mplayer \-heartbeat\-cmd "xscreensaver\-command \-deactivate" file
841 .I EXAMPLE for GNOME screensaver:
842 mplayer \-heartbeat\-cmd "gnome\-screensaver\-command \-p" file
847 .B \-hr\-seek off|absolute|always
848 Select when to use precise seeks that are not limited to keyframes.
849 Such seeks require decoding video from the previous keyframe up to the target
850 position and so can take some time depending on decoding performance.
851 For some video formats precise seeks are disabled. This option selects the
852 default choice to use for seeks; it's possible to explicitly override that
853 default in the definition of key bindings and in slave mode commands.
857 Never use precise seeks.
859 Use precise seeks if the seek is to an absolute position in the file,
860 such as a chapter seek, but not for relative seeks like the default
861 behavior of arrow keys (default).
863 Use precise seeks whenever possible.
869 Shorthand for \-msglevel identify=4.
870 Show file parameters in an easily parseable format.
871 Also prints more detailed information about subtitle and audio
872 track languages and IDs.
873 In some cases you can get more information by using \-msglevel identify=6.
874 For example, for a DVD or Blu\-ray it will list the chapters and time length
875 of each title, as well as a disk ID.
876 Combine this with \-frames 0 to suppress all video output.
877 The wrapper script TOOLS/\:midentify.sh suppresses the other MPlayer output and
878 (hopefully) shellescapes the filenames.
881 .B \-idle (also see \-slave)
882 Makes MPlayer wait idly instead of quitting when there is no file to play.
883 Mostly useful in slave mode where MPlayer can be controlled
884 through input commands.
887 .B \-input <commands>
888 This option can be used to configure certain parts of the input system.
889 Paths are relative to ~/.mplayer/.
892 Autorepeat is currently only supported by joysticks.
894 Available commands are:
899 Specify input configuration file other than the default
900 ~/\:.mplayer/\:input.conf.
901 ~/\:.mplayer/\:<filename> is assumed if no full path is given.
903 Device to be used for Apple IR Remote (default is autodetected, Linux only).
905 Delay in milliseconds before we start to autorepeat a key (0 to disable).
907 Number of key presses to generate per second on autorepeat.
908 .IPs (no)default-bindings
909 Use the key bindings that MPlayer ships with by default.
911 Prints all keys that can be bound to commands.
913 Prints all commands that can be bound to keys.
915 Specifies the joystick device to use (default: /dev/\:input/\:js0).
917 Read commands from the given file.
918 Mostly useful with a FIFO.
921 When the given file is a FIFO MPlayer opens both ends so you can do
922 several 'echo "seek 10" > mp_pipe' and the pipe will stay valid.
927 .B \-key\-fifo\-size <2\-65000>
928 Specify the size of the FIFO that buffers key events (default: 7).
929 A FIFO of size n can buffer (n\-1) events.
930 If it is too small some events may be lost
931 (leading to "stuck mouse buttons" and similar effects).
932 If it is too big, MPlayer may seem to hang while it
933 processes the buffered events.
934 To get the same behavior as before this option was introduced,
935 set it to 2 for Linux or 1024 for Windows.
938 .B \-lircconf <filename> (LIRC only)
939 Specifies a configuration file for LIRC (default: ~/.lircrc).
942 .B \-list\-properties
943 Print a list of the available properties.
947 Loops movie playback <number> times.
951 .B \-menu (OSD menu only)
952 Turn on OSD menu support.
955 .B \-menu\-cfg <filename> (OSD menu only)
956 Use an alternative menu.conf.
959 .B \-menu\-chroot <path> (OSD menu only)
960 Chroot the file selection menu to a specific location.
965 .IPs "\-menu\-chroot /home"
966 Will restrict the file selection menu to /\:home and downward (i.e.\& no
967 access to / will be possible, but /home/user_name will).
972 .B \-menu\-keepdir (OSD menu only)
973 File browser starts from the last known location instead of current directory.
976 .B \-menu\-root <value> (OSD menu only)
977 Specify the main menu.
980 .B \-menu\-startup (OSD menu only)
981 Display the main menu at MPlayer startup.
984 .B \-mouse\-movements
985 Permit MPlayer to receive pointer events reported by the video
987 Necessary to select the buttons in DVD menus.
988 Supported for X11-based VOs (x11, xv, xvmc, etc) and the gl, gl2, direct3d and
993 Turns off AppleIR remote support.
996 .B \-noconsolecontrols
997 Prevent MPlayer from reading key events from standard input.
998 Useful when reading data from standard input.
999 This is automatically enabled when \- is found on the command line.
1000 There are situations where you have to set it manually, e.g.\&
1001 if you open /dev/\:stdin (or the equivalent on your system), use stdin
1002 in a playlist or intend to read from stdin later on via the loadfile or
1003 loadlist slave commands.
1006 .B \-noinitial-audio-sync
1007 When starting a video file or after events such as seeking MPlayer will by
1008 default modify the audio stream to make it start from the same timestamp as
1009 video, by either inserting silence at the start or cutting away the first
1011 This option disables that functionality and makes the player behave like
1012 older MPlayer versions did: video and audio are both started immediately
1013 even if their start timestamps differ, and then video timing is gradually
1014 adjusted if necessary to reach correct synchronization later.
1018 Turns off joystick support.
1022 Turns off LIRC support.
1026 Disable mouse button press/\:release input (mozplayerxp's context menu relies
1029 .B \-noordered\-chapters
1030 Disable support for Matroska ordered chapters.
1031 MPlayer will not load or search for video segments from other files,
1032 and will also ignore any chapter order specified for the main file.
1035 .B \-pts\-association\-mode auto|decode|sort
1036 Select the method used to determine which container packet timestamp
1037 corresponds to a particular output frame from the video decoder.
1038 Normally you shouldn't need to change this option.
1042 Try to pick a working mode from the ones below automatically (default)
1044 Use decoder reordering functionality.
1046 Maintain a buffer of unused pts values and use the lowest value for the frame.
1052 Turns on usage of the Linux RTC (realtime clock \- /dev/\:rtc) as timing
1054 This wakes up the process every 1/1024 seconds to check the current time.
1055 Useless with modern Linux kernels configured for desktop use as they already
1056 wake up the process with similar accuracy when using normal timed sleep.
1059 .B \-playing\-msg <string>
1060 Print out a string before starting playback.
1061 The following expansions are supported:
1064 Expand to the value of the property NAME.
1066 Expand TEXT only if the property NAME is available.
1068 Expand TEXT only if the property NAME is not available.
1072 .B \-playlist <filename>
1073 Play files according to a playlist file (ASX, Winamp, SMIL, or
1074 one-file-per-line format).
1077 The way MPlayer parses and uses playlist files is not safe against
1078 maliciously constructed files.
1079 Such files may trigger harmful actions.
1080 This has been the case for all MPlayer versions, but unfortunately this
1081 fact was not well documented earlier, and some people have even misguidedly
1082 recommended use of -playlist with untrusted sources.
1083 Do NOT use -playlist with random internet sources or files you don't trust!
1086 This option is considered an entry so options found after it will apply
1087 only to the elements of this playlist.
1089 FIXME: This needs to be clarified and documented thoroughly.
1092 .B \-rtc\-device <device>
1093 Use the specified device for RTC timing.
1097 Play files in random order.
1100 .B \-slave (also see \-input)
1101 Switches on slave mode, in which MPlayer works as a backend for other programs.
1102 Instead of intercepting keyboard events, MPlayer will read commands separated
1103 by a newline (\\n) from stdin.
1106 See \-input cmdlist for a list of slave commands and DOCS/tech/slave.txt
1107 for their description.
1108 Also, this is not intended to disable other inputs, e.g.\& via the video window,
1109 use some other method like \-input nodefault\-bindings:conf=/dev/null for that.
1113 Time frames by repeatedly checking the current time instead of asking the
1114 kernel to wake up MPlayer at the correct time.
1115 Useful if your kernel timing is imprecise and you cannot use the RTC either.
1116 Comes at the price of higher CPU consumption.
1120 Skip <sec> seconds after every frame.
1121 The normal framerate of the movie is kept, so playback is accelerated.
1122 Since MPlayer can only seek to the next keyframe this may be inexact.
1126 .SH "DEMUXER/STREAM OPTIONS"
1130 Select the Dynamic Range Compression level for AC-3 audio streams.
1131 <level> is a float value ranging from 0 to 1, where 0 means no compression
1132 and 1 (which is the default) means full compression (make loud passages more
1133 silent and vice versa).
1134 Values up to 2 are also accepted, but are purely experimental.
1135 This option only shows an effect if the AC-3 stream contains the required range
1136 compression information.
1139 .B \-aid <ID> (also see \-alang)
1140 Select audio channel (MPEG: 0\-31, AVI/\:OGM: 1\-99, ASF/\:RM: 0\-127,
1141 VOB(AC-3): 128\-159, VOB(LPCM): 160\-191, MPEG-TS 17\-8190).
1142 MPlayer prints the available audio IDs when run in verbose (\-v) mode.
1143 When playing an MPEG-TS stream, MPlayer will use the first program (if present)
1144 with the chosen audio stream.
1147 .B \-ausid <ID> (also see \-alang)
1148 Select audio substream channel.
1149 Currently the valid range is 0x55..0x75 and applies only to MPEG-TS when handled
1150 by the native demuxer (not by libavformat).
1151 The format type may not be correctly identified because of how this information
1152 (or lack thereof) is embedded in the stream, but it will demux correctly the
1153 audio streams when multiple substreams are present.
1154 MPlayer prints the available substream IDs when run with \-identify.
1157 .B \-alang <language code[,language code,...]> (also see \-aid)
1158 Specify a priority list of audio languages to use.
1159 Different container formats employ different language codes.
1160 DVDs use ISO 639-1 two letter language codes, Matroska, MPEG-TS and NUT
1161 use ISO 639-2 three letter language codes while OGM uses a free-form identifier.
1162 MPlayer prints the available languages when run in verbose (\-v) mode.
1167 .IPs "mplayer dvd://1 \-alang hu,en"
1168 Chooses the Hungarian language track on a DVD and falls back on English if
1169 Hungarian is not available.
1170 .IPs "mplayer \-alang jpn example.mkv"
1171 Plays a Matroska file in Japanese.
1176 .B \-audio\-demuxer <[+]name> (\-audiofile only)
1177 Force audio demuxer type for \-audiofile.
1178 Use a '+' before the name to force it, this will skip some checks!
1179 Give the demuxer name as printed by \-audio\-demuxer help.
1180 For backward compatibility it also accepts the demuxer ID as defined in
1181 libmpdemux/\:demuxer.h.
1182 \-audio\-demuxer audio or \-audio\-demuxer 17 forces MP3.
1185 .B \-audiofile <filename>
1186 Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a
1190 .B \-audiofile\-cache <kBytes>
1191 Enables caching for the stream used by \-audiofile, using the specified
1195 .B \-reuse\-socket (udp:// only)
1196 Allows a socket to be reused by other processes as soon as it is closed.
1199 .B \-bandwidth <Bytes> (network only)
1200 Specify the maximum bandwidth for network streaming (for servers that are
1201 able to send content in different bitrates).
1202 Useful if you want to watch live streamed media behind a slow connection.
1203 With Real RTSP streaming, it is also used to set the maximum delivery
1204 bandwidth allowing faster cache filling and stream dumping.
1207 .B \-bluray\-angle <angle ID> (Blu\-ray only)
1208 Some Blu\-ray discs contain scenes that can be viewed from multiple angles.
1209 Here you can tell MPlayer which angles to use (default: 1).
1212 .B \-bluray\-chapter <chapter ID> (Blu\-ray only)
1213 Tells MPlayer which Blu\-ray chapter to start the current title from (default: 1).
1216 .B \-bluray\-device <path to disc> (Blu\-ray only)
1217 Specify the Blu\-ray disc location. Must be a directory with Blu\-ray structure.
1221 This option specifies how much memory (in kBytes) to use when precaching a
1223 Especially useful on slow media.
1230 .B \-cache\-min <percentage>
1231 Playback will start when the cache has been filled up to <percentage>
1235 .B \-cache\-seek\-min <percentage>
1236 If a seek is to be made to a position within <percentage> of the cache size
1237 from the current position, MPlayer will wait for the cache to be filled to
1238 this position rather than performing a stream seek (default: 50).
1242 Allows capturing the primary stream (not additional audio tracks or other
1243 kind of streams) into the file specified by \-dumpfile or \"stream.dump\"
1245 If this option is given, capturing can be started and stopped by pressing
1246 the key bound to this function (see section INTERACTIVE CONTROL).
1247 Same as for \-dumpstream, this will likely not produce usable results for
1248 anything else than MPEG streams.
1249 Note that, due to cache latencies, captured data may begin and end
1250 somewhat delayed compared to what you see displayed.
1253 .B \-cdda <option1:option2> (CDDA only)
1254 This option can be used to tune the CD Audio reading feature of MPlayer.
1256 Available options are:
1260 .IPs paranoia=<0\-2>
1262 Values other than 0 seem to break playback of anything but the first track.
1264 0: disable checking (default)
1266 1: overlap checking only
1268 2: full data correction and verification
1270 .IPs generic-dev=<value>
1271 Use specified generic SCSI device.
1272 .IPs sector-size=<value>
1273 Set atomic read size.
1274 .IPs overlap=<value>
1275 Force minimum overlap search during verification to <value> sectors.
1277 Assume that the beginning offset of track 1 as reported in the TOC will be
1279 Some Toshiba drives need this for getting track boundaries correct.
1280 .IPs toc-offset=<value>
1281 Add <value> sectors to the values reported when addressing tracks.
1284 (Never) accept imperfect data reconstruction.
1288 .B \-cdrom\-device <path to device>
1289 Specify the CD-ROM device (default: /dev/\:cdrom).
1292 .B \-channels <number> (also see \-af channels)
1293 Request the number of playback channels (default: 2).
1294 MPlayer asks the decoder to decode the audio into as many channels as
1296 Then it is up to the decoder to fulfill the requirement.
1297 This is usually only important when playing videos with AC-3 audio (like DVDs).
1298 In that case liba52 does the decoding by default and correctly downmixes the
1299 audio into the requested number of channels.
1300 To directly control the number of output channels independently of how many
1301 channels are decoded, use the channels filter.
1304 This option is honored by codecs (AC-3 only), filters (surround) and audio
1305 output drivers (OSS at least).
1307 Available options are:
1323 .B \-chapter <chapter ID>[\-<endchapter ID>] (dvd:// and dvdnav:// only)
1324 Specify which chapter to start playing at.
1325 Optionally specify which chapter to end playing at (default: 1).
1328 .B \-edition <edition ID> (Matroska only)
1329 Specify the edition (set of chapters) to use, where 0 is the first. If set to
1330 -1 (the default), MPlayer will choose the first edition declared as a default,
1331 or if there is no default, the first edition defined.
1334 .B \-cookies (network only)
1335 Send cookies when making HTTP requests.
1338 .B \-cookies\-file <filename> (network only)
1339 Read HTTP cookies from <filename> (default: ~/.mozilla/ and ~/.netscape/)
1340 and skip reading from default locations.
1341 The file is assumed to be in Netscape format.
1345 audio delay in seconds (positive or negative float value)
1347 Negative values delay the audio, and positive values delay the video.
1351 Ignore the specified starting time for streams in AVI files.
1352 This nullifies stream delays.
1355 .B \-demuxer <[+]name>
1357 Use a '+' before the name to force it, this will skip some checks!
1358 Give the demuxer name as printed by \-demuxer help.
1359 For backward compatibility it also accepts the demuxer ID as defined in
1360 libmpdemux/\:demuxer.h.
1364 Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/\:AC-3,
1365 in most other cases the resulting file will not be playable).
1366 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1367 on the command line only the last one will work.
1370 .B \-dumpfile <filename>
1371 Specify which file MPlayer should dump to.
1372 Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream /
1377 Dumps the raw stream to ./stream.dump.
1378 Useful when ripping from DVD or network.
1379 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1380 on the command line only the last one will work.
1384 Dump raw compressed video stream to ./stream.dump (not very usable).
1385 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1386 on the command line only the last one will work.
1389 .B \-dvbin <options> (DVB only)
1390 Pass the following parameters to the DVB input module, in order to override
1396 Specifies using card number 1\-4 (default: 1).
1397 .IPs file=<filename>
1398 Instructs MPlayer to read the channels list from <filename>.
1399 Default is ~/.mplayer/\:channels.conf.{sat,ter,cbl,atsc} (based on your card type)
1400 or ~/.mplayer/\:channels.conf as a last resort.
1401 .IPs timeout=<1\-30>
1402 Maximum number of seconds to wait when trying to tune a
1403 frequency before giving up (default: 30).
1408 .B \-dvd\-device <path to device> (DVD only)
1409 Specify the DVD device or .iso filename (default: /dev/\:dvd).
1410 You can also specify a directory that contains files previously copied directly
1411 from a DVD (with e.g.\& vobcopy).
1414 .B \-dvd\-speed <factor or speed in KB/s> (DVD only)
1415 Try to limit DVD speed (default: 0, no change).
1416 DVD base speed is about 1350KB/s, so a 8x drive can read at speeds up to
1418 Slower speeds make the drive more quiet, for watching DVDs 2700KB/s should be
1419 quiet and fast enough.
1420 MPlayer resets the speed to the drive default value on close.
1421 Values less than 100 mean multiples of 1350KB/s, i.e.\& \-dvd\-speed 8 selects
1425 You need write access to the DVD device to change the speed.
1428 .B \-dvdangle <angle ID> (DVD only)
1429 Some DVD discs contain scenes that can be viewed from multiple angles.
1430 Here you can tell MPlayer which angles to use (default: 1).
1434 Enables edit decision list (EDL) actions during playback.
1435 Video will be skipped over and audio will be muted and unmuted according to
1436 the entries in the given file.
1437 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details
1441 .B \-endpos <[[hh:]mm:]ss[.ms]> (also see \-ss and \-sb)
1445 When used in conjunction with \-ss option, \-endpos time will shift forward by
1446 seconds specified with \-ss.
1453 .IPs "\-endpos 01:10:00"
1454 Stop at 1 hour 10 minutes.
1455 .IPs "\-ss 10 \-endpos 56"
1456 Stop at 1 minute 6 seconds.
1462 Force index rebuilding.
1463 Useful for files with broken index (A/V desync, etc).
1464 This will enable seeking in files where seeking was not possible.
1467 This option only works if the underlying media supports seeking
1468 (i.e.\& not with stdin, pipe, etc).
1471 .B \-fps <float value>
1472 Override video framerate.
1473 Useful if the original value is wrong or missing.
1476 .B \-frames <number>
1477 Play/\:convert only first <number> frames, then quit.
1480 .B \-hr\-mp3\-seek (MP3 only)
1482 Enabled when playing from an external MP3 file, as we need to seek
1483 to the very exact position to keep A/V sync.
1484 Can be slow especially when seeking backwards since it has to rewind
1485 to the beginning to find an exact frame position.
1488 .B \-http-header-fields <field1,field2>
1489 Set custom HTTP fields when accessing HTTP stream.
1495 mplayer \-http\-header\-fields 'Field1: value1','Field2: value2' http://localhost:1234
1497 Will generate HTTP request:
1502 Host: localhost:1234
1517 .B \-idx (also see \-forceidx)
1518 Rebuilds index of files if no index was found, allowing seeking.
1519 Useful with broken/\:incomplete downloads, or badly created files.
1522 This option only works if the underlying media supports seeking
1523 (i.e.\& not with stdin, pipe, etc).
1527 Skip rebuilding index file.
1530 .B \-ipv4\-only\-proxy (network only)
1531 Skip the proxy for IPv6 addresses.
1532 It will still be used for IPv4 connections.
1535 .B \-loadidx <index file>
1536 The file from which to read the video index data saved by \-saveidx.
1537 This index will be used for seeking, overriding any index data
1538 contained in the AVI itself.
1539 MPlayer will not prevent you from loading an index file generated
1540 from a different AVI, but this is sure to cause unfavorable results.
1543 This option is obsolete now that MPlayer has OpenDML support.
1546 .B \-mc <seconds/frame>
1547 maximum A-V sync correction per frame (in seconds)
1550 .B \-mf <option1:option2:...>
1551 Used when decoding from multiple PNG or JPEG files.
1553 Available options are:
1558 input file width (default: autodetect)
1560 input file height (default: autodetect)
1562 output fps (default: 25)
1564 input file type (available: jpeg, png, tga, sgi)
1570 Force usage of non-interleaved AVI parser (fixes playback
1571 of some bad AVI files).
1574 .B \-nobps (AVI only)
1575 Do not use average byte/\:second value for A-V sync.
1576 Helps with some AVI files with broken header.
1580 Disables extension-based demuxer selection.
1581 By default, when the file type (demuxer) cannot be detected reliably
1582 (the file has no header or it is not reliable enough), the filename
1583 extension is used to select the demuxer.
1584 Always falls back on content-based demuxer selection.
1587 .B \-passwd <password> (also see \-user) (network only)
1588 Specify password for HTTP authentication.
1591 .B \-prefer\-ipv4 (network only)
1592 Use IPv4 on network connections.
1593 Falls back on IPv6 automatically.
1596 .B \-prefer\-ipv6 (IPv6 network only)
1597 Use IPv6 on network connections.
1598 Falls back on IPv4 automatically.
1601 .B \-psprobe <byte position>
1602 When playing an MPEG-PS or MPEG-PES streams, this option lets you specify
1603 how many bytes in the stream you want MPlayer to scan in order to identify
1604 the video codec used.
1605 This option is needed to play EVO or VDR files containing H.264 streams.
1608 .B \-pvr <option1:option2:...> (PVR only)
1609 This option tunes various encoding properties of the PVR capture module.
1610 It has to be used with any hardware MPEG encoder based card supported by the
1612 The Hauppauge WinTV PVR\-150/250/350/500 and all IVTV based
1613 cards are known as PVR capture cards.
1614 Be aware that only Linux 2.6.18 kernel
1615 and above is able to handle MPEG stream through V4L2 layer.
1616 For hardware capture of an MPEG stream and watching it with
1617 MPlayer, use 'pvr://' as a movie URL.
1619 Available options are:
1622 Specify input aspect ratio:
1632 .IPs arate=<32000\-48000>
1633 Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100
1636 Specify MPEG audio layer encoding (default: 2).
1637 .IPs abitrate=<32\-448>
1638 Specify audio encoding bitrate in kbps (default: 384).
1640 Specify audio encoding mode.
1641 Available preset values are 'stereo', 'joint_stereo', 'dual' and 'mono' (default: stereo).
1642 .IPs vbitrate=<value>
1643 Specify average video bitrate encoding in Mbps (default: 6).
1645 Specify video encoding mode:
1647 vbr: Variable BitRate (default)
1649 cbr: Constant BitRate
1652 Specify peak video bitrate encoding in Mbps
1653 (only useful for VBR encoding, default: 9.6).
1655 Choose an MPEG format for encoding:
1657 ps: MPEG-2 Program Stream (default)
1659 ts: MPEG-2 Transport Stream
1661 mpeg1: MPEG-1 System Stream
1663 vcd: Video CD compatible stream
1665 svcd: Super Video CD compatible stream
1667 dvd: DVD compatible stream
1673 .B \-radio <option1:option2:...> (radio only)
1674 These options set various parameters of the radio capture module.
1675 For listening to radio with MPlayer use 'radio://<frequency>'
1676 (if channels option is not given) or 'radio://<channel_number>'
1677 (if channels option is given) as a movie URL.
1678 You can see allowed frequency range by running MPlayer with '\-v'.
1679 To start the grabbing subsystem, use 'radio://<frequency or channel>/capture'.
1680 If the capture keyword is not given you can listen to radio
1681 using the line-in cable only.
1682 Using capture to listen is not recommended due to synchronization
1683 problems, which makes this process uncomfortable.
1685 Available options are:
1688 Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD).
1690 Radio driver to use (default: v4l2 if available, otherwise v4l).
1691 Currently, v4l and v4l2 drivers are supported.
1692 .IPs volume=<0..100>
1693 sound volume for radio device (default 100)
1694 .IPs "freq_min=<value> (*BSD BT848 only)"
1695 minimum allowed frequency (default: 87.50)
1696 .IPs "freq_max=<value> (*BSD BT848 only)"
1697 maximum allowed frequency (default: 108.00)
1698 .IPs channels=<frequency>\-<name>,<frequency>\-<name>,...
1700 Use _ for spaces in names (or play with quoting ;-).
1701 The channel names will then be written using OSD and the slave commands
1702 radio_step_channel and radio_set_channel will be usable for
1703 a remote control (see LIRC).
1704 If given, number in movie URL will be treated as channel position in
1708 radio://1, radio://104.4, radio_set_channel 1
1709 .IPs "adevice=<value> (radio capture only)"
1710 Name of device to capture sound from.
1711 Without such a name capture will be disabled,
1712 even if the capture keyword appears in the URL.
1713 For ALSA devices use it in the form hw=<card>.<device>.
1714 If the device name contains a '=', the module will use
1715 ALSA to capture, otherwise OSS.
1716 .IPs "arate=<value> (radio capture only)"
1717 Rate in samples per second (default: 44100).
1720 When using audio capture set also \-rawaudio rate=<value> option
1721 with the same value as arate.
1722 If you have problems with sound speed (runs too quickly), try to play
1723 with different rate values (e.g.\& 48000,44100,32000,...).
1724 .IPs "achannels=<value> (radio capture only)"
1725 Number of audio channels to capture.
1729 .B \-rawaudio <option1:option2:...>
1730 This option lets you play raw audio files.
1731 You have to use \-demuxer rawaudio as well.
1732 It may also be used to play audio CDs which are not 44kHz 16-bit stereo.
1733 For playing raw AC-3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio.
1735 Available options are:
1739 .IPs channels=<value>
1742 rate in samples per second
1743 .IPs samplesize=<value>
1744 sample size in bytes
1745 .IPs bitrate=<value>
1746 bitrate for rawaudio files
1753 .B \-rawvideo <option1:option2:...>
1754 This option lets you play raw video files.
1755 You have to use \-demuxer rawvideo as well.
1757 Available options are:
1762 rate in frames per second (default: 25.0)
1763 .IPs sqcif|qcif|cif|4cif|pal|ntsc
1764 set standard image size
1766 image width in pixels
1768 image height in pixels
1769 .IPs i420|yv12|yuy2|y8
1772 colorspace (fourcc) in hex or string constant.
1773 Use \-rawvideo format=help for a list of possible strings.
1783 .IPs "mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif"
1784 Play the famous "foreman" sample video.
1785 .IPs "mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576"
1786 Play a raw YUV sample.
1791 .B \-referrer <string> (network only)
1792 Specify a referrer path or URL for HTTP requests.
1796 Used with 'rtsp://' URLs to force the client's port number.
1797 This option may be useful if you are behind a router and want to forward
1798 the RTSP stream from the server to a specific client.
1801 .B \-rtsp\-destination
1802 Used with 'rtsp://' URLs to force the destination IP address to be bound.
1803 This option may be useful with some RTSP server which do not
1804 send RTP packets to the right interface.
1805 If the connection to the RTSP server fails, use \-v to see
1806 which IP address MPlayer tries to bind to and try to force
1807 it to one assigned to your computer instead.
1810 .B \-rtsp\-stream\-over\-tcp (LIVE555 and NEMESI only)
1811 Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCP
1812 packets be streamed over TCP (using the same TCP connection as RTSP).
1813 This option may be useful if you have a broken internet connection that does
1814 not pass incoming UDP packets (see http://www.live555.com/\:mplayer/).
1817 .B \-rtsp\-stream\-over\-http (LIVE555 only)
1818 Used with 'http://' URLs to specify that the resulting incoming RTP and RTCP
1819 packets be streamed over HTTP.
1822 .B \-saveidx <filename>
1823 Force index rebuilding and dump the index to <filename>.
1824 Currently this only works with AVI files.
1827 This option is obsolete now that MPlayer has OpenDML support.
1830 .B \-sb <byte position> (also see \-ss)
1831 Seek to byte position.
1832 Useful for playback from CD-ROM images or VOB files with junk at the beginning.
1835 .B \-speed <0.01\-100>
1836 Slow down or speed up playback by the factor given as parameter.
1840 Select the output sample rate to be used
1841 (of course sound cards have limits on this).
1842 If the sample frequency selected is different from that
1843 of the current media, the resample or lavcresample audio filter will be inserted
1844 into the audio filter layer to compensate for the difference.
1845 The type of resampling can be controlled by the \-af\-adv option.
1846 The default is fast resampling that may cause distortion.
1849 .B \-ss <time> (also see \-sb)
1850 Seek to given time position.
1856 Seeks to 56 seconds.
1857 .IPs "\-ss 01:10:00"
1858 Seeks to 1 hour 10 min.
1864 Tells MPlayer not to discard TS packets reported as broken in the stream.
1865 Sometimes needed to play corrupted MPEG-TS files.
1868 .B \-tsprobe <byte position>
1869 When playing an MPEG-TS stream, this option lets you specify how many
1870 bytes in the stream you want MPlayer to search for the desired
1871 audio and video IDs.
1874 .B \-tsprog <1\-65534>
1875 When playing an MPEG-TS stream, you can specify with this option which
1876 program (if present) you want to play.
1877 Can be used with \-vid and \-aid.
1880 .B \-tv <option1:option2:...> (TV/\:PVR only)
1881 This option tunes various properties of the TV capture module.
1882 For watching TV with MPlayer, use 'tv://' or 'tv://<channel_number>'
1883 or even 'tv://<channel_name> (see option channels for channel_name below)
1885 You can also use 'tv:///<input_id>' to start watching a
1886 movie from a composite or S-Video input (see option input for details).
1888 Available options are:
1892 .IPs "automute=<0\-255> (v4l and v4l2 only)"
1893 If signal strength reported by device is less than this value,
1894 audio and video will be muted.
1895 In most cases automute=100 will be enough.
1896 Default is 0 (automute disabled).
1898 See \-tv driver=help for a list of compiled-in TV input drivers.
1899 available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
1901 Specify TV device (default: /dev/\:video0).
1903 For the bsdbt848 driver you can provide both bktr and tuner device
1904 names separating them with a comma, tuner after
1905 bktr (e.g.\& -tv device=/dev/bktr1,/dev/tuner1).
1907 Specify input (default: 0 (TV), see console output for available inputs).
1909 Specify the frequency to set the tuner to (e.g.\& 511.250).
1910 Not compatible with the channels parameter.
1912 Specify the output format of the tuner with a preset value supported by the
1913 V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420) or an
1914 arbitrary format given as hex value.
1915 Try outfmt=help for a list of all available formats.
1919 output window height
1921 framerate at which to capture video (frames per second)
1922 .IPs buffersize=<value>
1923 maximum size of the capture buffer in megabytes (default: dynamical)
1925 For bsdbt848 and v4l, PAL, SECAM, NTSC are available.
1926 For v4l2, see the console output for a list of all available norms,
1927 also see the normid option below.
1928 .IPs "normid=<value> (v4l2 only)"
1929 Sets the TV norm to the given numeric ID.
1930 The TV norm depends on the capture card.
1931 See the console output for a list of available TV norms.
1932 .IPs channel=<value>
1933 Set tuner to <value> channel.
1934 .IPs chanlist=<value>
1935 available: argentina, australia, china-bcast, europe-east, europe-west, france,
1936 ireland, italy, japan-bcast, japan-cable, newzealand, russia, southafrica,
1937 us-bcast, us-cable, us-cable-hrc
1938 .IPs channels=<chan>\-<name>[=<norm>],<chan>\-<name>[=<norm>],...
1939 Set names for channels.
1941 If <chan> is an integer greater than 1000, it will be treated as frequency (in kHz)
1942 rather than channel name from frequency table.
1944 Use _ for spaces in names (or play with quoting ;-).
1945 The channel names will then be written using OSD, and the slave commands
1946 tv_step_channel, tv_set_channel and tv_last_channel will be usable for
1947 a remote control (see LIRC).
1948 Not compatible with the frequency parameter.
1951 The channel number will then be the position in the 'channels' list,
1955 tv://1, tv://TV1, tv_set_channel 1, tv_set_channel TV1
1956 .IPs [brightness|contrast|hue|saturation]=<\-100\-100>
1957 Set the image equalizer on the card.
1958 .IPs audiorate=<value>
1959 Set input audio sample rate.
1961 Capture audio even if there are no audio sources reported by v4l.
1965 Choose an audio mode:
1975 .IPs forcechan=<1\-2>
1976 By default, the count of recorded audio channels is determined automatically
1977 by querying the audio mode from the TV card.
1978 This option allows forcing stereo/\:mono recording regardless of the amode
1979 option and the values returned by v4l.
1980 This can be used for troubleshooting when the TV card is unable to report the
1982 .IPs adevice=<value>
1983 Set an audio device.
1984 <value> should be /dev/\:xxx for OSS and a hardware ID for ALSA.
1985 You must replace any ':' by a '.' in the hardware ID for ALSA.
1986 .IPs audioid=<value>
1987 Choose an audio output of the capture card, if it has more than one.
1988 .IPs "[volume|bass|treble|balance]=<0\-65535> (v4l1)"
1989 .IPs "[volume|bass|treble|balance]=<0\-100> (v4l2)"
1990 These options set parameters of the mixer on the video capture card.
1991 They will have no effect, if your card does not have one.
1992 For v4l2 50 maps to the default value of the
1993 control, as reported by the driver.
1994 .IPs "gain=<0\-100> (v4l2)"
1995 Set gain control for video devices (usually webcams) to the desired
1996 value and switch off automatic control.
1997 A value of 0 enables automatic control.
1998 If this option is omitted, gain control will not be modified.
1999 .IPs immediatemode=<bool>
2000 A value of 0 means capture and buffer audio and video together.
2001 A value of 1 (default) means to do video capture only and let the
2002 audio go through a loopback cable from the TV card to the sound card.
2004 Use hardware MJPEG compression (if the card supports it).
2005 When using this option, you do not need to specify the width and height
2006 of the output window, because MPlayer will determine it automatically
2007 from the decimation value (see below).
2008 .IPs decimation=<1|2|4>
2009 choose the size of the picture that will be compressed by hardware
2024 .IPs quality=<0\-100>
2025 Choose the quality of the JPEG compression
2026 (< 60 recommended for full size).
2027 .IPs tdevice=<value>
2028 Specify TV teletext device (example: /dev/\:vbi0) (default: none).
2029 .IPs tformat=<format>
2030 Specify TV teletext display format (default: 0):
2036 2: opaque with inverted colors
2038 3: transparent with inverted colors
2040 .IPs tpage=<100\-899>
2041 Specify initial TV teletext page number (default: 100).
2042 .IPs tlang=<\-1\-127>
2043 Specify default teletext language code (default: 0), which will be used
2044 as primary language until a type 28 packet is received.
2045 Useful when the teletext system uses a non-latin character set, but language
2046 codes are not transmitted via teletext type 28 packets for some reason.
2047 To see a list of supported language codes set this option to \-1.
2048 .IPs "hidden_video_renderer (dshow only)"
2049 Terminate stream with video renderer instead of Null renderer (default: off).
2050 Will help if video freezes but audio does not.
2052 May not work with \-vo directx and \-vf crop combination.
2053 .IPs "hidden_vp_renderer (dshow only)"
2054 Terminate VideoPort pin stream with video renderer
2055 instead of removing it from the graph (default: off).
2056 Useful if your card has a VideoPort pin and video is choppy.
2058 May not work with \-vo directx and \-vf crop combination.
2059 .IPs "system_clock (dshow only)"
2060 Use the system clock as sync source instead of the default graph clock
2061 (usually the clock from one of the live sources in graph).
2062 .IPs "normalize_audio_chunks (dshow only)"
2063 Create audio chunks with a time length equal to
2064 video frame time length (default: off).
2065 Some audio cards create audio chunks about 0.5s in size, resulting in
2066 choppy video when using immediatemode=0.
2070 .B \-tvscan <option1:option2:...> (TV only)
2071 Tune the TV channel scanner.
2072 MPlayer will also print value for "-tv channels=" option,
2073 including existing and just found channels.
2075 Available suboptions are:
2078 Begin channel scanning immediately after startup (default: disabled).
2079 .IPs period=<0.1\-2.0>
2080 Specify delay in seconds before switching to next channel (default: 0.5).
2081 Lower values will cause faster scanning, but can detect
2082 inactive TV channels as active.
2083 .IPs threshold=<1\-100>
2084 Threshold value for the signal strength (in percent), as reported
2085 by the device (default: 50).
2086 A signal strength higher than this value will indicate that the
2087 currently scanning channel is active.
2091 .B \-user <username> (also see \-passwd) (network only)
2092 Specify username for HTTP authentication.
2095 .B \-user\-agent <string>
2096 Use <string> as user agent for HTTP streaming.
2100 Select video channel (MPG: 0\-15, ASF: 0\-255, MPEG-TS: 17\-8190).
2101 When playing an MPEG-TS stream, MPlayer will use the first program (if present)
2102 with the chosen video stream.
2105 .B \-vivo <suboption> (DEBUG CODE)
2106 Force audio parameters for the VIVO demuxer (for debugging purposes).
2107 FIXME: Document this.
2111 .SH "OSD/SUBTITLE OPTIONS"
2113 Also see \-vf expand.
2116 .B \-ass, \-noass (FreeType only)
2117 Use libass to render all text subtitles.
2118 This enables support for the native styling of SSA/ASS subtitles,
2119 and also support for some styling features in other subtitle formats by
2120 conversion to ASS markup.
2121 Enabled by default if the player was compiled with libass support.
2124 Some of the other subtitle options were written for the old non-libass
2125 subtitle rendering system and may not work the same way or at all with
2126 libass rendering enabled.
2129 .B \-ass\-border\-color <value>
2130 Sets the border (outline) color for text subtitles.
2131 The color format is RRGGBBAA.
2134 .B \-ass\-bottom\-margin <value>
2135 Adds a black band at the bottom of the frame.
2136 The SSA/ASS renderer can place subtitles there (with \-ass\-use\-margins).
2139 .B \-ass\-color <value>
2140 Sets the color for text subtitles.
2141 The color format is RRGGBBAA.
2144 .B \-ass\-font\-scale <value>
2145 Set the scale coefficient to be used for fonts in the SSA/ASS renderer.
2148 .B \-ass\-force\-style <[Style.]Param=Value[,...]>
2149 Override some style or script info parameters.
2154 \-ass\-force\-style FontName=Arial,Default.Bold=1
2156 \-ass\-force\-style PlayResY=768
2161 .B \-ass\-hinting <type>
2169 FreeType autohinter, light mode
2171 FreeType autohinter, normal mode
2175 The same, but hinting will only be performed if the OSD is rendered at
2176 screen resolution and will therefore not be scaled.
2179 The default value is 5 (use light hinter for unscaled OSD and no hinting otherwise).
2184 .B \-ass\-line\-spacing <value>
2185 Set line spacing value for SSA/ASS renderer.
2188 .B \-ass\-styles <filename>
2189 Load all SSA/ASS styles found in the specified file and use them for
2190 rendering text subtitles.
2191 The syntax of the file is exactly like the
2192 [V4 Styles] / [V4+ Styles] section of SSA/ASS.
2195 .B \-ass\-top\-margin <value>
2196 Adds a black band at the top of the frame.
2197 The SSA/ASS renderer can place toptitles there (with \-ass\-use\-margins).
2200 .B \-ass\-use\-margins
2201 Enables placing toptitles and subtitles in black borders when they
2206 Convert the given subtitle (specified with the \-sub option) to the time-based
2207 JACOsub subtitle format.
2208 Creates a dumpsub.js file in the current directory.
2211 .B \-dumpmicrodvdsub
2212 Convert the given subtitle (specified with the \-sub option) to the
2213 MicroDVD subtitle format.
2214 Creates a dumpsub.sub file in the current directory.
2218 Convert the given subtitle (specified with the \-sub option) to MPlayer's
2219 subtitle format, MPsub.
2220 Creates a dump.mpsub file in the current directory.
2224 Convert the given subtitle (specified with the \-sub option) to the time-based
2225 SAMI subtitle format.
2226 Creates a dumpsub.smi file in the current directory.
2230 Convert the given subtitle (specified with the \-sub option) to the time-based
2231 SubViewer (SRT) subtitle format.
2232 Creates a dumpsub.srt file in the current directory.
2235 Some broken hardware players choke on SRT subtitle files with Unix
2237 If you are unlucky enough to have such a box, pass your subtitle
2238 files through unix2dos or a similar program to replace Unix line
2239 endings with DOS/Windows line endings.
2242 .B \-dumpsub (BETA CODE)
2243 Dumps the subtitle substream from VOB streams.
2244 Also see the \-dump*sub options.
2247 .B \-noembeddedfonts
2248 Disables use of fonts embedded in Matroska containers and ASS scripts (default: enabled).
2249 These fonts can be used for SSA/ASS subtitle
2250 rendering (\-ass option).
2253 .B \-ffactor <number>
2254 Resample the font alphamap.
2261 very narrow black outline (default)
2263 narrow black outline
2270 .B \-flip\-hebrew (FriBiDi only)
2271 Turns on flipping subtitles using FriBiDi.
2274 .B \-noflip\-hebrew\-commas
2275 Change FriBiDi's assumptions about the placements of commas in subtitles.
2276 Use this if commas in subtitles are shown at the start of a sentence
2277 instead of at the end.
2280 .B \-font <path to font.desc file, path to font (FreeType), font pattern (Fontconfig)>
2281 Search for the OSD/\:SUB fonts in an alternative directory (default for normal
2282 fonts: ~/\:.mplayer/\:font/\:font.desc, default for FreeType fonts:
2283 ~/.mplayer/\:subfont.ttf).
2286 With FreeType, this option determines the path to the text font file.
2287 With Fontconfig, this option determines the Fontconfig font pattern.
2292 \-font ~/\:.mplayer/\:arial-14/\:font.desc
2294 \-font ~/\:.mplayer/\:arialuni.ttf
2296 \-font 'Bitstream Vera Sans'
2298 \-font 'Bitstream Vera Sans:style=Bold'
2303 .B \-fontconfig, \-nofontconfig (fontconfig only)
2304 Enables the use of fontconfig managed fonts. Enabled by default.
2308 Display only forced subtitles for the DVD subtitle stream selected by e.g.\&
2312 .B \-fribidi\-charset <charset name> (FriBiDi only)
2313 Specifies the character set that will be passed to FriBiDi when
2314 decoding non-UTF-8 subtitles (default: ISO8859-8).
2317 .B \-ifo <VOBsub IFO file>
2318 Indicate the file that will be used to load palette and frame size for VOBsub
2323 Turns off automatic subtitle file loading.
2326 .B \-osd\-duration <time>
2327 Set the duration of the OSD messages in ms (default: 1000).
2330 .B \-osd\-fractions <0\-2>
2331 Set how fractions of seconds of the current timestamp are printed on the OSD:
2335 Do not display fractions (default).
2337 Show the first two decimals.
2339 Show approximate frame count within current second.
2340 This frame count is not accurate but only an approximation.
2341 For variable fps, the approximation is known to be far off the correct frame
2347 .B \-osdlevel <0\-3>
2348 Specifies which mode the OSD should start in.
2354 volume + seek (default)
2356 volume + seek + timer + percentage
2358 volume + seek + timer + percentage + total time
2364 Allows the next subtitle to be displayed while the current one is
2365 still visible (default is to enable the support only for specific
2369 .B \-sid <ID> (also see \-slang, \-vobsubid)
2370 Display the subtitle stream specified by <ID> (0\-31).
2371 MPlayer prints the available subtitle IDs when run in verbose (\-v) mode.
2372 If you cannot select one of the subtitles on a DVD, also try \-vobsubid.
2376 Disables any otherwise auto-selected internal subtitles (as e.g.\& the Matroska/mkv
2378 Use \-noautosub to disable the loading of external subtitle files.
2381 .B \-slang <language code[,language code,...]> (also see \-sid)
2382 Specify a priority list of subtitle languages to use.
2383 Different container formats employ different language codes.
2384 DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2
2385 three letter language codes while OGM uses a free-form identifier.
2386 MPlayer prints the available languages when run in verbose (\-v) mode.
2391 .IPs "mplayer dvd://1 \-slang hu,en"
2392 Chooses the Hungarian subtitle track on a DVD and falls back on English if
2393 Hungarian is not available.
2394 .IPs "mplayer \-slang jpn example.mkv"
2395 Plays a Matroska file with Japanese subtitles.
2401 Antialiasing/\:scaling mode for DVD/\:VOBsub.
2402 A value of 16 may be added to <mode> in order to force scaling even
2403 when original and scaled frame size already match.
2404 This can be employed to e.g.\& smooth subtitles with gaussian blur.
2405 Available modes are:
2409 none (fastest, very ugly)
2411 approximate (broken?)
2415 bilinear (default, fast and not too bad)
2417 uses swscaler gaussian blur (looks very good)
2422 .B \-spualign <\-1\-2>
2423 Specify how SPU (DVD/\:VOBsub) subtitles should be aligned.
2429 Align at top (original behavior, default).
2438 .B \-spugauss <0.0\-3.0>
2439 Variance parameter of gaussian used by \-spuaa 4.
2440 Higher means more blur (default: 1.0).
2443 .B \-sub <subtitlefile1,subtitlefile2,...>
2444 Use/\:display these subtitle files.
2445 Only one file can be displayed at the same time.
2448 .B \-sub\-bg\-alpha <0\-255>
2449 Specify the alpha channel value for subtitles and OSD backgrounds.
2450 Big values mean more transparency.
2451 0 means completely transparent.
2454 .B \-sub\-bg\-color <0\-255>
2455 Specify the color value for subtitles and OSD backgrounds.
2456 Currently subtitles are grayscale so this value is equivalent to the
2457 intensity of the color.
2458 255 means white and 0 black.
2461 .B \-sub\-demuxer <[+]name> (\-subfile only) (BETA CODE)
2462 Force subtitle demuxer type for \-subfile.
2463 Use a '+' before the name to force it, this will skip some checks!
2464 Give the demuxer name as printed by \-sub\-demuxer help.
2465 For backward compatibility it also accepts the demuxer ID as defined in
2469 .B \-sub\-fuzziness <mode>
2470 Adjust matching fuzziness when searching for subtitles:
2476 Load all subs containing movie name.
2478 Load all subs in the current directory.
2483 .B \-sub\-no\-text\-pp
2484 Disables any kind of text post processing done after loading the subtitles.
2485 Used for debug purposes.
2488 .B \-subalign <0\-2>
2489 Specify which edge of the subtitles should be aligned at the height
2494 Align subtitle top edge (original behavior).
2496 Align subtitle center.
2498 Align subtitle bottom edge (default).
2503 .B "\-subcc <1\-4>\ "
2504 Display DVD Closed Caption (CC) subtitles from the specified channel.
2507 the VOB subtitles, these are special ASCII subtitles for the
2508 hearing impaired encoded in the VOB userdata stream on most region 1 DVDs.
2509 CC subtitles have not been spotted on DVDs from other regions so far.
2512 .B \-subcp <codepage> (iconv only)
2513 If your system supports iconv(3), you can use this option to
2514 specify the subtitle codepage.
2526 .B \-subcp enca:<language>:<fallback codepage> (ENCA only)
2527 You can specify your language using a two letter language code to
2528 make ENCA detect the codepage automatically.
2529 If unsure, enter anything and watch mplayer \-v output for available
2531 Fallback codepage specifies the codepage to use, when autodetection fails.
2536 .IPs "\-subcp enca:cs:latin2"
2537 Guess the encoding, assuming the subtitles are Czech, fall back on
2538 latin 2, if the detection fails.
2539 .IPs "\-subcp enca:pl:cp1250"
2540 Guess the encoding for Polish, fall back on cp1250.
2546 Delays subtitles by <sec> seconds.
2550 .B \-subfile <filename> (BETA CODE)
2552 Same as \-audiofile, but for subtitle streams (OggDS?).
2555 .B \-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only)
2556 Sets the subtitle font (see \-font).
2557 If no \-subfont is given, \-font is used.
2560 .B \-subfont\-autoscale <0\-3> (FreeType only)
2561 Sets the autoscale mode.
2564 0 means that text scale and OSD scale are font heights in points.
2573 proportional to movie height
2575 proportional to movie width
2577 proportional to movie diagonal (default)
2582 .B \-subfont\-blur <0\-8> (FreeType only)
2583 Sets the font blur radius (default: 2).
2586 .B \-subfont\-encoding <value> (FreeType only)
2587 Sets the font encoding.
2588 When set to 'unicode', all the glyphs from the font file will be rendered and
2589 unicode will be used (default: unicode).
2592 .B \-subfont\-osd\-scale <0\-100> (FreeType only)
2593 Sets the autoscale coefficient of the OSD elements (default: 6).
2596 .B \-subfont\-outline <0\-8> (FreeType only)
2597 Sets the font outline thickness (default: 2).
2600 .B \-subfont\-text\-scale <0\-100> (FreeType only)
2601 Sets the subtitle text autoscale coefficient as percentage of the
2602 screen size (default: 5).
2606 Specify the framerate of the subtitle file (default: movie fps).
2609 <rate> > movie fps speeds the subtitles up for frame-based subtitle files and
2610 slows them down for time-based ones.
2613 .B \-subpos <0\-100> (useful with \-vf expand)
2614 Specify the position of subtitles on the screen.
2615 The value is the vertical position of the subtitle in % of the screen height.
2618 .B \-subwidth <10\-100>
2619 Specify the maximum width of subtitles on the screen.
2621 The value is the width of the subtitle in % of the screen width.
2625 Disable the display of OSD messages on the console when no video output is
2629 .B \-term\-osd\-esc <escape sequence>
2630 Specify the escape sequence to use before writing an OSD message on the
2632 The escape sequence should move the pointer to the beginning of the line
2633 used for the OSD and clear it (default: ^[[A\\r^[[K).
2637 Tells MPlayer to handle the subtitle file as unicode.
2640 .B \-unrarexec <path to unrar executable> (not supported on MingW)
2641 Specify the path to the unrar executable so MPlayer can use it to access
2642 rar-compressed VOBsub files (default: not set, so the feature is off).
2643 The path must include the executable's filename, i.e.\& /usr/local/bin/unrar.
2647 Tells MPlayer to handle the subtitle file as UTF-8.
2650 .B \-vobsub <VOBsub file without extension>
2651 Specify a VOBsub file to use for subtitles.
2652 Has to be the full pathname without extension, i.e.\& without
2653 the '.idx', '.ifo' or '.sub'.
2656 .B \-vobsubid <0\-31>
2657 Specify the VOBsub subtitle ID.
2661 .SH "AUDIO OUTPUT OPTIONS"
2664 .B \-abs <value> (\-ao oss only) (OBSOLETE)
2665 Override audio driver/\:card buffer size detection.
2668 .B \-format <format> (also see the format audio filter)
2669 Select the sample format used for output from the audio filter
2670 layer to the sound card.
2671 The values that <format> can adopt are listed below in the
2672 description of the format audio filter.
2676 Try to play consecutive audio files with no silence or disruption
2677 at the point of file change.
2678 This feature is implemented in a simple manner and relies on audio output
2679 device buffering to continue playback while moving from one file to another.
2680 If playback of the new file starts slowly, for example because it's played from
2681 a remote network location or because you have specified cache settings that
2682 require time for the initial cache fill, then the buffered audio may run out
2683 before playback of the new file can start.
2687 Use a mixer device different from the default /dev/\:mixer.
2688 For ALSA this is the mixer name.
2691 .B \-mixer\-channel <mixer line>[,mixer index] (\-ao oss and \-ao alsa only)
2692 This option will tell MPlayer to use a different channel for controlling
2693 volume than the default PCM.
2694 Options for OSS include
2696 For a complete list of options look for SOUND_DEVICE_NAMES in
2697 /usr/\:include/\:linux/\:soundcard.h.
2698 For ALSA you can use the names e.g.\& alsamixer displays, like
2699 .B Master, Line, PCM.
2702 ALSA mixer channel names followed by a number must be specified in the
2703 <name,number> format, i.e.\& a channel labeled 'PCM 1' in alsamixer must
2709 Force the use of the software mixer, instead of using the sound card
2713 .B \-softvol\-max <10.0\-10000.0>
2714 Set the maximum amplification level in percent (default: 110).
2715 A value of 200 will allow you to adjust the volume up to a maximum of
2716 double the current level.
2717 With values below 100 the initial volume (which is 100%) will be above
2718 the maximum, which e.g.\& the OSD cannot display correctly.
2721 .B \-volstep <0\-100>
2722 Set the step size of mixer volume changes in percent of the whole range
2726 .B \-volume <-1\-100> (also see \-af volume)
2727 Set the startup volume in the mixer, either hardware or software (if
2728 used with \-softvol).
2729 A value of -1 (the default) will not change the volume.
2733 .SH "AUDIO OUTPUT DRIVERS"
2734 Audio output drivers are interfaces to different audio output facilities.
2738 .B \-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
2739 Specify a priority list of audio output drivers to be used.
2741 If the list has a trailing ',' MPlayer will fall back on drivers not
2742 contained in the list.
2743 Suboptions are optional and can mostly be omitted.
2746 See \-ao help for a list of compiled-in audio output drivers.
2751 .IPs "\-ao alsa,oss,"
2752 Try the ALSA driver, then the OSS driver, then others.
2753 .IPs "\-ao alsa:noblock:device=hw=0.3"
2754 Sets noblock-mode and the device-name as first card, fourth device.
2758 Available audio output drivers are:
2762 ALSA 0.9/1.x audio output driver
2767 .IPs device=<device>
2768 Sets the device name.
2769 Replace any ',' with '.' and any ':' with '=' in the ALSA device name.
2770 For hwac3 output via S/PDIF, use an "iec958" or "spdif" device, unless
2771 you really know how to set it correctly.
2777 ALSA 0.5 audio output driver
2781 OSS audio output driver
2785 Sets the audio output device (default: /dev/\:dsp).
2787 Sets the audio mixer device (default: /dev/\:mixer).
2788 .IPs <mixer-channel>
2789 Sets the audio mixer channel (default: pcm).
2795 highly platform independent SDL (Simple Directmedia Layer) library
2800 Explicitly choose the SDL audio driver to use (default: let SDL choose).
2806 audio output through the aRts daemon
2810 audio output through the ESD daemon
2814 Explicitly choose the ESD server to use (default: localhost).
2820 audio output through JACK (Jack Audio Connection Kit)
2824 Connects to the ports with the given name (default: physical ports).
2825 .IPs name=<client name>
2826 Client name that is passed to JACK (default: MPlayer [<PID>]).
2827 Useful if you want to have certain connections established automatically.
2829 Estimate the audio delay, supposed to make the video playback smoother
2832 Automatically start jackd if necessary (default: disabled).
2833 Note that this seems unreliable and will spam stdout with server messages.
2839 audio output through NAS
2842 .B coreaudio (Mac OS X only)
2843 native Mac OS X audio output driver
2847 ID of output device to use (0 = default device)
2849 List all available output devices with their IDs.
2855 Experimental OpenAL audio output driver
2859 PulseAudio audio output driver
2862 .IPs "[<host>][:<output sink>]"
2863 Specify the host and optionally output sink to use.
2864 An empty <host> string uses a local connection, "localhost"
2865 uses network transfer (most likely not what you want).
2871 native SGI audio output driver
2874 .IPs "<output device name>"
2875 Explicitly choose the output device/\:interface to use
2876 (default: system-wide default).
2877 For example, 'Analog Out' or 'Digital Out'.
2883 native Sun audio output driver
2887 Explicitly choose the audio device to use (default: /dev/\:audio).
2892 .B win32 (Windows only)
2893 native Windows waveout audio output driver
2896 .B dsound (Windows only)
2897 DirectX DirectSound audio output driver
2900 .IPs device=<devicenum>
2901 Sets the device number to use.
2902 Playing a file with \-v will show a list of available devices.
2908 OS/2 KAI audio output driver
2916 Open audio in shareable or exclusive mode.
2918 Set buffer size to <size> in samples (default: 2048).
2924 OS/2 DART audio output driver
2928 Open DART in shareable or exclusive mode.
2930 Set buffer size to <size> in samples (default: 2048).
2936 IVTV specific MPEG audio output driver.
2937 Works with \-ac hwmpa only.
2940 .B v4l2 (requires Linux 2.6.22+ kernel)
2941 Audio output driver for V4L2 cards with hardware MPEG decoder.
2944 .B mpegpes (DVB only)
2945 Audio output driver for DVB cards that writes the output to an MPEG-PES
2946 file if no DVB card is installed.
2950 DVB card to use if more than one card is present.
2951 If not specified MPlayer will search the first usable card.
2952 .IPs file=<filename>
2959 Produces no audio output but maintains video playback speed.
2960 Use \-nosound for benchmarking.
2964 raw PCM/wave file writer audio output
2968 Include or do not include the wave header (default: included).
2969 When not included, raw PCM will be generated.
2970 .IPs file=<filename>
2971 Write the sound to <filename> instead of the default
2973 If nowaveheader is specified, the default is audiodump.pcm.
2975 Try to dump faster than realtime.
2976 Make sure the output does not get truncated (usually with
2977 "Too many video packets in buffer" message).
2978 It is normal that you get a "Your system is too SLOW to play this!" message.
2984 plugin audio output driver
2988 .SH "VIDEO OUTPUT OPTIONS"
2991 .B \-adapter <value>
2992 Set the graphics card that will receive the image.
2993 You can get a list of available cards when you run this option with \-v.
2994 Currently only works with the directx video output driver.
2998 Override the autodetected color depth.
2999 Only supported by the fbdev, dga, svga, vesa video output drivers.
3003 Play movie with window border and decorations.
3004 Since this is on by default, use \-noborder to disable the standard window
3008 .B \-brightness <\-100\-100>
3009 Adjust the brightness of the video signal (default: 0).
3010 Not supported by all video output drivers.
3013 .B \-contrast <\-100\-100>
3014 Adjust the contrast of the video signal (default: 0).
3015 Not supported by all video output drivers.
3018 .B \-display <name> (X11 only)
3019 Specify the hostname and display number of the X server you want to display
3025 \-display xtest.localdomain:0
3031 Turns on direct rendering (not supported by all codecs and video outputs)
3034 May cause OSD/SUB corruption!
3037 .B \-fbmode <modename> (\-vo fbdev only)
3038 Change video mode to the one that is labeled as <modename> in
3042 VESA framebuffer does not support mode changing.
3045 .B \-fbmodeconfig <filename> (\-vo fbdev only)
3046 Override framebuffer mode configuration file (default: /etc/\:fb.modes).
3049 .B \-force\-window\-position
3050 Forcefully move MPlayer's video output window to default location whenever
3051 there is a change in video parameters, video stream or file.
3052 This used to be the default behavior.
3053 Currently only affects X11 VOs.
3056 .B \-fs (also see \-zoom)
3057 Fullscreen playback (centers movie, and paints black bands around it).
3058 Not supported by all video output drivers.
3061 .B \-fsmode\-dontuse <0\-31> (OBSOLETE, use the \-fs option)
3062 Try this option if you still experience fullscreen problems.
3065 .B \-fstype <type1,type2,...> (X11 only)
3066 Specify a priority list of fullscreen modes to be used.
3067 You can negate the modes by prefixing them with '\-'.
3068 If you experience problems like the fullscreen window being covered
3069 by other windows try using a different order.
3072 See \-fstype help for a full list of available modes.
3074 The available types are:
3079 Use the _NETWM_STATE_ABOVE hint if available.
3081 Use the _NETWM_STATE_BELOW hint if available.
3083 Use the _NETWM_STATE_FULLSCREEN hint if available.
3085 Use the _WIN_LAYER hint with the default layer.
3087 Use the _WIN_LAYER hint with the given layer number.
3091 Clear the list of modes; you can add modes to enable afterward.
3093 Use _NETWM_STATE_STAYS_ON_TOP hint if available.
3101 .IPs layer,stays_on_top,above,fullscreen
3102 Default order, will be used as a fallback if incorrect or
3103 unsupported modes are specified.
3105 Fixes fullscreen switching on OpenBox 1.x.
3110 .B \-gamma <\-100\-100>
3111 Adjust the gamma of the video signal (default: 0).
3112 Not supported by all video output drivers.
3115 .B \-geometry x[%][:y[%]] or [WxH][+-x+-y]
3116 Adjust where the output is on the screen initially.
3117 The x and y specifications are in pixels measured from the top-left of the
3118 screen to the top-left of the image being displayed, however if a percentage
3119 sign is given after the argument it turns the value into a percentage of the
3120 screen size in that direction.
3121 It also supports the standard X11 \-geometry option format, in which e.g.
3122 +10-50 means "place 10 pixels from the left border and 50 pixels from the lower
3123 border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels
3124 beyond the top border".
3125 If an external window is specified using the \-wid option, then the x and
3126 y coordinates are relative to the top-left corner of the window rather
3128 The coordinates are relative to the screen given with \-xineramascreen for
3129 the video output drivers that fully support \-xineramascreen (direct3d, gl, gl2,
3130 vdpau, x11, xv, xvmc, corevideo).
3133 May not be supported by some of the older VO drivers.
3139 Places the window at x=50, y=40.
3141 Places the window in the middle of the screen.
3143 Places the window at the middle of the right edge of the screen.
3145 Places the window at the bottom right corner of the screen.
3150 .B \-hue <\-100\-100>
3151 Adjust the hue of the video signal (default: 0).
3152 You can get a colored negative of the image with this option.
3153 Not supported by all video output drivers.
3156 .B \-monitor\-dotclock <range[,range,...]> (\-vo fbdev and vesa only)
3157 Specify the dotclock or pixelclock range of the monitor.
3160 .B \-monitor\-hfreq <range[,range,...]> (\-vo fbdev and vesa only)
3161 Specify the horizontal frequency range of the monitor.
3164 .B \-monitor\-vfreq <range[,range,...]> (\-vo fbdev and vesa only)
3165 Specify the vertical frequency range of the monitor.
3168 .B \-monitoraspect <ratio> (also see \-aspect)
3169 Set the aspect ratio of your monitor or TV screen.
3170 A value of 0 disables a previous setting (e.g.\& in the config file).
3171 Overrides the \-monitorpixelaspect setting if enabled.
3176 \-monitoraspect 4:3 or 1.3333
3178 \-monitoraspect 16:9 or 1.7777
3183 .B \-monitorpixelaspect <ratio> (also see \-aspect)
3184 Set the aspect of a single pixel of your monitor or TV screen (default: 1).
3185 A value of 1 means square pixels
3186 (correct for (almost?) all LCDs).
3189 .B \-name (X11 only)
3190 Set the window class name.
3194 Disables double buffering, mostly for debugging purposes.
3195 Double buffering fixes flicker by storing two frames in memory, and
3196 displaying one while decoding another.
3197 It can affect OSD negatively, but often removes OSD flickering.
3201 Do not grab the mouse pointer after a video mode change (\-vm).
3202 Useful for multihead setups.
3206 Do not keep window aspect ratio when resizing windows.
3207 By default MPlayer tries to keep the correct video aspect ratio by
3208 instructing the window manager to maintain window aspect when resizing,
3209 and by adding black bars if the window manager nevertheless allows
3210 window shape to change.
3211 This option disables window manager aspect hints and scales the video
3212 to completely fill the window without regard for aspect ratio.
3216 Makes the player window stay on top of other windows.
3217 Supported by video output drivers which use X11, except SDL,
3218 as well as directx, corevideo, quartz, ggi and gl2.
3221 .B \-panscan <0.0\-1.0>
3222 Enables pan-and-scan functionality (cropping the sides of e.g.\& a 16:9
3223 movie to make it fit a 4:3 display without black bands).
3224 The range controls how much of the image is cropped.
3225 May not work with all video output drivers.
3228 Values between \-1 and 0 are allowed as well, but highly experimental
3229 and may crash or worse.
3230 Use at your own risk!
3233 .B \-panscanrange <\-19.0\-99.0> (experimental)
3234 Change the range of the pan-and-scan functionality (default: 1).
3235 Positive values mean multiples of the default range.
3236 Negative numbers mean you can zoom in up to a factor of \-panscanrange+1.
3237 E.g.\& \-panscanrange \-3 allows a zoom factor of up to 4.
3238 This feature is experimental.
3239 Do not report bugs unless you are using \-vo gl.
3242 .B \-refreshrate <Hz>
3243 Set the monitor refreshrate in Hz.
3244 Currently only supported by \-vo directx combined with the \-vm option.
3248 Play movie in the root window (desktop background).
3249 Desktop background images may cover the movie window, though.
3250 May not work with all video output drivers.
3253 .B \-saturation <\-100\-100>
3254 Adjust the saturation of the video signal (default: 0).
3255 You can get grayscale output with this option.
3256 Not supported by all video output drivers.
3259 .B \-screenh <pixels>
3260 Specify the screen height for video output drivers which
3261 do not know the screen resolution like fbdev, x11 and TV-out.
3264 .B \-screenw <pixels>
3265 Specify the screen width for video output drivers which
3266 do not know the screen resolution like fbdev, x11 and TV-out.
3269 .B \-stop\-xscreensaver (X11 only)
3270 Turns off xscreensaver at startup and turns it on again on exit.
3271 If your screensaver supports neither the XSS nor XResetScreenSaver
3272 API please use \-heartbeat\-cmd instead.
3275 .B \-title (also see \-use\-filename\-title)
3276 Set the window title.
3277 Supported by X11-based video output drivers.
3280 .B \-use\-filename\-title (also see \-title)
3281 Set the window title using the media filename, when not set with \-title.
3282 Supported by X11-based video output drivers.
3286 Try to change to a different video mode.
3287 Supported by the dga, x11, xv, sdl and directx video output drivers.
3288 If used with the directx video output driver the \-screenw,
3289 \-screenh, \-bpp and \-refreshrate options can be used to set
3290 the new display mode.
3294 Enables VBI for the vesa, dfbmga and svga video output drivers.
3297 .B \-wid <window ID> (X11, OpenGL and DirectX only)
3298 This tells MPlayer to attach to an existing window.
3299 Useful to embed MPlayer in a browser (e.g.\& the plugger extension).
3300 This option fills the given window completely, thus aspect scaling,
3301 panscan, etc are no longer handled by MPlayer but must be managed by the
3302 application that created the window.
3305 .B \-xineramascreen <\-2\-...>
3306 In Xinerama configurations (i.e.\& a single desktop that spans across multiple
3307 displays) this option tells MPlayer which screen to display the movie on.
3308 A value of \-2 means fullscreen across the whole virtual display (in this case
3309 Xinerama information is completely ignored), \-1 means
3310 fullscreen on the display the window currently is on.
3311 The initial position set via the \-geometry option is relative to the
3313 Will usually only work with "\-fstype \-fullscreen" or "\-fstype none".
3314 This option is not suitable to only set the startup screen (because
3315 it will always display on the given screen in fullscreen mode),
3316 \-geometry is the best that is available for that purpose
3318 Supported by at least the direct3d, gl, gl2, x11, xv and corevideo video output
3323 .SH "VIDEO OUTPUT DRIVERS"
3324 Video output drivers are interfaces to different video output facilities.
3328 .B \-vo <driver1[:suboption1[=value]:...],driver2,...[,]>
3329 Specify a priority list of video output drivers to be used.
3331 If the list has a trailing ',' MPlayer will fall back on drivers not
3332 contained in the list.
3333 Suboptions are optional and can mostly be omitted.
3336 See \-vo help for a list of compiled-in video output drivers.
3341 .IPs "\-vo xmga,xv,"
3342 Try the Matrox X11 driver, then the Xv driver, then others.
3343 .IPs "\-vo directx:noaccel"
3344 Uses the DirectX driver with acceleration features turned off.
3348 Available video output drivers are:
3352 Uses the XVideo extension of XFree86 4.x to enable hardware
3353 accelerated playback.
3354 If you cannot use a hardware specific driver, this is probably
3356 For information about what colorkey is used and how it is drawn run MPlayer
3357 with \-v option and look out for the lines tagged with [xv common] at the
3361 .IPs adaptor=<number>
3362 Select a specific XVideo adaptor (check xvinfo results).
3364 Select a specific XVideo port.
3365 .IPs ck=<cur|use|set>
3366 Select the source from which the colorkey is taken (default: cur).
3369 The default takes the colorkey currently set in Xv.
3371 Use but do not set the colorkey from MPlayer (use \-colorkey option to change
3374 Same as use but also sets the supplied colorkey.
3376 .IPs ck-method=<man|bg|auto>
3377 Sets the colorkey drawing method (default: man).
3380 Draw the colorkey manually (reduces flicker in some cases).
3382 Set the colorkey as window background.
3384 Let Xv draw the colorkey.
3391 Shared memory video output driver without hardware acceleration that
3392 works whenever X11 is present.
3396 Adds X11 support to all overlay based video output drivers.
3397 Currently only supported by tdfx_vid.
3401 Select the driver to use as source to overlay on top of X11.
3407 Uses the VDPAU interface to display and optionally also decode video.
3408 Hardware decoding is used with \-vc ffmpeg12vdpau, ffwmv3vdpau, ffvc1vdpau, ffh264vdpau or ffodivxvdpau.
3411 .IPs sharpen=<\-1\-1>
3412 For positive values, apply a sharpening algorithm to the video,
3413 for negative values a blurring algorithm (default: 0).
3415 Apply a noise reduction algorithm to the video (default: 0, no noise reduction).
3417 Select deinterlacing mode (default: -3).
3418 Positive values choose mode and enable deinterlacing.
3419 Corresponding negative values select the same deinterlacing mode,
3420 but do not enable deinterlacing on startup (useful in configuration files
3421 to specify what mode will be enabled by the "D" key).
3422 All modes respect \-field\-dominance.
3427 Show only first field, similar to \-vf field.
3429 Bob deinterlacing, similar to \-vf tfields=1.
3431 motion adaptive temporal deinterlacing.
3432 May lead to A/V desync with slow video hardware and/or high resolution.
3434 motion adaptive temporal deinterlacing with edge-guided spatial interpolation.
3435 Needs fast video hardware.
3438 Makes temporal deinterlacers operate both on luma and chroma (default).
3439 Use nochroma\-deint to solely use luma and speed up advanced deinterlacing.
3440 Useful with slow video memory.
3442 Try to apply inverse telecine, needs motion adaptive temporal deinterlacing.
3443 .IPs colorspace=<0-3>
3444 Select the color space for YUV to RGB conversion.
3445 In general BT.601 should be used for standard definition (SD) content and
3446 BT.709 for high definition (HD) content.
3447 Using incorrect color space results in slightly under or over saturated and
3451 Guess the color space based on video resolution.
3452 Video with width >= 1280 or height > 576 is assumed to be HD and BT.709 color
3455 Use ITU-R BT.601 color space (default).
3457 Use ITU-R BT.709 color space.
3459 Use SMPTE-240M color space.
3461 .IPs hqscaling=<0-9>
3464 Use default VDPAU scaling (default).
3466 Apply high quality VDPAU scaling (needs capable hardware).
3469 Output video in studio level RGB (16-235).
3470 This is what TVs and video monitors generally expect.
3471 By default PC level RGB (0-255) suitable for PC monitors is used.
3472 Providing studio level output to a device expecting PC level input results in
3473 grey blacks and dim whites, the reverse in crushed blacks and whites.
3475 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).
3476 Default 0 means use autodetected value.
3477 A positive value is interpreted as a refresh rate in Hz and overrides the autodetected value.
3478 A negative value disables all timing adjustment and framedrop logic.
3479 .IPs queuetime_windowed=<number>
3480 .IPs queuetime_fs=<number>
3481 Use VDPAU's presentation queue functionality to queue future video frame
3482 changes at most this many milliseconds in advance (default: 50).
3483 See below for additional information.
3484 .IPs output_surfaces=<2-15>
3485 Allocate this many output surfaces to display video frames (default: 3).
3486 See below for additional information.
3490 Using the VDPAU frame queueing functionality controlled by the queuetime
3491 options makes MPlayer's frame flip timing less sensitive to system CPU load
3492 and allows MPlayer to start decoding the next frame(s) slightly earlier
3493 which can reduce jitter caused by individual slow-to-decode frames.
3494 However the NVIDIA graphics drivers can make other window behavior such as
3495 window moves choppy if VDPAU is using the blit queue (mainly happens
3496 if you have the composite extension enabled) and this feature is active.
3497 If this happens on your system and it bothers you then you can set the
3498 queuetime value to 0 to disable this feature.
3499 The settings to use in windowed and fullscreen mode are separate because there
3500 should be less reason to disable this for fullscreen mode (as the driver issue
3501 shouldn't affect the video itself).
3503 You can queue more frames ahead by increasing the queuetime values and the
3504 output_surfaces count (to ensure enough surfaces to buffer video for a
3505 certain time ahead you need at least as many surfaces as the video has
3506 frames during that time, plus two).
3507 This could help make video smoother in some cases.
3508 The main downsides are increased video RAM requirements for the surfaces
3509 and laggier display response to user commands (display changes only become
3510 visible some time after they're queued). The graphics driver implementation may
3511 also have limits on the length of maximum queuing time or number of queued
3512 surfaces that work well or at all.
3517 .B xvmc (X11 with \-vc ffmpeg12mc only)
3518 Video output driver that uses the XvMC (X Video Motion Compensation)
3519 extension of XFree86 4.x to speed up MPEG-1/2 and VCR2 decoding.
3522 .IPs adaptor=<number>
3523 Select a specific XVideo adaptor (check xvinfo results).
3525 Select a specific XVideo port.
3527 Disables image display.
3528 Necessary for proper benchmarking of drivers that change
3529 image buffers on monitor retrace only (nVidia).
3530 Default is not to disable image display (nobenchmark).
3532 Very simple deinterlacer.
3533 Might not look better than \-vf tfields=1,
3534 but it is the only deinterlacer for xvmc (default: nobobdeint).
3536 Queue frames for display to allow more parallel work of the video hardware.
3537 May add a small (not noticeable) constant A/V desync (default: noqueue).
3539 Use sleep function while waiting for rendering to finish
3540 (not recommended on Linux) (default: nosleep).
3542 Same as \-vo xv:ck (see \-vo xv).
3543 .IPs ck-method=man|bg|auto
3544 Same as \-vo xv:ck-method (see \-vo xv).
3550 Play video through the XFree86 Direct Graphics Access extension.
3551 Considered obsolete.
3554 .B sdl (SDL only, buggy/outdated)
3555 Highly platform independent SDL (Simple Directmedia Layer) library
3556 video output driver.
3557 Since SDL uses its own X11 layer, MPlayer X11 options do not have
3559 Note that it has several minor bugs (\-vm/\-novm is mostly ignored,
3560 \-fs behaves like \-novm should, window is in top-left corner when
3561 returning from fullscreen, panscan is not supported, ...).
3564 .IPs driver=<driver>
3565 Explicitly choose the SDL driver to use.
3567 Use XVideo through the sdl video output driver (default: forcexv).
3569 Use hardware accelerated scaler (default: hwaccel).
3574 .B direct3d (Windows only) (BETA CODE!)
3575 Video output driver that uses the Direct3D interface (useful for Vista).
3578 .B directx (Windows only)
3579 Video output driver that uses the DirectX interface.
3583 Turns off hardware acceleration.
3584 Try this option if you have display problems.
3590 Video output driver that uses the libkva interface.
3596 Force WarpOverlay! mode.
3600 Enable or disable workaround for T23 laptop (default: disabled).
3601 Try to enable this option if your video card supports upscaling only.
3606 .B quartz (Mac OS X only)
3607 Mac OS X Quartz video output driver.
3608 Under some circumstances, it might be more efficient to force a
3609 packed YUV output format, with e.g.\& \-vf format=yuy2.
3612 .IPs device_id=<number>
3613 Choose the display device to use in fullscreen.
3614 .IPs fs_res=<width>:<height>
3615 Specify the fullscreen resolution (useful on slow systems).
3620 .B corevideo (Mac OS X 10.4 or 10.3.9 with QuickTime 7)
3621 Mac OS X CoreVideo video output driver
3624 .IPs device_id=<number>
3625 Choose the display device to use for fullscreen or set it to \-1 to
3626 always use the same screen the video window is on (default: \-1 \- auto).
3628 Write output to a shared memory buffer instead of displaying it and
3629 try to open an existing NSConnection for communication with a GUI.
3630 .IPs buffer_name=<name>
3631 Name of the shared buffer created with shm_open as well as the name of
3632 the NSConnection MPlayer will try to open (default: "mplayerosx").
3633 Setting buffer_name implicitly enables shared_buffer.
3638 .B fbdev (Linux only)
3639 Uses the kernel framebuffer to play video.
3643 Explicitly choose the fbdev device name to use (e.g.\& /dev/\:fb0).
3648 .B fbdev2 (Linux only)
3649 Uses the kernel framebuffer to play video,
3650 alternative implementation.
3654 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
3660 Very general video output driver that should work on any VESA VBE 2.0
3665 Turns DGA mode on or off (default: on).
3667 Activate the NeoMagic TV out and set it to PAL norm.
3669 Activate the NeoMagic TV out and set it to NTSC norm.
3671 Activate the Linux Video Overlay on top of VESA mode.
3677 Play video using the SVGA library.
3681 Specify video mode to use.
3682 The mode can be given in a <width>x<height>x<colors> format,
3683 e.g.\& 640x480x16M or be a graphics mode number, e.g.\& 84.
3685 Draw OSD into black bands below the movie (slower).
3687 Use only native drawing functions.
3688 This avoids direct rendering, OSD and hardware acceleration.
3690 Force frame switch on vertical retrace.
3691 Usable only with \-double.
3692 It has the same effect as the \-vsync option.
3694 Try to select a video mode with square pixels.
3700 OpenGL video output driver, simple version.
3701 Video size must be smaller than
3702 the maximum texture size of your OpenGL implementation.
3703 Intended to work even with the most basic OpenGL implementations,
3704 but also makes use of newer extensions, which allow support for more
3705 colorspaces and direct rendering.
3706 For optimal speed try adding the options
3710 The code performs very few checks, so if a feature does not work, this
3711 might be because it is not supported by your card/OpenGL implementation
3712 even if you do not get any error message.
3713 Use glxinfo or a similar tool to display the supported OpenGL extensions.
3717 ATI drivers may give a corrupted image when PBOs are used (when using \-dr
3719 This option fixes this, at the expense of using a bit more memory.
3721 Always uses PBOs to transfer textures even if this involves an extra copy.
3722 Currently this gives a little extra speed with NVidia drivers and a lot more
3723 speed with ATI drivers.
3724 May need \-noslices and the ati\-hack suboption to work correctly.
3726 Changes the way the OSD behaves when the size of the
3727 window changes (default: disabled).
3728 When enabled behaves more like the other video output drivers,
3729 which is better for fixed-size fonts.
3730 Disabled looks much better with FreeType fonts and uses the
3731 borders in fullscreen mode.
3732 Does not work correctly with ass subtitles (see \-ass), you can instead
3733 render them without OpenGL support via \-vf ass.
3734 .IPs osdcolor=<0xAARRGGBB>
3735 Color for OSD (default: 0x00ffffff, corresponds to non-transparent white).
3736 .IPs rectangle=<0,1,2>
3737 Select usage of rectangular textures which saves video RAM, but often is
3738 slower (default: 0).
3740 0: Use power-of-two textures (default).
3742 1: Use the GL_ARB_texture_rectangle extension.
3744 2: Use the GL_ARB_texture_non_power_of_two extension.
3745 In some cases only supported in software and thus very slow.
3747 .IPs swapinterval=<n>
3748 Minimum interval between two buffer swaps, counted in
3749 displayed frames (default: 1).
3750 1 is equivalent to enabling VSYNC, 0 to disabling VSYNC.
3751 Values below 0 will leave it at the system default.
3752 This limits the framerate to (horizontal refresh rate / n).
3753 Requires GLX_SGI_swap_control support to work.
3754 With some (most/all?) implementations this only works in fullscreen mode.
3756 Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB.
3757 In most cases this is probably slower than doing software conversion to RGB.
3759 Select the type of YUV to RGB conversion.
3760 The default is auto-detection deciding between values 0 and 2.
3762 0: Use software conversion.
3763 Compatible with all OpenGL versions.
3764 Provides brightness, contrast and saturation control.
3766 1: Use register combiners.
3767 This uses an nVidia-specific extension (GL_NV_register_combiners).
3768 At least three texture units are needed.
3769 Provides saturation and hue control.
3770 This method is fast but inexact.
3772 2: Use a fragment program.
3773 Needs the GL_ARB_fragment_program extension and at least three texture units.
3774 Provides brightness, contrast, saturation and hue control.
3776 3: Use a fragment program using the POW instruction.
3777 Needs the GL_ARB_fragment_program extension and at least three texture units.
3778 Provides brightness, contrast, saturation, hue and gamma control.
3779 Gamma can also be set independently for red, green and blue.
3780 Method 4 is usually faster.
3782 4: Use a fragment program with additional lookup.
3783 Needs the GL_ARB_fragment_program extension and at least four texture units.
3784 Provides brightness, contrast, saturation, hue and gamma control.
3785 Gamma can also be set independently for red, green and blue.
3787 5: Use ATI-specific method (for older cards).
3788 This uses an ATI-specific extension (GL_ATI_fragment_shader \- not
3789 GL_ARB_fragment_shader!).
3790 At least three texture units are needed.
3791 Provides saturation and hue control.
3792 This method is fast but inexact.
3794 6: Use a 3D texture to do conversion via lookup.
3795 Needs the GL_ARB_fragment_program extension and at least four texture units.
3796 Extremely slow (software emulation) on some (all?) ATI cards since it uses
3797 a texture with border pixels.
3798 Provides brightness, contrast, saturation, hue and gamma control.
3799 Gamma can also be set independently for red, green and blue.
3800 Speed depends more on GPU memory bandwidth than other methods.
3803 Select the color space for YUV to RGB conversion.
3806 Use the formula used normally by MPlayer (default).
3808 Use ITU-R BT.601 color space.
3810 Use ITU-R BT.709 color space.
3812 Use SMPTE-240M color space.
3815 Select the brightness level conversion to use for the YUV to RGB conversion
3818 Convert TV to PC levels (default).
3820 Convert PC to TV levels.
3822 Do not do any conversion.
3825 Select the scaling function to use for luminance scaling.
3826 Only valid for yuv modes 2, 3, 4 and 6.
3828 0: Use simple linear filtering (default).
3830 1: Use bicubic B-spline filtering (better quality).
3831 Needs one additional texture unit.
3832 Older cards will not be able to handle this for chroma at least in fullscreen mode.
3834 2: Use cubic filtering in horizontal, linear filtering in vertical direction.
3835 Works on a few more cards than method 1.
3837 3: Same as 1 but does not use a lookup texture.
3838 Might be faster on some cards.
3840 4: Use experimental unsharp masking with 3x3 support and a default strength of 0.5 (see filter-strength).
3842 5: Use experimental unsharp masking with 5x5 support and a default strength of 0.5 (see filter-strength).
3845 Select the scaling function to use for chrominance scaling.
3846 For details see lscale.
3847 .IPs filter-strength=<value>
3848 Set the effect strength for the lscale/cscale filters that support it.
3850 Select a method for stereo display.
3851 You may have to use -aspect to fix the aspect value.
3852 Experimental, do not expect too much from it.
3854 0: Normal 2D display
3856 1: left-right split input to full-color red-cyan stereo.
3858 2: left-right split input to full-color red-cyan stereo.
3860 3: left-right split input to quadbuffered stereo.
3861 Only supported by very few OpenGL cards.
3866 The following options are only useful if writing your own fragment programs.
3870 .IPs customprog=<filename>
3871 Load a custom fragment program from <filename>.
3872 See TOOLS/edgedect.fp for an example.
3873 .IPs customtex=<filename>
3874 Load a custom "gamma ramp" texture from <filename>.
3875 This can be used in combination with yuv=4 or with the customprog option.
3877 If enabled (default) use GL_LINEAR interpolation, otherwise use GL_NEAREST
3878 for customtex texture.
3879 .IPs (no)customtrect
3880 If enabled, use texture_rectangle for customtex texture.
3881 Default is disabled.
3883 If enabled, mipmaps for the video are automatically generated.
3884 This should be useful together with the customprog and the TXB
3885 instruction to implement blur filters with a large radius.
3886 For most OpenGL implementations this is very slow for any non-RGB
3888 Default is disabled.
3892 Normally there is no reason to use the following options, they mostly
3893 exist for testing purposes.
3898 Call glFinish() before swapping buffers.
3899 Slower but in some cases more correct output (default: disabled).
3901 Enables support for more (RGB and BGR) color formats (default: enabled).
3902 Needs OpenGL version >= 1.2.
3903 .IPs slice-height=<0\-...>
3904 Number of lines copied to texture in one piece (default: 0).
3908 If YUV colorspace is used (see yuv suboption), special rules apply:
3910 If the decoder uses slice rendering (see \-noslices), this setting
3911 has no effect, the size of the slices as provided by the decoder is used.
3913 If the decoder does not use slice rendering, the default is 16.
3916 Enable or disable support for OSD rendering via OpenGL (default: enabled).
3917 This option is for testing; to disable the OSD use \-osdlevel 0 instead.
3919 Enable or disable aspect scaling and pan-and-scan support (default: enabled).
3920 Disabling might increase speed.
3927 Variant of the OpenGL video output driver.
3928 Supports videos larger than the maximum texture size but lacks many of the
3929 advanced features and optimizations of the gl driver and is unlikely to be
3934 same as gl (default: enabled)
3936 Select the type of YUV to RGB conversion.
3937 If set to anything except 0 OSD will be disabled and brightness, contrast and
3938 gamma setting is only available via the global X server settings.
3939 Apart from this the values have the same meaning as for \-vo gl.
3944 OpenGL-based renderer creating a Matrix-like running-text effect.
3948 Number of text columns to display.
3949 Very low values (< 16) will probably fail due to scaler limitations.
3950 Values not divisible by 16 may cause issues as well.
3952 Number of text rows to display.
3953 Very low values (< 16) will probably fail due to scaler limitations.
3954 Values not divisible by 16 may cause issues as well.
3959 Produces no video output.
3960 Useful for benchmarking.
3964 ASCII art video output driver that works on a text console.
3965 You can get a list and an explanation of available suboptions
3966 by executing 'mplayer \-vo aa:help'.
3969 The driver does not handle \-aspect correctly.
3972 You probably have to specify \-monitorpixelaspect.
3973 Try 'mplayer \-vo aa \-monitorpixelaspect 0.5'.
3977 Color ASCII art video output driver that works on a text console.
3981 Video playback using the Blinkenlights UDP protocol.
3982 This driver is highly hardware specific.
3986 Explicitly choose the Blinkenlights subdevice driver to use.
3987 It is something like arcade:host=localhost:2323 or
3988 hdl:file=name1,file=name2.
3989 You must specify a subdevice.
3995 GGI graphics system video output driver
3999 Explicitly choose the GGI driver to use.
4000 Replace any ',' that would appear in the driver string by a '.'.
4006 Play video using the DirectFB library.
4010 Use the DirectFB instead of the MPlayer keyboard code (default: enabled).
4011 .IPs buffermode=single|double|triple
4012 Double and triple buffering give best results if you want to avoid tearing issues.
4013 Triple buffering is more efficient than double buffering as it does
4014 not block MPlayer while waiting for the vertical retrace.
4015 Single buffering should be avoided (default: single).
4016 .IPs fieldparity=top|bottom
4017 Control the output order for interlaced frames (default: disabled).
4018 Valid values are top = top fields first, bottom = bottom fields first.
4019 This option does not have any effect on progressive film material
4020 like most MPEG movies are.
4021 You need to enable this option if you have tearing issues or unsmooth
4022 motions watching interlaced film material.
4024 Will force layer with ID N for playback (default: \-1 \- auto).
4026 Specify a parameter list for DirectFB.
4032 Matrox G400/\:G450/\:G550 specific video output driver that uses the
4033 DirectFB library to make use of special hardware features.
4034 Enables CRTC2 (second head), displaying video independently of the first head.
4038 same as directfb (default: disabled)
4039 .IPs buffermode=single|double|triple
4040 same as directfb (default: triple)
4041 .IPs fieldparity=top|bottom
4044 Enable the use of the Matrox BES (backend scaler) (default: disabled).
4045 Gives very good results concerning speed and output quality as interpolated
4046 picture processing is done in hardware.
4047 Works only on the primary head.
4049 Make use of the Matrox sub picture layer to display the OSD (default: enabled).
4051 Turn on TV-out on the second head (default: enabled).
4052 The output quality is amazing as it is a full interlaced picture
4053 with proper sync to every odd/\:even field.
4054 .IPs tvnorm=pal|ntsc|auto
4055 Will set the TV norm of the Matrox card without the need
4056 for modifying /etc/\:directfbrc (default: disabled).
4057 Valid norms are pal = PAL, ntsc = NTSC.
4058 Special norm is auto (auto-adjust using PAL/\:NTSC) because it decides
4059 which norm to use by looking at the framerate of the movie.
4065 Matrox specific video output driver that makes use of the YUV back
4066 end scaler on Gxxx cards through a kernel module.
4067 If you have a Matrox card, this is the fastest option.
4071 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4076 .B xmga (Linux, X11 only)
4077 The mga video output driver, running in an X11 window.
4081 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4086 .B s3fb (Linux only) (also see \-dr)
4087 S3 Virge specific video output driver.
4088 This driver supports the card's YUV conversion and scaling, double
4089 buffering and direct rendering features.
4090 Use \-vf format=yuy2 to get hardware-accelerated YUY2 rendering, which is
4091 much faster than YV12 on this card.
4095 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4101 Nintendo Wii/GameCube specific video output driver.
4104 .B 3dfx (Linux only)
4105 3dfx-specific video output driver that directly uses
4106 the hardware on top of X11.
4107 Only 16 bpp are supported.
4110 .B tdfxfb (Linux only)
4111 This driver employs the tdfxfb framebuffer driver to play movies with
4112 YUV acceleration on 3dfx cards.
4116 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4121 .B tdfx_vid (Linux only)
4122 3dfx-specific video output driver that works in combination with
4123 the tdfx_vid kernel module.
4127 Explicitly choose the device name to use (default: /dev/\:tdfx_vid).
4133 Sigma Designs em8300 MPEG decoder chip (Creative DXR3, Sigma Designs
4134 Hollywood Plus) specific video output driver.
4135 Also see the lavc video filter.
4139 Activates the overlay instead of TV-out.
4141 Turns on prebuffering.
4143 Will turn on the new sync-engine.
4145 Specifies the TV norm.
4147 0: Does not change current norm (default).
4149 1: Auto-adjust using PAL/\:NTSC.
4151 2: Auto-adjust using PAL/\:PAL-60.
4160 Specifies the device number to use if you have more than one em8300 card.
4166 Conexant CX23415 (iCompression iTVC15) or Conexant CX23416 (iCompression
4167 iTVC16) MPEG decoder chip (Hauppauge WinTV PVR-150/250/350/500)
4168 specific video output driver for TV-out.
4169 Also see the lavc video filter.
4173 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4175 Explicitly choose the TV-out output to be used for the video signal.
4180 .B v4l2 (requires Linux 2.6.22+ kernel)
4181 Video output driver for V4L2 compliant cards with built-in hardware MPEG decoder.
4182 Also see the lavc video filter.
4186 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4188 Explicitly choose the TV-out output to be used for the video signal.
4193 .B mpegpes (DVB only)
4194 Video output driver for DVB cards that writes the output to an MPEG-PES file
4195 if no DVB card is installed.
4199 Specifies the device number to use if you have more than one DVB output card
4200 (V3 API only, such as 1.x.y series drivers).
4201 If not specified MPlayer will search the first usable card.
4203 output filename (default: ./grab.mpg)
4209 Calculate MD5 sums of each frame and write them to a file.
4210 Supports RGB24 and YV12 colorspaces.
4211 Useful for debugging.
4214 .IPs outfile=<value>
4215 Specify the output filename (default: ./md5sums).
4221 Transforms the video stream into a sequence of uncompressed YUV 4:2:0
4222 images and stores it in a file (default: ./stream.yuv).
4223 The format is the same as the one employed by mjpegtools, so this is
4224 useful if you want to process the video with the mjpegtools suite.
4225 It supports the YV12 format.
4226 If your source file has a different format and is interlaced, make sure
4227 to use -vf scale=::1 to ensure the conversion uses interlaced mode.
4228 You can combine it with the \-fixed\-vo option to concatenate files
4229 with the same dimensions and fps value.
4233 Write the output as interlaced frames, top field first.
4235 Write the output as interlaced frames, bottom field first.
4236 .IPs file=<filename>
4237 Write the output to <filename> instead of the default stream.yuv.
4243 If you do not specify any option the output is progressive
4244 (i.e.\& not interlaced).
4249 Output each frame into a single animated GIF file in the current directory.
4250 It supports only RGB format with 24 bpp and the output is converted to 256
4255 Float value to specify framerate (default: 5.0).
4257 Specify the output filename (default: ./out.gif).
4263 You must specify the framerate before the filename or the framerate will
4264 be part of the filename.
4270 mplayer video.nut \-vo gif89a:fps=15:output=test.gif
4276 Output each frame into a JPEG file in the current directory.
4277 Each file takes the frame number padded with leading zeros as name.
4280 .IPs [no]progressive
4281 Specify standard or progressive JPEG (default: noprogressive).
4283 Specify use of baseline or not (default: baseline).
4284 .IPs optimize=<0\-100>
4285 optimization factor (default: 100)
4286 .IPs smooth=<0\-100>
4287 smooth factor (default: 0)
4288 .IPs quality=<0\-100>
4289 quality factor (default: 75)
4290 .IPs outdir=<dirname>
4291 Specify the directory to save the JPEG files to (default: ./).
4292 .IPs subdirs=<prefix>
4293 Create numbered subdirectories with the specified prefix to
4294 save the files in instead of the current directory.
4295 .IPs "maxfiles=<value> (subdirs only)"
4296 Maximum number of files to be saved per subdirectory.
4297 Must be equal to or larger than 1 (default: 1000).
4303 Output each frame into a PNM file in the current directory.
4304 Each file takes the frame number padded with leading zeros as name.
4305 It supports PPM, PGM and PGMYUV files in both raw and ASCII mode.
4306 Also see pnm(5), ppm(5) and pgm(5).
4310 Write PPM files (default).
4315 PGMYUV is like PGM, but it also contains the U and V plane, appended at the
4316 bottom of the picture.
4318 Write PNM files in raw mode (default).
4320 Write PNM files in ASCII mode.
4321 .IPs outdir=<dirname>
4322 Specify the directory to save the PNM files to (default: ./).
4323 .IPs subdirs=<prefix>
4324 Create numbered subdirectories with the specified prefix to
4325 save the files in instead of the current directory.
4326 .IPs "maxfiles=<value> (subdirs only)"
4327 Maximum number of files to be saved per subdirectory.
4328 Must be equal to or larger than 1 (default: 1000).
4334 Output each frame into a PNG file in the current directory.
4335 Each file takes the frame number padded with leading zeros as name.
4336 24bpp RGB and BGR formats are supported.
4340 Specifies the compression level.
4341 0 is no compression, 9 is maximum compression.
4342 .IPs alpha (default: noalpha)
4343 Create PNG files with an alpha channel.
4344 Note that MPlayer in general does not support alpha, so this will only
4345 be useful in some rare cases.
4351 Output each frame into a Targa file in the current directory.
4352 Each file takes the frame number padded with leading zeros as name.
4353 The purpose of this video output driver is to have a simple lossless
4354 image writer to use without any external library.
4355 It supports the BGR[A] color format, with 15, 24 and 32 bpp.
4356 You can force a particular format with the format video filter.
4362 mplayer video.nut \-vf format=bgr15 \-vo tga
4368 .SH "DECODING/FILTERING OPTIONS"
4371 .B \-ac <[\-|+]codec1,[\-|+]codec2,...[,]>
4372 Specify a priority list of audio codecs to be used, according to their codec
4373 name in codecs.conf.
4374 Use a '\-' before the codec name to omit it.
4375 Use a '+' before the codec name to force it, this will likely crash!
4376 If the list has a trailing ',' MPlayer will fall back on codecs not
4377 contained in the list.
4380 See \-ac help for a full list of available codecs.
4386 Force the l3codeca.acm MP3 codec.
4388 Try libmad first, then fall back on others.
4389 .IPs "\-ac hwac3,a52,"
4390 Try hardware AC-3 passthrough, software AC-3, then others.
4392 Try hardware DTS passthrough, then fall back on others.
4393 .IPs "\-ac \-ffmp3,"
4394 Skip FFmpeg's MP3 decoder.
4399 .B \-af\-adv <force=(0\-7):list=(filters)> (also see \-af)
4400 Specify advanced audio filter options:
4403 Forces the insertion of audio filters to one of the following:
4405 0: Use completely automatic filter insertion (currently identical to 1).
4407 1: Optimize for accuracy (default).
4409 2: Optimize for speed.
4411 Some features in the audio filters may silently fail,
4412 and the sound quality may drop.
4414 3: Use no automatic insertion of filters and no optimization.
4416 It may be possible to crash MPlayer using this setting.
4418 4: Use automatic insertion of filters according to 0 above,
4419 but use floating point processing when possible.
4421 5: Use automatic insertion of filters according to 1 above,
4422 but use floating point processing when possible.
4424 6: Use automatic insertion of filters according to 2 above,
4425 but use floating point processing when possible.
4427 7: Use no automatic insertion of filters according to 3 above,
4428 and use floating point processing when possible.
4435 .B \-afm <driver1,driver2,...>
4436 Specify a priority list of audio codec families to be used, according
4437 to their codec name in codecs.conf.
4438 Falls back on the default codecs if none of the given codec families work.
4441 See \-afm help for a full list of available codec families.
4447 Try FFmpeg's libavcodec codecs first.
4448 .IPs "\-afm acm,dshow"
4449 Try Win32 codecs first.
4454 .B \-aspect <ratio> (also see \-zoom)
4455 Override movie aspect ratio, in case aspect information is
4456 incorrect or missing in the file being played.
4461 \-aspect 4:3 or \-aspect 1.3333
4463 \-aspect 16:9 or \-aspect 1.7777
4469 Disable automatic movie aspect ratio compensation.
4472 .B "\-field\-dominance <\-1\-1>"
4473 Set first field for interlaced content.
4474 Useful for deinterlacers that double the framerate: \-vf tfields=1,
4475 \-vf yadif=1, \-vo vdpau:deint and \-vo xvmc:bobdeint.
4479 auto (default): If the decoder does not export the appropriate information,
4480 it falls back to 0 (top field first).
4490 Flip image upside-down.
4493 .B \-lavdopts <option1:option2:...> (DEBUG CODE)
4494 Specify libavcodec decoding parameters.
4495 Separate multiple options with a colon.
4500 \-lavdopts gray:skiploopfilter=all:skipframe=nonref
4505 Available options are:
4509 Only use bit-exact algorithms in all decoding steps (for codec testing).
4511 Manually work around encoder bugs.
4515 1: autodetect bugs (default)
4517 2 (msmpeg4v3): some old lavc generated msmpeg4v3 files (no autodetection)
4519 4 (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
4521 8 (mpeg4): UMP4 (autodetected if fourcc==UMP4)
4523 16 (mpeg4): padding bug (autodetected)
4525 32 (mpeg4): illegal vlc bug (autodetected per fourcc)
4527 64 (mpeg4): Xvid and DivX qpel bug (autodetected per fourcc/\:version)
4529 128 (mpeg4): old standard qpel (autodetected per fourcc/\:version)
4531 256 (mpeg4): another qpel bug (autodetected per fourcc/\:version)
4533 512 (mpeg4): direct-qpel-blocksize bug (autodetected per fourcc/\:version)
4535 1024 (mpeg4): edge padding bug (autodetected per fourcc/\:version)
4538 Display debugging information.
4549 8: macroblock (MB) type
4551 16: per-block quantization parameter (QP)
4555 0x0040: motion vector visualization (use \-noslices)
4557 0x0080: macroblock (MB) skip
4563 0x0400: error resilience
4565 0x0800: memory management control operations (H.264)
4569 0x2000: Visualize quantization parameter (QP), lower QP are tinted greener.
4571 0x4000: Visualize block types.
4574 Set error concealment strategy.
4576 1: Use strong deblock filter for damaged MBs.
4578 2: iterative motion vector (MV) search (slow)
4583 Set error resilience strategy.
4588 1: careful (Should work with broken encoders.)
4590 2: normal (default) (Works with compliant encoders.)
4592 3: aggressive (More checks, but might cause problems even for valid bitstreams.)
4596 .IPs "fast (MPEG-2, MPEG-4, and H.264 only)"
4597 Enable optimizations which do not comply to the specification and might
4598 potentially cause problems, like simpler dequantization, simpler motion
4599 compensation, assuming use of the default quantization matrix, assuming
4600 YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.
4602 grayscale only decoding (a bit faster than with color)
4603 .IPs "idct=<0\-99> (see \-lavcopts)"
4604 For best decoding quality use the same IDCT algorithm for decoding and encoding.
4605 This may come at a price in accuracy, though.
4606 .IPs lowres=<number>[,<w>]
4607 Decode at lower resolutions.
4608 Low resolution decoding is not supported by all codecs, and it will
4609 often result in ugly artifacts.
4610 This is not a bug, but a side effect of not decoding at full resolution.
4622 If <w> is specified lowres decoding will be used only if the width of the
4623 video is major than or equal to <w>.
4625 .B o=<key>=<value>[,<key>=<value>[,...]]
4626 Pass AVOptions to libavcodec decoder.
4627 Note, a patch to make the o= unneeded and pass all unknown options through
4628 the AVOption system is welcome.
4629 A full list of AVOptions can be found in the FFmpeg manual.
4639 .IPs "sb=<number> (MPEG-2 only)"
4640 Skip the given number of macroblock rows at the bottom.
4641 .IPs "st=<number> (MPEG-2 only)"
4642 Skip the given number of macroblock rows at the top.
4643 .IPs "skiploopfilter=<skipvalue> (H.264 only)"
4644 Skips the loop filter (AKA deblocking) during H.264 decoding.
4645 Since the filtered frame is supposed to be used as reference
4646 for decoding dependent frames this has a worse effect on quality
4647 than not doing deblocking on e.g.\& MPEG-2 video.
4648 But at least for high bitrate HDTV this provides a big speedup with
4649 no visible quality loss.
4651 <skipvalue> can be either one of the following:
4656 default: Skip useless processing steps (e.g.\& 0 size packets in AVI).
4658 nonref: Skip frames that are not referenced (i.e.\& not used for
4659 decoding other frames, the error cannot "build up").
4661 bidir: Skip B-Frames.
4663 nonkey: Skip all frames except keyframes.
4665 all: Skip all frames.
4667 .IPs "skipidct=<skipvalue> (MPEG-1/2 only)"
4668 Skips the IDCT step.
4669 This degrades quality a lot of in almost all cases
4670 (see skiploopfilter for available skip values).
4671 .IPs skipframe=<skipvalue>
4672 Skips decoding of frames completely.
4673 Big speedup, but jerky motion and sometimes bad artifacts
4674 (see skiploopfilter for available skip values).
4675 .IPs "threads=<0\-16>"
4676 Number of threads to use for decoding.
4677 Whether threading is actually supported depends on codec.
4678 0 means autodetect number of cores on the machine and use that, up to the
4682 Visualize motion vectors.
4687 1: Visualize forward predicted MVs of P-frames.
4689 2: Visualize forward predicted MVs of B-frames.
4691 4: Visualize backward predicted MVs of B-frames.
4694 Prints some statistics and stores them in ./vstats_*.log.
4699 Disable drawing video by 16-pixel height slices/\:bands, instead draws the
4700 whole frame in a single run.
4701 May be faster or slower, depending on video card and available cache.
4702 It has effect only with libmpeg2 and libavcodec codecs.
4707 Useful for benchmarking.
4712 With some demuxers this may not work. In those cases you can try \-vc null \-vo null instead; but "\-vc null" is always unreliable.
4715 .B \-pp <quality> (also see \-vf pp)
4716 Set the DLL postprocess level.
4717 This option is no longer usable with \-vf pp.
4718 It only works with Win32 DirectShow DLLs with internal postprocessing routines.
4719 The valid range of \-pp values varies by codec, it is mostly
4720 0\-6, where 0=disable, 6=slowest/\:best.
4723 .B \-pphelp (also see \-vf pp)
4724 Show a summary about the available postprocess filters and their usage.
4728 Specifies software scaler parameters.
4733 \-vf scale \-ssf lgb=3.0
4739 gaussian blur filter (luma)
4741 gaussian blur filter (chroma)
4742 .IPs ls=<\-100\-100>
4743 sharpen filter (luma)
4744 .IPs cs=<\-100\-100>
4745 sharpen filter (chroma)
4747 chroma horizontal shifting
4749 chroma vertical shifting
4755 Select type of MP2/\:MP3 stereo output.
4768 .B \-sws <software scaler type> (also see \-vf scale and \-zoom)
4769 Specify the software scaler algorithm to be used with the \-zoom option.
4770 This affects video output drivers which lack hardware acceleration, e.g.\& x11.
4772 Available types are:
4781 bicubic (good quality) (default)
4785 nearest neighbor (bad quality)
4789 luma bicubic / chroma bilinear
4797 natural bicubic spline
4803 Some \-sws options are tunable.
4804 The description of the scale video filter has further information.
4808 .B \-vc <[\-|+]codec1,[\-|+]codec2,...[,]>
4809 Specify a priority list of video codecs to be used, according to their codec
4810 name in codecs.conf.
4811 Use a '\-' before the codec name to omit it.
4812 Use a '+' before the codec name to force it, this will likely crash!
4813 If the list has a trailing ',' MPlayer will fall back on codecs not
4814 contained in the list.
4817 See \-vc help for a full list of available codecs.
4823 Force Win32/\:VfW DivX codec, no fallback.
4824 .IPs "\-vc \-divxds,\-divx,"
4825 Skip Win32 DivX codecs.
4826 .IPs "\-vc ffmpeg12,mpeg12,"
4827 Try libavcodec's MPEG-1/2 codec, then libmpeg2, then others.
4832 .B \-vfm <driver1,driver2,...>
4833 Specify a priority list of video codec families to be used, according
4834 to their names in codecs.conf.
4835 Falls back on the default codecs if none of the given codec families work.
4838 See \-vfm help for a full list of available codec families.
4843 .IPs "\-vfm ffmpeg,dshow,vfw"
4844 Try the libavcodec, then Directshow, then VfW codecs and fall back
4845 on others, if they do not work.
4847 Try XAnim codecs first.
4852 .B \-x <x> (also see \-zoom)
4853 Scale image to width <x> (if software/\:hardware scaling is available).
4854 Disables aspect calculations.
4857 .B \-xvidopts <option1:option2:...>
4858 Specify additional parameters when decoding with Xvid.
4861 Since libavcodec is faster than Xvid you might want to use the libavcodec
4862 postprocessing filter (\-vf pp) and decoder (\-vfm ffmpeg) instead.
4864 Xvid's internal postprocessing filters:
4867 .IPs "deblock-chroma (also see \-vf pp)"
4868 chroma deblock filter
4869 .IPs "deblock-luma (also see \-vf pp)"
4871 .IPs "dering-luma (also see \-vf pp)"
4872 luma deringing filter
4873 .IPs "dering-chroma (also see \-vf pp)"
4874 chroma deringing filter
4875 .IPs "filmeffect (also see \-vf noise)"
4876 Adds artificial film grain to the video.
4877 May increase perceived quality, while lowering true quality.
4886 Activate direct rendering method 2.
4888 Deactivate direct rendering method 2.
4893 .B \-xy <value> (also see \-zoom)
4897 Scale image by factor <value>.
4899 Set width to value and calculate height to keep correct aspect ratio.
4904 .B \-y <y> (also see \-zoom)
4905 Scale image to height <y> (if software/\:hardware scaling is available).
4906 Disables aspect calculations.
4910 Allow software scaling, where available.
4911 This will allow scaling with output drivers (like x11, fbdev) that
4912 do not support hardware scaling where MPlayer disables scaling by
4913 default for performance reasons.
4918 Audio filters allow you to modify the audio stream and its properties.
4922 .B \-af <filter1[=parameter1:parameter2:...],filter2,...>
4923 Setup a chain of audio filters.
4926 To get a full list of available audio filters, see \-af help.
4928 Audio filters are managed in lists.
4929 There are a few commands to manage the filter list.
4932 .B \-af\-add <filter1[,filter2,...]>
4933 Appends the filters given as arguments to the filter list.
4936 .B \-af\-pre <filter1[,filter2,...]>
4937 Prepends the filters given as arguments to the filter list.
4940 .B \-af\-del <index1[,index2,...]>
4941 Deletes the filters at the given indexes.
4942 Index numbers start at 0, negative numbers address the end of the
4943 list (\-1 is the last).
4947 Completely empties the filter list.
4949 Available filters are:
4952 .B resample[=srate[:sloppy[:type]]]
4953 Changes the sample rate of the audio stream.
4954 Can be used if you have a fixed frequency sound card or if you are
4955 stuck with an old sound card that is only capable of max 44.1kHz.
4956 This filter is automatically enabled if necessary.
4957 It only supports 16-bit integer and float in native-endian format as input.
4961 output sample frequency in Hz.
4962 The valid range for this parameter is 8000 to 192000.
4963 If the input and output sample frequency are the same or if this
4964 parameter is omitted the filter is automatically unloaded.
4965 A high sample frequency normally improves the audio quality,
4966 especially when used in combination with other filters.
4968 Allow (1) or disallow (0) the output frequency to differ slightly
4969 from the frequency given by <srate> (default: 1).
4970 Can be used if the startup of the playback is extremely slow.
4972 Select which resampling method to use.
4974 0: linear interpolation (fast, poor quality especially when upsampling)
4976 1: polyphase filterbank and integer processing
4978 2: polyphase filterbank and floating point processing (slow, best quality)
4988 .IPs "mplayer \-af resample=44100:0:0"
4989 would set the output frequency of the resample filter to 44100Hz using
4990 exact output frequency scaling and linear interpolation.
4995 .B lavcresample[=srate[:length[:linear[:count[:cutoff]]]]]
4996 Changes the sample rate of the audio stream to an integer <srate> in Hz.
4997 It only supports the 16-bit native-endian format.
5001 the output sample rate
5003 length of the filter with respect to the lower sampling rate (default: 16)
5005 if 1 then filters will be linearly interpolated between polyphase entries
5007 log2 of the number of polyphase entries
5008 (..., 10->1024, 11->2048, 12->4096, ...)
5011 cutoff frequency (0.0\-1.0), default set depending upon filter length
5016 .B lavcac3enc[=tospdif[:bitrate[:minchn]]]
5017 Encode multi-channel audio to AC-3 at runtime using libavcodec.
5018 Supports 16-bit native-endian input format, maximum 6 channels.
5019 The output is big-endian when outputting a raw AC-3 stream,
5020 native-endian when outputting to S/PDIF.
5021 The output sample rate of this filter is same with the input sample rate.
5022 When input sample rate is 48kHz, 44.1kHz, or 32kHz, this filter directly use it.
5023 Otherwise a resampling filter is auto-inserted before this filter to make
5024 the input and output sample rate be 48kHz.
5025 You need to specify '\-channels N' to make the decoder decode audio into
5026 N-channel, then the filter can encode the N-channel input to AC-3.
5031 Output raw AC-3 stream if zero or not set,
5032 output to S/PDIF for passthrough when <tospdif> is set non-zero.
5034 The bitrate to encode the AC-3 stream.
5035 Set it to either 384 or 384000 to get 384kbits.
5036 Valid values: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
5037 320, 384, 448, 512, 576, 640
5038 Default bitrate is based on the input channel number:
5039 1ch: 96, 2ch: 192, 3ch: 224, 4ch: 384, 5ch: 448, 6ch: 448
5041 If the input channel number is less than <minchn>, the filter will
5042 detach itself (default: 5).
5048 Produces a sine sweep.
5052 Sine function delta, use very low values to hear the sweep.
5057 .B sinesuppress[=freq:decay]
5058 Remove a sine at the specified frequency.
5059 Useful to get rid of the 50/60Hz noise on low quality audio equipment.
5060 It probably only works on mono input.
5064 The frequency of the sine which should be removed (in Hz) (default: 50)
5066 Controls the adaptivity (a larger value will make the filter adapt to
5067 amplitude and phase changes quicker, a smaller value will make the
5068 adaptation slower) (default: 0.0001).
5069 Reasonable values are around 0.001.
5074 .B bs2b[=option1:option2:...]
5075 Bauer stereophonic to binaural transformation using libbs2b.
5076 Improves the headphone listening experience by making the sound
5077 similar to that from loudspeakers, allowing each ear to hear both
5078 channels and taking into account the distance difference and the
5079 head shadowing effect.
5080 It is applicable only to 2 channel audio.
5083 .IPs fcut=<300\-1000>
5084 Set cut frequency in Hz.
5086 Set feed level for low frequencies in 0.1*dB.
5087 .IPs profile=<value>
5088 Several profiles are available for convenience:
5092 will be used if nothing else was specified (fcut=700, feed=45)
5094 Chu Moy circuit implementation (fcut=700, feed=60)
5096 Jan Meier circuit implementation (fcut=650, feed=95)
5101 If fcut or feed options are specified together with a profile, they
5102 will be applied on top of the selected profile.
5108 Head-related transfer function: Converts multichannel audio to
5109 2 channel output for headphones, preserving the spatiality of the sound.
5114 .IPs "m matrix decoding of the rear channel"
5115 .IPs "s 2-channel matrix decoding"
5116 .IPs "0 no matrix decoding (default)"
5121 .B equalizer=[g1:g2:g3:...:g10]
5122 10 octave band graphic equalizer, implemented using 10 IIR band pass filters.
5123 This means that it works regardless of what type of audio is being played back.
5124 The center frequencies for the 10 bands are:
5128 .IPs "No. frequency"
5143 If the sample rate of the sound being played is lower than the center
5144 frequency for a frequency band, then that band will be disabled.
5145 A known bug with this filter is that the characteristics for the
5146 uppermost band are not completely symmetric if the sample
5147 rate is close to the center frequency of that band.
5148 This problem can be worked around by upsampling the sound
5149 using the resample filter before it reaches this filter.
5153 .IPs <g1>:<g2>:<g3>:...:<g10>
5154 floating point numbers representing the gain in dB
5155 for each frequency band (\-12\-12)
5162 .IPs "mplayer \-af equalizer=11:11:10:5:0:\-12:0:5:12:12 media.avi"
5163 Would amplify the sound in the upper and lower frequency region
5164 while canceling it almost completely around 1kHz.
5169 .B channels=nch[:nr:from1:to1:from2:to2:from3:to3:...]
5170 Can be used for adding, removing, routing and copying audio channels.
5171 If only <nch> is given the default routing is used, it works as
5172 follows: If the number of output channels is bigger than the number of
5173 input channels empty channels are inserted (except mixing from mono to
5174 stereo, then the mono channel is repeated in both of the output
5176 If the number of output channels is smaller than the number
5177 of input channels the exceeding channels are truncated.
5181 number of output channels (1\-8)
5183 number of routes (1\-8)
5184 .IPs <from1:to1:from2:to2:from3:to3:...>
5185 Pairs of numbers between 0 and 7 that define where to route each channel.
5192 .IPs "mplayer \-af channels=4:4:0:1:1:0:2:2:3:3 media.avi"
5193 Would change the number of channels to 4 and set up 4 routes that
5194 swap channel 0 and channel 1 and leave channel 2 and 3 intact.
5195 Observe that if media containing two channels was played back, channels
5196 2 and 3 would contain silence but 0 and 1 would still be swapped.
5197 .IPs "mplayer \-af channels=6:4:0:0:0:1:0:2:0:3 media.avi"
5198 Would change the number of channels to 6 and set up 4 routes
5199 that copy channel 0 to channels 0 to 3.
5200 Channel 4 and 5 will contain silence.
5205 .B format[=format] (also see \-format)
5206 Convert between different sample formats.
5207 Automatically enabled when needed by the sound card or another filter.
5211 Sets the desired format.
5212 The general form is 'sbe', where 's' denotes the sign (either 's' for signed
5213 or 'u' for unsigned), 'b' denotes the number of bits per sample (16, 24 or 32)
5214 and 'e' denotes the endianness ('le' means little-endian, 'be' big-endian
5215 and 'ne' the endianness of the computer MPlayer is running on).
5216 Valid values (amongst others) are: 's16le', 'u32be' and 'u24ne'.
5217 Exceptions to this rule that are also valid format specifiers: u8, s8,
5218 floatle, floatbe, floatne, mulaw, alaw, mpeg2, ac3 and imaadpcm.
5224 Implements software volume control.
5225 Use this filter with caution since it can reduce the signal
5226 to noise ratio of the sound.
5227 In most cases it is best to set the level for the PCM sound to max,
5228 leave this filter out and control the output level to your
5229 speakers with the master volume control of the mixer.
5230 In case your sound card has a digital PCM mixer instead of an analog
5231 one, and you hear distortion, use the MASTER mixer instead.
5232 If there is an external amplifier connected to the computer (this
5233 is almost always the case), the noise level can be minimized by
5234 adjusting the master level and the volume knob on the amplifier
5235 until the hissing noise in the background is gone.
5237 This filter has a second feature: It measures the overall maximum
5238 sound level and prints out that level when MPlayer exits.
5239 This feature currently only works with floating-point data,
5240 use e.g. \-af\-adv force=5, or use \-af stats.
5243 This filter is not reentrant and can therefore only be enabled
5244 once for every audio stream.
5248 Sets the desired gain in dB for all channels in the stream
5249 from \-200dB to +60dB, where \-200dB mutes the sound
5250 completely and +60dB equals a gain of 1000 (default: 0).
5252 Turns soft clipping on (1) or off (0).
5253 Soft-clipping can make the sound more smooth if very
5254 high volume levels are used.
5255 Enable this option if the dynamic range of the
5256 loudspeakers is very low.
5259 This feature creates distortion and should be considered a last resort.
5266 .IPs "mplayer \-af volume=10.1:0 media.avi"
5267 Would amplify the sound by 10.1dB and hard-clip if the
5268 sound level is too high.
5273 .B pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]
5274 Mixes channels arbitrarily.
5275 Basically a combination of the volume and the channels filter
5276 that can be used to down-mix many channels to only a few,
5277 e.g.\& stereo to mono or vary the "width" of the center
5278 speaker in a surround sound system.
5279 This filter is hard to use, and will require some tinkering
5280 before the desired result is obtained.
5281 The number of options for this filter depends on
5282 the number of output channels.
5283 An example how to downmix a six-channel file to two channels with
5284 this filter can be found in the examples section near the end.
5288 number of output channels (1\-8)
5290 How much of input channel i is mixed into output channel j (0\-1).
5291 So in principle you first have n numbers saying what to do with the
5292 first input channel, then n numbers that act on the second input channel
5294 If you do not specify any numbers for some input channels, 0 is assumed.
5301 .IPs "mplayer \-af pan=1:0.5:0.5 media.avi"
5302 Would down-mix from stereo to mono.
5303 .IPs "mplayer \-af pan=3:1:0:0.5:0:1:0.5 media.avi"
5304 Would give 3 channel output leaving channels 0 and 1 intact,
5305 and mix channels 0 and 1 into output channel 2 (which could
5306 be sent to a subwoofer for example).
5312 Adds a subwoofer channel to the audio stream.
5313 The audio data used for creating the subwoofer channel is
5314 an average of the sound in channel 0 and channel 1.
5315 The resulting sound is then low-pass filtered by a 4th order
5316 Butterworth filter with a default cutoff frequency of 60Hz
5317 and added to a separate channel in the audio stream.
5320 Disable this filter when you are playing DVDs with Dolby
5321 Digital 5.1 sound, otherwise this filter will disrupt
5322 the sound to the subwoofer.
5326 cutoff frequency in Hz for the low-pass filter (20Hz to 300Hz) (default: 60Hz)
5327 For the best result try setting the cutoff frequency as low as possible.
5328 This will improve the stereo or surround sound experience.
5330 Determines the channel number in which to insert the sub-channel audio.
5331 Channel number can be between 0 and 7 (default: 5).
5332 Observe that the number of channels will automatically
5333 be increased to <ch> if necessary.
5340 .IPs "mplayer \-af sub=100:4 \-channels 5 media.avi"
5341 Would add a sub-woofer channel with a cutoff frequency of
5342 100Hz to output channel 4.
5348 Creates a center channel from the front channels.
5349 May currently be low quality as it does not implement a
5350 high-pass filter for proper extraction yet, but averages and
5351 halves the channels instead.
5355 Determines the channel number in which to insert the center channel.
5356 Channel number can be between 0 and 7 (default: 5).
5357 Observe that the number of channels will automatically
5358 be increased to <ch> if necessary.
5364 Decoder for matrix encoded surround sound like Dolby Surround.
5365 Many files with 2 channel audio actually contain matrixed surround sound.
5366 Requires a sound card supporting at least 4 channels.
5370 delay time in ms for the rear speakers (0 to 1000) (default: 20)
5371 This delay should be set as follows: If d1 is the distance
5372 from the listening position to the front speakers and d2 is the distance
5373 from the listening position to the rear speakers, then the delay should
5374 be set to 15ms if d1 <= d2 and to 15 + 5*(d1-d2) if d1 > d2.
5381 .IPs "mplayer \-af surround=15 \-channels 4 media.avi"
5382 Would add surround sound decoding with 15ms delay for the sound to the
5388 .B delay[=ch1:ch2:...]
5389 Delays the sound to the loudspeakers such that the sound from the
5390 different channels arrives at the listening position simultaneously.
5391 It is only useful if you have more than 2 loudspeakers.
5395 The delay in ms that should be imposed on each channel
5396 (floating point number between 0 and 1000).
5401 To calculate the required delay for the different channels do as follows:
5403 Measure the distance to the loudspeakers in meters in relation
5404 to your listening position, giving you the distances s1 to s5
5406 There is no point in compensating for the subwoofer (you will not hear the
5409 Subtract the distances s1 to s5 from the maximum distance,
5410 i.e.\& s[i] = max(s) \- s[i]; i = 1...5.
5412 Calculate the required delays in ms as d[i] = 1000*s[i]/342; i = 1...5.
5420 .IPs "mplayer \-af delay=10.5:10.5:0:0:7:0 media.avi"
5421 Would delay front left and right by 10.5ms, the two rear channels
5422 and the sub by 0ms and the center channel by 7ms.
5427 .B export[=mmapped_file[:nsamples]]
5428 Exports the incoming signal to other processes using memory mapping (mmap()).
5429 Memory mapped areas contain a header:
5432 int nch /*number of channels*/
5433 int size /*buffer size*/
5434 unsigned long long counter /*Used to keep sync, updated every
5435 time new data is exported.*/
5438 The rest is payload (non-interleaved) 16 bit data.
5442 file to map data to (default: ~/.mplayer/\:mplayer-af_export)
5444 number of samples per channel (default: 512)
5451 .IPs "mplayer \-af export=/tmp/mplayer-af_export:1024 media.avi"
5452 Would export 1024 samples per channel to '/tmp/mplayer-af_export'.
5457 .B extrastereo[=mul]
5458 (Linearly) increases the difference between left and right channels
5459 which adds some sort of "live" effect to playback.
5463 Sets the difference coefficient (default: 2.5).
5464 0.0 means mono sound (average of both channels), with 1.0 sound will be
5465 unchanged, with \-1.0 left and right channels will be swapped.
5470 .B volnorm[=method:target]
5471 Maximizes the volume without distorting the sound.
5475 Sets the used method.
5477 1: Use a single sample to smooth the variations via the standard
5478 weighted mean over past samples (default).
5480 2: Use several samples to smooth the variations via the standard
5481 weighted mean over past samples.
5484 Sets the target amplitude as a fraction of the maximum for the
5485 sample type (default: 0.25).
5490 .B ladspa=file:label[:controls...]
5491 Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.
5492 This filter is reentrant, so multiple LADSPA plugins can be used at once.
5496 Specifies the LADSPA plugin library file.
5497 If LADSPA_PATH is set, it searches for the specified file.
5498 If it is not set, you must supply a fully specified pathname.
5500 Specifies the filter within the library.
5501 Some libraries contain only one filter, but others contain many of them.
5502 Entering 'help' here, will list all available filters within the specified
5503 library, which eliminates the use of 'listplugins' from the LADSPA SDK.
5505 Controls are zero or more floating point values that determine the
5506 behavior of the loaded plugin (for example delay, threshold or gain).
5507 In verbose mode (add \-v to the MPlayer command line), all available controls
5508 and their valid ranges are printed.
5509 This eliminates the use of 'analyseplugin' from the LADSPA SDK.
5515 Compressor/expander filter usable for microphone input.
5516 Prevents artifacts on very loud sound and raises the volume on
5518 This filter is untested, maybe even unusable.
5522 Noise gate filter similar to the comp audio filter.
5523 This filter is untested, maybe even unusable.
5527 Simple voice removal filter exploiting the fact that voice is
5528 usually recorded with mono gear and later 'center' mixed onto
5529 the final audio stream.
5530 Beware that this filter will turn your signal into mono.
5531 Works well for 2 channel tracks; do not bother trying it
5532 on anything but 2 channel stereo.
5535 .B scaletempo[=option1:option2:...]
5536 Scales audio tempo without altering pitch, optionally synced to playback
5539 This works by playing \'stride\' ms of audio at normal speed then
5540 consuming \'stride*scale\' ms of input audio.
5541 It pieces the strides together by blending \'overlap\'% of stride with
5542 audio following the previous stride.
5543 It optionally performs a short statistical analysis on the next \'search\'
5544 ms of audio to determine the best overlap position.
5548 Nominal amount to scale tempo.
5549 Scales this amount in addition to speed.
5551 .IPs stride=<amount>
5552 Length in milliseconds to output each stride.
5553 Too high of value will cause noticable skips at high scale amounts and
5554 an echo at low scale amounts.
5555 Very low values will alter pitch.
5556 Increasing improves performance.
5558 .IPs overlap=<percent>
5559 Percentage of stride to overlap.
5560 Decreasing improves performance.
5562 .IPs search=<amount>
5563 Length in milliseconds to search for best overlap position.
5564 Decreasing improves performance greatly.
5565 On slow systems, you will probably want to set this very low.
5567 .IPs speed=<tempo|pitch|both|none>
5568 Set response to speed change.
5571 Scale tempo in sync with speed (default).
5573 Reverses effect of filter.
5574 Scales pitch without altering tempo.
5575 Add \'[ speed_mult 0.9438743126816935\' and \'] speed_mult 1.059463094352953\'
5576 to your input.conf to step by musical semi-tones.
5578 Loses sync with video.
5580 Scale both tempo and pitch.
5582 Ignore speed changes.
5590 .IPs "mplayer \-af scaletempo \-speed 1.2 media.ogg"
5591 Would playback media at 1.2x normal speed, with audio at normal pitch.
5592 Changing playback speed, would change audio tempo to match.
5593 .IPs "mplayer \-af scaletempo=scale=1.2:speed=none \-speed 1.2 media.ogg"
5594 Would playback media at 1.2x normal speed, with audio at normal pitch,
5595 but changing playback speed has no effect on audio tempo.
5596 .IPs "mplayer \-af scaletempo=stride=30:overlap=.50:search=10 media.ogg"
5597 Would tweak the quality and performace parameters.
5598 .IPs "mplayer \-af format=floatne,scaletempo media.ogg"
5599 Would make scaletempo use float code.
5600 Maybe faster on some platforms.
5601 .IPs "mplayer \-af scaletempo=scale=1.2:speed=pitch audio.ogg"
5602 Would playback audio file at 1.2x normal speed, with audio at normal pitch.
5603 Changing playback speed, would change pitch, leaving audio tempo at 1.2x.
5609 Collects and prints statistics about the audio stream, especially the volume.
5610 These statistics are especially intended to help adjusting the volume while
5612 The volumes are printed in dB and compatible with the volume audio filter.
5617 Video filters allow you to modify the video stream and its properties.
5621 .B \-vf <filter1[=parameter1:parameter2:...],filter2,...>
5622 Setup a chain of video filters.
5624 Many parameters are optional and set to default values if omitted.
5625 To explicitly use a default value set a parameter to '\-1'.
5626 Parameters w:h means width x height in pixels, x:y means x;y position counted
5627 from the upper left corner of the bigger image.
5630 To get a full list of available video filters, see \-vf help.
5632 Video filters are managed in lists.
5633 There are a few commands to manage the filter list.
5636 .B \-vf\-add <filter1[,filter2,...]>
5637 Appends the filters given as arguments to the filter list.
5640 .B \-vf\-pre <filter1[,filter2,...]>
5641 Prepends the filters given as arguments to the filter list.
5644 .B \-vf\-del <index1[,index2,...]>
5645 Deletes the filters at the given indexes.
5646 Index numbers start at 0, negative numbers address the end of the
5647 list (\-1 is the last).
5651 Completely empties the filter list.
5653 With filters that support it, you can access parameters by their name.
5656 .B \-vf <filter>=help
5657 Prints the parameter names and parameter value ranges for a particular
5661 .B \-vf <filter=named_parameter1=value1[:named_parameter2=value2:...]>
5662 Sets a named parameter to the given value.
5663 Use on and off or yes and no to set flag parameters.
5665 Available filters are:
5669 Crops the given part of the image and discards the rest.
5670 Useful to remove black bands from widescreen movies.
5674 Cropped width and height, defaults to original width and height.
5676 Position of the cropped picture, defaults to center.
5681 .B cropdetect[=limit:round[:reset]]
5682 Calculates necessary cropping parameters and prints the recommended parameters
5687 Threshold, which can be optionally specified from nothing (0) to
5688 everything (255) (default: 24).
5691 Value which the width/\:height should be divisible by (default: 16).
5692 The offset is automatically adjusted to center the video.
5693 Use 2 to get only even dimensions (needed for 4:2:2 video).
5694 16 is best when encoding to most video codecs.
5697 Counter that determines after how many frames cropdetect will reset the
5698 previously detected largest video area and start over to detect the current
5699 optimal crop area (default: 0).
5700 This can be useful when channel logos distort the video area.
5701 0 indicates never reset and return the largest area encountered during playback.
5706 .B rectangle[=w:h:x:y]
5707 Draws a rectangle of the requested width and height at the specified
5708 coordinates over the image and prints current rectangle parameters
5710 This can be used to find optimal cropping parameters.
5711 If you bind the input.conf directive 'change_rectangle' to keystrokes,
5712 you can move and resize the rectangle on the fly.
5716 width and height (default: \-1, maximum possible width where boundaries
5719 top left corner position (default: \-1, uppermost leftmost)
5724 .B expand[=w:h:x:y:o:a:r]
5725 Expands (not scales) movie resolution to the given value and places the
5726 unscaled original at coordinates x, y.
5727 Can be used for placing subtitles/\:OSD in the resulting black bands.
5730 Expanded width,height (default: original width,height).
5731 Negative values for w and h are treated as offsets to the original size.
5736 .IP expand=0:\-50:0:0
5737 Adds a 50 pixel border to the bottom of the picture.
5741 position of original image on the expanded image (default: center)
5743 OSD/\:subtitle rendering
5745 0: disable (default)
5750 Expands to fit an aspect instead of a resolution (default: 0).
5755 .IP expand=800:::::4/3
5756 Expands to 800x600, unless the source is higher resolution, in which
5757 case it expands to fill a 4/3 aspect.
5761 Rounds up to make both width and height divisible by <r> (default: 1).
5765 .B flip (also see \-flip)
5766 Flips the image upside down.
5770 Mirrors the image on the Y axis.
5774 Rotates the image by 90 degrees and optionally flips it.
5775 For values between 4\-7 rotation is only done if the movie geometry is
5776 portrait and not landscape.
5779 Rotate by 90 degrees clockwise and flip (default).
5781 Rotate by 90 degrees clockwise.
5783 Rotate by 90 degrees counterclockwise.
5785 Rotate by 90 degrees counterclockwise and flip.
5789 .B scale[=w:h[:interlaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]
5790 Scales the image with the software scaler (slow) and performs a YUV<\->RGB
5791 colorspace conversion (also see \-sws).
5794 scaled width/\:height (default: original width/\:height)
5797 If \-zoom is used, and underlying filters (including libvo) are
5798 incapable of scaling, it defaults to d_width/\:d_height!
5800 0: scaled d_width/\:d_height
5802 \-1: original width/\:height
5804 \-2: Calculate w/h using the other dimension and the prescaled aspect ratio.
5806 \-3: Calculate w/h using the other dimension and the original aspect ratio.
5808 \-(n+8): Like \-n above, but rounding the dimension to the closest multiple of 16.
5811 Toggle interlaced scaling.
5820 0: Use all available input lines for chroma.
5822 1: Use only every 2. input line for chroma.
5824 2: Use only every 4. input line for chroma.
5826 3: Use only every 8. input line for chroma.
5828 .IPs "<par>[:<par2>] (also see \-sws)"
5829 Set some scaling parameters depending on the type of scaler selected
5832 \-sws 2 (bicubic): B (blurring) and C (ringing)
5836 0.00:0.75 VirtualDub's "precise bicubic"
5838 0.00:0.50 Catmull-Rom spline
5840 0.33:0.33 Mitchell-Netravali spline
5842 1.00:0.00 cubic B-spline
5844 \-sws 7 (gaussian): sharpness (0 (soft) \- 100 (sharp))
5846 \-sws 9 (lanczos): filter length (1\-10)
5849 Scale to preset sizes.
5851 qntsc: 352x240 (NTSC quarter screen)
5853 qpal: 352x288 (PAL quarter screen)
5855 ntsc: 720x480 (standard NTSC)
5857 pal: 720x576 (standard PAL)
5859 sntsc: 640x480 (square pixel NTSC)
5861 spal: 768x576 (square pixel PAL)
5864 Disallow upscaling past the original dimensions.
5866 0: Allow upscaling (default).
5868 1: Disallow upscaling if one dimension exceeds its original value.
5870 2: Disallow upscaling if both dimensions exceed their original values.
5873 Accurate rounding for the vertical scaler, which may be faster
5874 or slower than the default rounding.
5876 0: Disable accurate rounding (default).
5878 1: Enable accurate rounding.
5883 .B dsize[=aspect|w:h:aspect-method:r]
5884 Changes the intended display size/\:aspect at an arbitrary point in the
5886 Aspect can be given as a fraction (4/3) or floating point number
5888 Alternatively, you may specify the exact display width and height
5890 Note that this filter does
5892 do any scaling itself; it just affects
5893 what later scalers (software or hardware) will do when auto-scaling to
5897 New display width and height.
5898 Can also be these special values:
5900 0: original display width and height
5902 \-1: original video width and height (default)
5904 \-2: Calculate w/h using the other dimension and the original display
5907 \-3: Calculate w/h using the other dimension and the original video
5915 Specifies a display resolution of 800x600 for a 4/3 aspect video, or
5916 800x450 for a 16/9 aspect video.
5918 .IPs <aspect-method>
5919 Modifies width and height according to original aspect ratios.
5921 \-1: Ignore original aspect ratio (default).
5923 0: Keep display aspect ratio by using <w> and <h> as maximum
5926 1: Keep display aspect ratio by using <w> and <h> as minimum
5929 2: Keep video aspect ratio by using <w> and <h> as maximum
5932 3: Keep video aspect ratio by using <w> and <h> as minimum
5940 Specifies a display resolution of at most 800x600, or smaller, in order
5945 Rounds up to make both width and height divisible by <r> (default: 1).
5950 Forces software YVU9 to YV12 colorspace conversion.
5951 Deprecated in favor of the software scaler.
5955 Clamps YUV color values to the CCIR 601 range without doing real conversion.
5959 RGB/BGR 8 \-> 15/16/24/32bpp colorspace conversion using palette.
5962 .B format[=fourcc[:outfourcc]]
5963 Restricts the colorspace for the next filter without doing any conversion.
5964 Use together with the scale filter for a real conversion.
5967 For a list of available formats see format=fmt=help.
5971 format name like rgb15, bgr24, yv12, etc (default: yuy2)
5973 Format name that should be substituted for the output.
5974 If this is not 100% compatible with the <fourcc> value it will crash.
5978 format=rgb24:bgr24 format=yuyv:yuy2
5980 Invalid examples (will crash):
5987 .B noformat[=fourcc]
5988 Restricts the colorspace for the next filter without doing any conversion.
5989 Unlike the format filter, this will allow any colorspace
5991 the one you specify.
5994 For a list of available formats see noformat=fmt=help.
5998 format name like rgb15, bgr24, yv12, etc (default: yv12)
6003 .B pp[=filter1[:option1[:option2...]]/[\-]filter2...] (also see \-pphelp)
6004 Enables the specified chain of postprocessing subfilters.
6005 Subfilters must be separated by '/' and can be disabled by
6007 Each subfilter and some options have a short and a long name that can be
6008 used interchangeably, i.e.\& dr/dering are the same.
6009 All subfilters share common options to determine their scope:
6013 Automatically switch the subfilter off if the CPU is too slow.
6015 Do chrominance filtering, too (default).
6017 Do luminance filtering only (no chrominance).
6019 Do chrominance filtering only (no luminance).
6026 \-pphelp shows a list of available subfilters.
6028 Available subfilters are
6031 .IPs hb/hdeblock[:difference[:flatness]]
6032 horizontal deblocking filter
6034 <difference>: Difference factor where higher values mean
6035 more deblocking (default: 32).
6037 <flatness>: Flatness threshold where lower values mean
6038 more deblocking (default: 39).
6040 .IPs vb/vdeblock[:difference[:flatness]]
6041 vertical deblocking filter
6043 <difference>: Difference factor where higher values mean
6044 more deblocking (default: 32).
6046 <flatness>: Flatness threshold where lower values mean
6047 more deblocking (default: 39).
6049 .IPs ha/hadeblock[:difference[:flatness]]
6050 accurate horizontal deblocking filter
6052 <difference>: Difference factor where higher values mean
6053 more deblocking (default: 32).
6055 <flatness>: Flatness threshold where lower values mean
6056 more deblocking (default: 39).
6058 .IPs va/vadeblock[:difference[:flatness]]
6059 accurate vertical deblocking filter
6061 <difference>: Difference factor where higher values mean
6062 more deblocking (default: 32).
6064 <flatness>: Flatness threshold where lower values mean
6065 more deblocking (default: 39).
6068 The horizontal and vertical deblocking filters share the
6069 difference and flatness values so you cannot set
6070 different horizontal and vertical thresholds.
6073 experimental horizontal deblocking filter
6075 experimental vertical deblocking filter
6078 .IPs tn/tmpnoise[:threshold1[:threshold2[:threshold3]]]
6079 temporal noise reducer
6081 <threshold1>: larger -> stronger filtering
6083 <threshold2>: larger -> stronger filtering
6085 <threshold3>: larger -> stronger filtering
6087 .IPs al/autolevels[:f/fullyrange]
6088 automatic brightness / contrast correction
6090 f/fullyrange: Stretch luminance to (0\-255).
6092 .IPs lb/linblenddeint
6093 Linear blend deinterlacing filter that deinterlaces the given block
6094 by filtering all lines with a (1 2 1) filter.
6095 .IPs li/linipoldeint
6096 Linear interpolating deinterlacing filter that deinterlaces the given block
6097 by linearly interpolating every second line.
6098 .IPs ci/cubicipoldeint
6099 Cubic interpolating deinterlacing filter deinterlaces the given block
6100 by cubically interpolating every second line.
6102 Median deinterlacing filter that deinterlaces the given block
6103 by applying a median filter to every second line.
6105 FFmpeg deinterlacing filter that deinterlaces the given block
6106 by filtering every second line with a (\-1 4 2 4 \-1) filter.
6108 Vertically applied FIR lowpass deinterlacing filter that deinterlaces
6109 the given block by filtering all lines with a (\-1 2 6 2 \-1) filter.
6110 .IPs fq/forceQuant[:quantizer]
6111 Overrides the quantizer table from the input with the constant
6112 quantizer you specify.
6114 <quantizer>: quantizer to use
6117 default pp filter combination (hb:a,vb:a,dr:a)
6119 fast pp filter combination (h1:a,v1:a,dr:a)
6121 high quality pp filter combination (ha:a:128:7,va:a,dr:a)
6129 .IPs "\-vf pp=hb/vb/dr/al"
6130 horizontal and vertical deblocking, deringing and automatic
6131 brightness/\:contrast
6132 .IPs "\-vf pp=de/\-al"
6133 default filters without brightness/\:contrast correction
6134 .IPs "\-vf pp=default/tmpnoise:1:2:3"
6135 Enable default filters & temporal denoiser.
6136 .IPs "\-vf pp=hb:y/vb:a"
6137 Horizontal deblocking on luminance only, and switch vertical deblocking
6138 on or off automatically depending on available CPU time.
6143 .B spp[=quality[:qp[:mode]]]
6144 Simple postprocessing filter that compresses and decompresses the
6145 image at several (or \- in the case of quality level 6 \- all)
6146 shifts and averages the results.
6151 Force quantization parameter (default: 0, use QP from video).
6153 0: hard thresholding (default)
6155 1: soft thresholding (better deringing, but blurrier)
6157 4: like 0, but also use B-frames' QP (may cause flicker)
6159 5: like 1, but also use B-frames' QP (may cause flicker)
6163 .B uspp[=quality[:qp]]
6164 Ultra simple & slow postprocessing filter that compresses and
6165 decompresses the image at several (or \- in the case of quality
6166 level 8 \- all) shifts and averages the results.
6167 The way this differs from the behavior of spp is that uspp actually
6168 encodes & decodes each case with libavcodec Snow, whereas spp uses
6169 a simplified intra only 8x8 DCT similar to MJPEG.
6174 Force quantization parameter (default: 0, use QP from video).
6178 .B fspp[=quality[:qp[:strength[:bframes]]]]
6179 faster version of the simple postprocessing filter
6182 4\-5 (equivalent to spp; default: 4)
6184 Force quantization parameter (default: 0, use QP from video).
6186 Filter strength, lower values mean more details but also more artifacts,
6187 while higher values make the image smoother but also blurrier (default:
6190 0: do not use QP from B-frames (default)
6192 1: use QP from B-frames too (may cause flicker)
6197 Variant of the spp filter, similar to spp=6 with 7 point DCT where
6198 only the center sample is used after IDCT.
6201 Force quantization parameter (default: 0, use QP from video).
6203 0: hard thresholding
6205 1: soft thresholding (better deringing, but blurrier)
6207 2: medium thresholding (default, good results)
6212 quantization parameter (QP) change filter
6215 some equation like "2+2*sin(PI*qp)"
6220 generic equation change filter
6223 Some equation, e.g.\& 'p(W-X\\,Y)' to flip the image horizontally.
6224 You can use whitespace to make the equation more readable.
6225 There are a couple of constants that can be used in the equation:
6231 X / Y: the coordinates of the current sample
6233 W / H: width and height of the image
6235 SW / SH: width/height scale depending on the currently filtered plane, e.g.\&
6236 1,1 and 0.5,0.5 for YUV 4:2:0.
6238 p(x,y): returns the value of the pixel at location x/y of the current plane.
6244 Generate various test patterns.
6247 .B rgbtest[=width:height]
6248 Generate an RGB test pattern useful for detecting RGB vs BGR issues.
6249 You should see a red, green and blue stripe from top to bottom.
6252 Desired width of generated image (default: 0).
6253 0 means width of input image.
6256 Desired height of generated image (default: 0).
6257 0 means height of input image.
6261 .B lavc[=quality:fps]
6262 Fast software YV12 to MPEG-1 conversion with libavcodec for use with DVB/\:DXR3/\:IVTV/\:V4L2.
6267 32\-: fixed bitrate in kbits
6269 force output fps (float value) (default: 0, autodetect based on height)
6273 .B dvbscale[=aspect]
6274 Set up optimal scaling for DVB cards, scaling the x axis in hardware and
6275 calculating the y axis scaling in software to keep aspect.
6276 Only useful together with expand and scale.
6279 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default:
6280 576*4/3=768), set it to 576*(16/9)=1024 for a 16:9 TV.
6288 .IPs "\-vf dvbscale,scale=\-1:0,expand=\-1:576:\-1:\-1:1,lavc"
6289 FIXME: Explain what this does.
6294 .B noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
6303 uniform noise (gaussian otherwise)
6305 temporal noise (noise pattern changes between frames)
6307 averaged temporal noise (smoother, but a lot slower)
6309 high quality (slightly better looking, slightly slower)
6311 mix random noise with a (semi)regular pattern
6316 .B denoise3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6317 This filter aims to reduce image noise producing smooth images and making still
6318 images really still (This should enhance compressibility.).
6322 spatial luma strength (default: 4)
6323 .IPs <chroma_spatial>
6324 spatial chroma strength (default: 3)
6326 luma temporal strength (default: 6)
6328 chroma temporal strength (default: luma_tmp*chroma_spatial/luma_spatial)
6333 .B hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6334 High precision/\:quality version of the denoise3d filter.
6335 Parameters and usage are the same.
6338 .B ow[=depth[:luma_strength[:chroma_strength]]]
6339 Overcomplete Wavelet denoiser.
6343 Larger depth values will denoise lower frequency components more, but
6344 slow down filtering (default: 8).
6345 .IPs <luma_strength>
6346 luma strength (default: 1.0)
6347 .IPs <chroma_strength>
6348 chroma strength (default: 1.0)
6353 .B eq[=brightness:contrast] (OBSOLETE)
6354 Software equalizer with interactive controls just like the hardware
6355 equalizer, for cards/\:drivers that do not support brightness and
6356 contrast controls in hardware.
6367 .B eq2[=gamma:contrast:brightness:saturation:rg:gg:bg:weight]
6368 Alternative software equalizer that uses lookup tables (very slow),
6369 allowing gamma correction in addition to simple brightness
6370 and contrast adjustment.
6371 Note that it uses the same MMX optimized code as \-vf eq if all
6372 gamma values are 1.0.
6373 The parameters are given as floating point values.
6377 initial gamma value (default: 1.0)
6379 initial contrast, where negative values result in a
6380 negative image (default: 1.0)
6382 initial brightness (default: 0.0)
6384 initial saturation (default: 1.0)
6386 gamma value for the red component (default: 1.0)
6388 gamma value for the green component (default: 1.0)
6390 gamma value for the blue component (default: 1.0)
6392 The weight parameter can be used to reduce the effect of a high gamma value on
6393 bright image areas, e.g.\& keep them from getting overamplified and just plain
6395 A value of 0.0 turns the gamma correction all the way down while 1.0 leaves it
6396 at its full strength (default: 1.0).
6401 .B hue[=hue:saturation]
6402 Software equalizer with interactive controls just like the hardware
6403 equalizer, for cards/\:drivers that do not support hue and
6404 saturation controls in hardware.
6408 initial hue (default: 0.0)
6410 initial saturation, where negative values result
6411 in a negative chroma (default: 1.0)
6417 Convert planar YUV 4:2:0 to half-height packed 4:2:2, downsampling luma but
6418 keeping all chroma samples.
6419 Useful for output to low-resolution display devices when hardware downscaling
6420 is poor quality or is not available.
6421 Can also be used as a primitive luma-only deinterlacer with very low CPU
6426 By default, halfpack averages pairs of lines when downsampling.
6427 Any value different from 0 or 1 gives the default (averaging) behavior.
6429 0: Only use even lines when downsampling.
6431 1: Only use odd lines when downsampling.
6438 When interlaced video is stored in YUV 4:2:0 formats, chroma
6439 interlacing does not line up properly due to vertical downsampling of
6440 the chroma channels.
6441 This filter packs the planar 4:2:0 data into YUY2 (4:2:2) format with
6442 the chroma lines in their proper locations, so that in any given
6443 scanline, the luma and chroma data both come from the same field.
6447 Select the sampling mode.
6449 0: nearest-neighbor sampling, fast but incorrect
6451 1: linear interpolation (default)
6457 .B decimate[=max:hi:lo:frac]
6458 Drops frames that do not differ greatly from the previous frame in
6459 order to reduce framerate.
6460 The main use of this filter is for very-low-bitrate encoding (e.g.\&
6461 streaming over dialup modem), but it could in theory be used for
6462 fixing movies that were inverse-telecined incorrectly.
6466 Sets the maximum number of consecutive frames which can be
6467 dropped (if positive), or the minimum interval between
6468 dropped frames (if negative).
6469 .IPs <hi>,<lo>,<frac>
6470 A frame is a candidate for dropping if no 8x8 region differs by more
6471 than a threshold of <hi>, and if not more than <frac> portion (1
6472 meaning the whole image) differs by more than a threshold of <lo>.
6473 Values of <hi> and <lo> are for 8x8 pixel blocks and represent actual
6474 pixel value differences, so a threshold of 64 corresponds to 1 unit of
6475 difference for each pixel, or the same spread out differently over the
6481 .B dint[=sense:level]
6482 The drop-deinterlace (dint) filter detects and drops the first from a set
6483 of interlaced video frames.
6487 relative difference between neighboring pixels (default: 0.1)
6489 What part of the image has to be detected as interlaced to
6490 drop the frame (default: 0.15).
6495 .B lavcdeint (OBSOLETE)
6496 FFmpeg deinterlacing filter, same as \-vf pp=fd
6499 .B kerndeint[=thresh[:map[:order[:sharp[:twoway]]]]]
6500 Donald Graft's adaptive kernel deinterlacer.
6501 Deinterlaces parts of a video if a configurable threshold is exceeded.
6505 threshold (default: 10)
6508 0: Ignore pixels exceeding the threshold (default).
6510 1: Paint pixels exceeding the threshold white.
6514 0: Leave fields alone (default).
6520 0: Disable additional sharpening (default).
6522 1: Enable additional sharpening.
6526 0: Disable twoway sharpening (default).
6528 1: Enable twoway sharpening.
6534 .B unsharp[=l|cWxH:amount[:l|cWxH:amount]]
6535 unsharp mask / gaussian blur
6538 Apply effect on luma component.
6540 Apply effect on chroma components.
6541 .IPs <width>x<height>
6542 width and height of the matrix, odd sized in both directions
6543 (min = 3x3, max = 13x11 or 11x13, usually something between 3x3 and 7x7)
6545 Relative amount of sharpness/\:blur to add to the image
6546 (a sane range should be \-1.5\-1.5).
6559 .B il[=d|i][s][:[d|i][s]]
6560 (De)interleaves lines.
6561 The goal of this filter is to add the ability to process interlaced images
6562 pre-field without deinterlacing them.
6563 You can filter your interlaced DVD and play it on a TV without breaking the
6565 While deinterlacing (with the postprocessing filter) removes interlacing
6566 permanently (by smoothing, averaging, etc) deinterleaving splits the frame into
6567 2 fields (so called half pictures), so you can process (filter) them
6568 independently and then re-interleave them.
6572 deinterleave (placing one above the other)
6576 swap fields (exchange even & odd lines)
6582 (De)interleaves lines.
6583 This filter is very similar to the il filter but much faster, the main
6584 disadvantage is that it does not always work.
6585 Especially if combined with other filters it may produce randomly messed
6586 up images, so be happy if it works but do not complain if it does not for
6587 your combination of filters.
6591 Deinterleave fields, placing them side by side.
6593 Interleave fields again (reversing the effect of fil=d).
6599 Extracts a single field from an interlaced image using stride arithmetic
6600 to avoid wasting CPU time.
6601 The optional argument n specifies whether to extract the even or the odd
6602 field (depending on whether n is even or odd).
6605 .B detc[=var1=value1:var2=value2:...]
6606 Attempts to reverse the 'telecine' process to recover a clean,
6607 non-interlaced stream at film framerate.
6608 This was the first and most primitive inverse telecine filter to be
6610 It works by latching onto the telecine 3:2 pattern and following it as
6612 This makes it suitable for perfectly-telecined material, even in the
6613 presence of a fair degree of noise, but it will fail in the presence
6614 of complex post-telecine edits.
6615 Development on this filter is no longer taking place, as ivtc, pullup,
6616 and filmdint are better for most applications.
6617 The following arguments (see syntax above) may be used to control
6621 Set the frame dropping mode.
6623 0: Do not drop frames to maintain fixed output framerate (default).
6625 1: Always drop a frame when there have been no drops or telecine
6626 merges in the past 5 frames.
6628 2: Always maintain exact 5:4 input to output frame ratio.
6633 0: Fixed pattern with initial frame number specified by <fr>.
6635 1: aggressive search for telecine pattern (default)
6638 Set initial frame number in sequence.
6639 0\-2 are the three clean progressive frames; 3 and 4 are the two
6641 The default, \-1, means 'not in telecine sequence'.
6642 The number specified here is the type for the imaginary previous
6643 frame before the movie starts.
6644 .IPs "<t0>, <t1>, <t2>, <t3>"
6645 Threshold values to be used in certain modes.
6650 Experimental 'stateless' inverse telecine filter.
6651 Rather than trying to lock on to a pattern like the detc filter does,
6652 ivtc makes its decisions independently for each frame.
6653 This will give much better results for material that has undergone
6654 heavy editing after telecine was applied, but as a result it is not as
6655 forgiving of noisy input, for example TV capture.
6656 The optional parameter (ivtc=1) corresponds to the dr=1 option for the
6657 detc filter, and should not be used with MPlayer.
6658 Further development on ivtc has stopped, as the pullup and filmdint
6659 filters appear to be much more accurate.
6662 .B pullup[=jl:jr:jt:jb:sb:mp]
6663 Third-generation pulldown reversal (inverse telecine) filter,
6664 capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001
6665 fps progressive content.
6666 The pullup filter is designed to be much more robust than detc or
6667 ivtc, by taking advantage of future context in making its decisions.
6668 Like ivtc, pullup is stateless in the sense that it does not lock onto
6669 a pattern to follow, but it instead looks forward to the following
6670 fields in order to identify matches and rebuild progressive frames.
6671 It is still under development, but believed to be quite accurate.
6673 .IPs "jl, jr, jt, and jb"
6674 These options set the amount of "junk" to ignore at
6675 the left, right, top, and bottom of the image, respectively.
6676 Left/\:right are in units of 8 pixels, while top/\:bottom are in units of
6678 The default is 8 pixels on each side.
6680 .IPs "sb (strict breaks)"
6681 Setting this option to 1 will reduce the chances of
6682 pullup generating an occasional mismatched frame, but it may also
6683 cause an excessive number of frames to be dropped during high motion
6685 Conversely, setting it to \-1 will make pullup match fields more
6687 This may help processing of video where there is slight blurring
6688 between the fields, but may also cause there to be interlaced frames
6691 .IPs "mp (metric plane)"
6692 This option may be set to 1 or 2 to use a chroma
6693 plane instead of the luma plane for doing pullup's computations.
6694 This may improve accuracy on very clean source material, but more
6695 likely will decrease accuracy, especially if there is chroma noise
6696 (rainbow effect) or any grayscale video.
6697 The main purpose of setting mp to a chroma plane is to reduce CPU load
6698 and make pullup usable in realtime on slow machines.
6702 .B filmdint[=options]
6703 Inverse telecine filter, similar to the pullup filter above.
6704 It is designed to handle any pulldown pattern, including mixed soft and
6705 hard telecine and limited support for movies that are slowed down or sped
6706 up from their original framerate for TV.
6707 Only the luma plane is used to find the frame breaks.
6708 If a field has no match, it is deinterlaced with simple linear
6710 If the source is MPEG-2, this must be the first filter to allow
6711 access to the field-flags set by the MPEG-2 decoder.
6712 Depending on the source MPEG, you may be fine ignoring this advice, as
6713 long as you do not see lots of "Bottom-first field" warnings.
6714 With no options it does normal inverse telecine.
6715 When this filter is used with MPlayer, it will result in an uneven
6716 framerate during playback, but it is still generally better than using
6717 pp=lb or no deinterlacing at all.
6718 Multiple options can be specified separated by /.
6720 .IPs crop=<w>:<h>:<x>:<y>
6721 Just like the crop filter, but faster, and works on mixed hard and soft
6722 telecined content as well as when y is not a multiple of 4.
6723 If x or y would require cropping fractional pixels from the chroma
6724 planes, the crop area is extended.
6725 This usually means that x and y must be even.
6726 .IPs io=<ifps>:<ofps>
6727 For each ifps input frames the filter will output ofps frames.
6728 This could be used to filter movies that are broadcast on TV at a frame
6729 rate different from their original framerate.
6731 If n is nonzero, the chroma plane is copied unchanged.
6732 This is useful for YV12 sampled TV, which discards one of the chroma
6735 On x86, if n=1, use MMX2 optimized functions, if n=2, use 3DNow!
6736 optimized functions, otherwise, use plain C.
6737 If this option is not specified, MMX2 and 3DNow! are auto-detected, use
6738 this option to override auto-detection.
6740 The larger n will speed up the filter at the expense of accuracy.
6741 The default value is n=3.
6742 If n is odd, a frame immediately following a frame marked with the
6743 REPEAT_FIRST_FIELD MPEG flag is assumed to be progressive, thus filter
6744 will not spend any time on soft-telecined MPEG-2 content.
6745 This is the only effect of this flag if MMX2 or 3DNow! is available.
6746 Without MMX2 and 3DNow, if n=0 or 1, the same calculations will be used
6748 If n=2 or 3, the number of luma levels used to find the frame breaks is
6749 reduced from 256 to 128, which results in a faster filter without losing
6751 If n=4 or 5, a faster, but much less accurate metric will be used to
6752 find the frame breaks, which is more likely to misdetect high vertical
6753 detail as interlaced content.
6755 If n is nonzero, print the detailed metrics for each frame.
6756 Useful for debugging.
6758 Deinterlace threshold.
6759 Used during de-interlacing of unmatched frames.
6760 Larger value means less deinterlacing, use n=256 to completely turn off
6764 Threshold for comparing a top and bottom fields.
6767 Threshold to detect temporal change of a field.
6770 Sum of Absolute Difference threshold, default is 64.
6775 Inverse telecine for deinterlaced video.
6776 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced
6777 using a method that keeps one field and interpolates the other, the result is
6778 a juddering video that has every fourth frame duplicated.
6779 This filter is intended to find and drop those duplicates and restore the
6780 original film framerate.
6781 Two different modes are available:
6782 One pass mode is the default and is straightforward to use,
6783 but has the disadvantage that any changes in the telecine
6784 phase (lost frames or bad edits) cause momentary judder
6785 until the filter can resync again.
6786 Two pass mode avoids this by analyzing the whole video
6787 beforehand so it will have forward knowledge about the
6788 phase changes and can resync at the exact spot.
6791 correspond to pass one and two of the encoding process.
6792 You must run an extra pass using divtc pass one before the
6793 actual encoding throwing the resulting video away.
6794 Use \-nosound \-ovc raw \-o /dev/null to avoid
6795 wasting CPU power for this pass.
6796 You may add something like crop=2:2:0:0 after divtc
6797 to speed things up even more.
6798 Then use divtc pass two for the actual encoding.
6799 If you use multiple encoder passes, use divtc
6800 pass two for all of them.
6805 .IPs file=<filename>
6806 Set the two pass log filename (default: "framediff.log").
6807 .IPs threshold=<value>
6808 Set the minimum strength the telecine pattern must have for the filter to
6809 believe in it (default: 0.5).
6810 This is used to avoid recognizing false pattern from the parts of the video
6811 that are very dark or very still.
6812 .IPs window=<numframes>
6813 Set the number of past frames to look at when searching for pattern
6815 Longer window improves the reliability of the pattern search, but shorter
6816 window improves the reaction time to the changes in the telecine phase.
6817 This only affects the one pass mode.
6818 The two pass mode currently uses fixed window that extends to both future
6820 .IPs phase=0|1|2|3|4
6821 Sets the initial telecine phase for one pass mode (default: 0).
6822 The two pass mode can see the future, so it is able to use the correct
6823 phase from the beginning, but one pass mode can only guess.
6824 It catches the correct phase when it finds it, but this option can be used
6825 to fix the possible juddering at the beginning.
6826 The first pass of the two pass mode also uses this, so if you save the output
6827 from the first pass, you get constant phase result.
6828 .IPs deghost=<value>
6829 Set the deghosting threshold (0\-255 for one pass mode, \-255\-255 for two pass
6831 If nonzero, deghosting mode is used.
6832 This is for video that has been deinterlaced by blending the fields
6833 together instead of dropping one of the fields.
6834 Deghosting amplifies any compression artifacts in the blended frames, so the
6835 parameter value is used as a threshold to exclude those pixels from
6836 deghosting that differ from the previous frame less than specified value.
6837 If two pass mode is used, then negative value can be used to make the
6838 filter analyze the whole video in the beginning of pass-2 to determine
6839 whether it needs deghosting or not and then select either zero or the
6840 absolute value of the parameter.
6841 Specify this option for pass-2, it makes no difference on pass-1.
6845 .B phase[=t|b|p|a|u|T|B|A|U][:v]
6846 Delay interlaced video by one field time so that the field order
6848 The intended use is to fix PAL movies that have been captured with the
6849 opposite field order to the film-to-video transfer.
6853 Capture field order top-first, transfer bottom-first.
6854 Filter will delay the bottom field.
6856 Capture bottom-first, transfer top-first.
6857 Filter will delay the top field.
6859 Capture and transfer with the same field order.
6860 This mode only exists for the documentation of the other options to refer to,
6861 but if you actually select it, the filter will faithfully do nothing ;-)
6863 Capture field order determined automatically by field flags, transfer opposite.
6864 Filter selects among t and b modes on a frame by frame basis using field flags.
6865 If no field information is available, then this works just like u.
6867 Capture unknown or varying, transfer opposite.
6868 Filter selects among t and b on a frame by frame basis by analyzing the
6869 images and selecting the alternative that produces best match between the
6872 Capture top-first, transfer unknown or varying.
6873 Filter selects among t and p using image analysis.
6875 Capture bottom-first, transfer unknown or varying.
6876 Filter selects among b and p using image analysis.
6878 Capture determined by field flags, transfer unknown or varying.
6879 Filter selects among t, b and p using field flags and image analysis.
6880 If no field information is available, then this works just like U.
6881 This is the default mode.
6883 Both capture and transfer unknown or varying.
6884 Filter selects among t, b and p using image analysis only.
6887 Prints the selected mode for each frame and the average squared difference
6888 between fields for t, b, and p alternatives.
6893 Apply 3:2 'telecine' process to increase framerate by 20%.
6894 This most likely will not work correctly with MPlayer.
6895 The optional start parameter tells the filter where in the telecine
6896 pattern to start (0\-3).
6899 .B tinterlace[=mode]
6900 Temporal field interlacing \- merge pairs of frames into an interlaced
6901 frame, halving the framerate.
6902 Even frames are moved into the upper field, odd frames to the lower field.
6903 This can be used to fully reverse the effect of the tfields filter (in mode 0).
6904 Available modes are:
6908 Move odd frames into the upper field, even into the lower field, generating
6909 a full-height frame at half framerate.
6911 Only output odd frames, even frames are dropped; height unchanged.
6913 Only output even frames, odd frames are dropped; height unchanged.
6915 Expand each frame to full height, but pad alternate lines with black;
6916 framerate unchanged.
6918 Interleave even lines from even frames with odd lines from odd frames.
6919 Height unchanged at half framerate.
6924 .B tfields[=mode[:field_dominance]]
6925 Temporal field separation \- split fields into frames, doubling the
6930 0: Leave fields unchanged (will jump/\:flicker).
6932 1: Interpolate missing lines. (The algorithm used might not be so good.)
6934 2: Translate fields by 1/4 pixel with linear interpolation (no jump).
6936 4: Translate fields by 1/4 pixel with 4tap filter (higher quality) (default).
6937 .IPs <field_dominance>\ (DEPRECATED)
6939 Only works if the decoder exports the appropriate information and
6940 no other filters which discard that information come before tfields
6941 in the filter chain, otherwise it falls back to 0 (top field first).
6945 1: bottom field first
6948 This option will possibly be removed in a future version.
6949 Use \-field\-dominance instead.
6954 .B yadif=[mode[:field_dominance]]
6955 Yet another deinterlacing filter
6959 0: Output 1 frame for each frame.
6961 1: Output 1 frame for each field.
6963 2: Like 0 but skips spatial interlacing check.
6965 3: Like 1 but skips spatial interlacing check.
6966 .IPs <field_dominance>\ (DEPRECATED)
6967 Operates like tfields.
6970 This option will possibly be removed in a future version.
6971 Use \-field\-dominance instead.
6976 .B mcdeint=[mode[:parity[:qp]]]
6977 Motion compensating deinterlacer.
6978 It needs one field per frame as input and must thus be used together
6979 with tfields=1 or yadif=1/3 or equivalent.
6987 2: slow, iterative motion estimation
6989 3: extra slow, like 2 plus multiple reference frames
6991 0 or 1 selects which field to use (note: no autodetection yet!).
6993 Higher values should result in a smoother motion vector
6994 field but less optimal individual vectors.
6999 .B boxblur=radius:power[:radius:power]
7004 blur filter strength
7006 number of filter applications
7011 .B sab=radius:pf:colorDiff[:radius:pf:colorDiff]
7016 blur filter strength (~0.1\-4.0) (slower if larger)
7018 prefilter strength (~0.1\-2.0)
7020 maximum difference between pixels to still be considered (~0.1\-100.0)
7025 .B smartblur=radius:strength:threshold[:radius:strength:threshold]
7030 blur filter strength (~0.1\-5.0) (slower if larger)
7032 blur (0.0\-1.0) or sharpen (\-1.0\-0.0)
7034 filter all (0), filter flat areas (0\-30) or filter edges (\-30\-0)
7039 .B perspective=x0:y0:x1:y1:x2:y2:x3:y3:t
7040 Correct the perspective of movies not filmed perpendicular to the screen.
7044 coordinates of the top left, top right, bottom left, bottom right corners
7046 linear (0) or cubic resampling (1)
7052 Scale and smooth the image with the 2x scale and interpolate algorithm.
7056 1bpp bitmap to YUV/\:BGR 8/\:15/\:16/\:32 conversion
7059 .B down3dright[=lines]
7060 Reposition and resize stereoscopic images.
7061 Extracts both stereo fields and places them side by side, resizing
7062 them to maintain the original movie aspect.
7066 number of lines to select from the middle of the image (default: 12)
7071 .B bmovl=hidden:opaque:fifo
7072 The bitmap overlay filter reads bitmaps from a FIFO and displays them
7073 on top of the movie, allowing some transformations on the image.
7074 Also see TOOLS/bmovl-test.c for a small bmovl test program.
7078 Set the default value of the 'hidden' flag (0=visible, 1=hidden).
7080 Set the default value of the 'opaque' flag (0=transparent, 1=opaque).
7082 path/\:filename for the FIFO (named pipe connecting 'mplayer \-vf bmovl' to the
7083 controlling application)
7092 .IPs "RGBA32 width height xpos ypos alpha clear"
7093 followed by width*height*4 Bytes of raw RGBA32 data.
7094 .IPs "ABGR32 width height xpos ypos alpha clear"
7095 followed by width*height*4 Bytes of raw ABGR32 data.
7096 .IPs "RGB24 width height xpos ypos alpha clear"
7097 followed by width*height*3 Bytes of raw RGB24 data.
7098 .IPs "BGR24 width height xpos ypos alpha clear"
7099 followed by width*height*3 Bytes of raw BGR24 data.
7100 .IPs "ALPHA width height xpos ypos alpha"
7101 Change alpha transparency of the specified area.
7102 .IPs "CLEAR width height xpos ypos"
7105 Disable all alpha transparency.
7106 Send "ALPHA 0 0 0 0 0" to enable it again.
7119 .IPs "<width>, <height>"
7121 .IPs "<xpos>, <ypos>"
7122 Start blitting at position x/y.
7124 Set alpha difference.
7125 If you set this to \-255 you can then send a sequence of ALPHA-commands to set
7126 the area to \-225, \-200, \-175 etc for a nice fade-in-effect! ;)
7130 255: Make everything opaque.
7132 \-255: Make everything transparent.
7135 Clear the framebuffer before blitting.
7137 0: The image will just be blitted on top of the old one, so you do not need to
7138 send 1.8MB of RGBA32 data every time a small part of the screen is updated.
7146 .B framestep=I|[i]step
7147 Renders only every nth frame or every intra frame (keyframe).
7149 If you call the filter with I (uppercase) as the parameter, then
7151 keyframes are rendered.
7152 For DVDs it generally means one in every 15/12 frames (IBBPBBPBBPBBPBB),
7153 for AVI it means every scene change or every keyint value.
7155 When a keyframe is found, an 'I!' string followed by a newline character is
7156 printed, leaving the current line of MPlayer output on the screen, because it
7157 contains the time (in seconds) and frame number of the keyframe (You can use
7158 this information to split the AVI.).
7160 If you call the filter with a numeric parameter 'step' then only one in
7161 every 'step' frames is rendered.
7163 If you put an 'i' (lowercase) before the number then an 'I!' is printed
7164 (like the I parameter).
7166 If you give only the i then nothing is done to the frames, only I! is
7170 .B tile=xtiles:ytiles:output:start:delta
7171 Tile a series of images into a single, bigger image.
7172 If you omit a parameter or use a value less than 0, then the default
7174 You can also stop when you are satisfied (... \-vf tile=10:5 ...).
7175 It is probably a good idea to put the scale filter before the tile :-)
7182 number of tiles on the x axis (default: 5)
7184 number of tiles on the y axis (default: 5)
7186 Render the tile when 'output' number of frames are reached, where 'output'
7187 should be a number less than xtile * ytile.
7188 Missing tiles are left blank.
7189 You could, for example, write an 8 * 7 tile every 50 frames to have one
7190 image every 2 seconds @ 25 fps.
7192 outer border thickness in pixels (default: 2)
7194 inner border thickness in pixels (default: 4)
7199 .B delogo[=x:y:w:h:t]
7200 Suppresses a TV station logo by a simple interpolation of the
7202 Just set a rectangle covering the logo and watch it disappear (and
7203 sometimes something even uglier appear \- your mileage may vary).
7207 top left corner of the logo
7209 width and height of the cleared rectangle
7211 Thickness of the fuzzy edge of the rectangle (added to w and h).
7212 When set to \-1, a green rectangle is drawn on the screen to
7213 simplify finding the right x,y,w,h parameters.
7218 .B remove\-logo=/path/to/logo_bitmap_file_name.pgm
7219 Suppresses a TV station logo, using a PGM or PPM image
7220 file to determine which pixels comprise the logo.
7221 The width and height of the image file must match
7222 those of the video stream being processed.
7223 Uses the filter image and a circular blur
7224 algorithm to remove the logo.
7226 .IPs /path/to/logo_bitmap_file_name.pgm
7227 [path] + filename of the filter image.
7232 Allows acquiring screenshots of the movie using slave mode
7233 commands that can be bound to keypresses.
7234 See the slave mode documentation and the INTERACTIVE CONTROL
7235 section for details.
7236 Files named 'shotNNNN.png' will be saved in the working directory,
7237 using the first available number \- no files will be overwritten.
7238 The filter has no overhead when not used and accepts an arbitrary
7239 colorspace, so it is safe to add it to the configuration file.
7240 Make sure that the screenshot filter is added after all other filters
7241 whose effect you want to record on the saved image.
7242 E.g.\& it should be the last filter if you want to have an exact
7243 screenshot of what you see on the monitor.
7248 Moves SSA/ASS subtitle rendering to an arbitrary point in the filter chain.
7249 Only useful with the \-ass option.
7254 .IPs "\-vf ass,screenshot"
7255 Moves SSA/ASS rendering before the screenshot filter.
7256 Screenshots taken this way will contain subtitles.
7261 .B blackframe[=amount:threshold]
7262 Detect frames that are (almost) completely black.
7263 Can be useful to detect chapter transitions or commercials.
7264 Output lines consist of the frame number of the detected frame, the
7265 percentage of blackness, the frame type and the frame number of the last
7266 encountered keyframe.
7269 Percentage of the pixels that have to be below the threshold (default: 98).
7271 Threshold below which a pixel value is considered black (default: 32).
7276 .B stereo3d[=in:out]
7277 Stereo3d converts between different stereoscopic image formats.
7280 Stereoscopic image format of input. Possible values:
7282 .B sbsl or side_by_side_left_first
7284 side by side parallel (left eye left, right eye right)
7286 .B sbsr or side_by_side_right_first
7288 side by side crosseye (right eye left, left eye right)
7290 .B abl or above_below_left_first
7292 above-below (left eye above, right eye below)
7294 .B abl or above_below_right_first
7296 above-below (right eye above, left eye below)
7298 .B ab2l or above_below_half_height_left_first
7300 above-below with half height resolution (left eye above, right eye below)
7302 .B ab2r or above_below_half_height_right_first
7304 above-below with half height resolution (right eye above, left eye below)
7308 Stereoscopic image format of output. Possible values are all the input formats
7311 .B arcg or anaglyph_red_cyan_gray
7313 anaglyph red/cyan gray (red filter on left eye, cyan filter on right eye)
7315 .B arch or anaglyph_red_cyan_half_color
7317 anaglyph red/cyan half colored (red filter on left eye, cyan filter on right
7320 .B arcc or anaglyph_red_cyan_color
7322 anaglyph red/cyan color (red filter on left eye, cyan filter on right eye)
7324 .B arcd or anaglyph_red_cyan_dubois
7326 anaglyph red/cyan color optimized with the least squares projection of dubois
7327 (red filter on left eye, cyan filter on right eye)
7329 .B agmg or anaglyph_green_magenta_gray
7331 anaglyph green/magenta gray (green filter on left eye, magenta filter on right
7334 .B agmh or anaglyph_green_magenta_half_color
7336 anaglyph green/magenta half colored (green filter on left eye, magenta filter on
7339 .B agmc or anaglyph_green_magenta_color
7341 anaglyph green/magenta colored (green filter on left eye, magenta filter on
7344 .B aybg or anaglyph_yellow_blue_gray
7346 anaglyph yellow/blue gray (yellow filter on left eye, blue filter on right eye)
7348 .B aybh or anaglyph_yellow_blue_half_color
7350 anaglyph yellow/blue half colored (yellow filter on left eye, blue filter on
7353 .B aybc or anaglyph_yellow_blue_color
7355 anaglyph yellow/blue colored (yellow filter on left eye, blue filter on right
7360 mono output (left eye only)
7364 mono output (right eye only)
7371 .B gradfun[=strength[:radius]]
7372 Fix the banding artifacts that are sometimes introduced into nearly flat
7373 regions by truncation to 8bit colordepth.
7374 Interpolates the gradients that should go where the bands are, and
7377 This filter is designed for playback only.
7378 Do not use it prior to lossy compression, because compression tends
7379 to lose the dither and bring back the bands.
7382 Maximum amount by which the filter will change any one pixel.
7383 Also the threshold for detecting nearly flat regions (default: 1.2).
7385 Neighborhood to fit the gradient to.
7386 Larger radius makes for smoother gradients, but also prevents the filter
7387 from modifying pixels near detailed regions (default: 16).
7392 Fixes the presentation timestamps (PTS) of the frames.
7393 By default, the PTS passed to the next filter is dropped, but the following
7394 options can change that:
7397 Print the incoming PTS.
7399 Specify a frame per second value.
7401 Specify an initial value for the PTS.
7405 incoming PTS as the initial PTS.
7406 All previous PTS are kept, so setting a huge value or \-1 keeps the PTS
7411 incoming PTS after the end of autostart to determine the framerate.
7419 .IPs "\-vf fixpts=fps=24000/1001,ass,fixpts"
7420 Generates a new sequence of PTS, uses it for ASS subtitles, then drops it.
7421 Generating a new sequence is useful when the timestamps are reset during the
7422 program; this is frequent on DVDs.
7423 Dropping it may be necessary to avoid confusing encoders.
7429 Using this filter together with any sort of seeking (including -ss and EDLs)
7430 may make demons fly out of your nose.
7434 .\" --------------------------------------------------------------------------
7435 .\" environment variables
7436 .\" --------------------------------------------------------------------------
7438 .SH ENVIRONMENT VARIABLES
7440 There are a number of environment variables that can be used to
7441 control the behavior of MPlayer.
7444 .B MPLAYER_CHARSET (also see \-msgcharset)
7445 Convert console messages to the specified charset (default: autodetect).
7446 A value of "noconv" means no conversion.
7450 Directory where MPlayer looks for user settings.
7453 .B MPLAYER_LOCALEDIR
7454 Directory where MPlayer looks for gettext translation files (if enabled).
7457 .B MPLAYER_VERBOSE (also see \-v and \-msglevel)
7458 Set the initial verbosity level across all message modules (default: 0).
7459 The resulting verbosity corresponds to that of \-msglevel 5 plus the
7460 value of MPLAYER_VERBOSE.
7466 If LADSPA_PATH is set, it searches for the specified file.
7467 If it is not set, you must supply a fully specified pathname.
7468 FIXME: This is also mentioned in the ladspa section.
7474 Specify a directory in which to store title key values.
7475 This will speed up descrambling of DVDs which are in the cache.
7476 The DVDCSS_CACHE directory is created if it does not exist,
7477 and a subdirectory is created named after the DVD's title
7478 or manufacturing date.
7479 If DVDCSS_CACHE is not set or is empty, libdvdcss will use
7480 the default value which is "${HOME}/.dvdcss/" under Unix and
7481 "C:\\Documents and Settings\\$USER\\Application Data\\dvdcss\\" under Win32.
7482 The special value "off" disables caching.
7486 Sets the authentication and decryption method that
7487 libdvdcss will use to read scrambled discs.
7488 Can be one of title, key or disc.
7492 is the default method.
7493 libdvdcss will use a set of calculated player keys to try and get the disc key.
7494 This can fail if the drive does not recognize any of the player keys.
7496 is a fallback method when key has failed.
7497 Instead of using player keys, libdvdcss will crack the disc key using
7498 a brute force algorithm.
7499 This process is CPU intensive and requires 64 MB of memory to store
7502 is the fallback when all other methods have failed.
7503 It does not rely on a key exchange with the DVD drive, but rather uses
7504 a crypto attack to guess the title key.
7505 On rare cases this may fail because there is not enough encrypted data
7506 on the disc to perform a statistical attack, but in the other hand it
7507 is the only way to decrypt a DVD stored on a hard disc, or a DVD with
7508 the wrong region on an RPC2 drive.
7513 .B DVDCSS_RAW_DEVICE
7514 Specify the raw device to use.
7515 Exact usage will depend on your operating system, the Linux
7516 utility to set up raw devices is raw(8) for instance.
7517 Please note that on most operating systems, using a raw device
7518 requires highly aligned buffers: Linux requires a 2048 bytes
7519 alignment (which is the size of a DVD sector).
7523 Sets the libdvdcss verbosity level.
7527 Outputs no messages at all.
7529 Outputs error messages to stderr.
7531 Outputs error messages and debug messages to stderr.
7537 Skip retrieving all keys on startup.
7542 FIXME: Document this.
7547 .B AO_SUN_DISABLE_SAMPLE_TIMING
7548 FIXME: Document this.
7552 FIXME: Document this.
7556 Specifies the Network Audio System server to which the
7557 nas audio output driver should connect and the transport
7558 that should be used.
7559 If unset DISPLAY is used instead.
7560 The transport can be one of tcp and unix.
7561 Syntax is tcp/<somehost>:<someport>, <somehost>:<instancenumber>
7562 or [unix]:<instancenumber>.
7563 The NAS base port is 8000 and <instancenumber> is added to that.
7570 .IPs AUDIOSERVER=somehost:0
7571 Connect to NAS server on somehost using default port and transport.
7572 .IPs AUDIOSERVER=tcp/somehost:8000
7573 Connect to NAS server on somehost listening on TCP port 8000.
7574 .IPs AUDIOSERVER=(unix)?:0
7575 Connect to NAS server instance 0 on localhost using unix domain sockets.
7581 FIXME: Document this.
7587 FIXME: Document this.
7593 FIXME: Document this.
7597 FIXME: Document this.
7601 FIXME: Document this.
7607 FIXME: Document this.
7611 FIXME: Document this.
7615 FIXME: Document this.
7619 FIXME: Document this.
7623 FIXME: Document this.
7629 FIXME: Document this.
7633 FIXME: Document this.
7637 FIXME: Document this.
7643 FIXME: Document this.
7647 FIXME: Document this.
7651 FIXME: Document this.
7655 FIXME: Document this.
7659 FIXME: Document this.
7663 FIXME: Document this.
7667 .\" --------------------------------------------------------------------------
7669 .\" --------------------------------------------------------------------------
7674 /usr/\:local/\:etc/\:mplayer/\:mplayer.conf
7675 MPlayer system-wide settings
7679 MPlayer user settings
7682 ~/.mplayer/\:input.conf
7683 input bindings (see '\-input keylist' for the full list)
7687 font directory (There must be a font.desc file and files with .RAW extension.)
7690 ~/.mplayer/\:DVDkeys/
7694 Assuming that /path/\:to/\:movie.avi is played, MPlayer searches for sub files
7697 /path/\:to/\:movie.sub
7699 ~/.mplayer/\:sub/\:movie.sub
7704 .\" --------------------------------------------------------------------------
7706 .\" --------------------------------------------------------------------------
7708 .SH EXAMPLES OF MPLAYER USAGE
7711 .B Quickstart Blu\-ray playing:
7713 mplayer br:////path/to/disc
7714 mplayer br:// \-bluray\-device /path/to/disc
7718 .B Quickstart DVD playing:
7724 .B Play in Japanese with English subtitles:
7726 mplayer dvd://1 \-alang ja \-slang en
7730 .B Play only chapters 5, 6, 7:
7732 mplayer dvd://1 \-chapter 5\-7
7736 .B Play only titles 5, 6, 7:
7742 .B Play a multiangle DVD:
7744 mplayer dvd://1 \-dvdangle 2
7748 .B Play from a different DVD device:
7750 mplayer dvd://1 \-dvd\-device /dev/\:dvd2
7754 .B Play DVD video from a directory with VOB files:
7756 mplayer dvd://1 \-dvd\-device /path/\:to/\:directory/
7760 .B Copy a DVD title to hard disk, saving to file "title1.vob":
7762 mplayer dvd://1 \-dumpstream \-dumpfile title1.vob
7766 .B Play a DVD with dvdnav from path /dev/sr1:
7768 mplayer dvdnav:////dev/sr1
7772 .B Stream from HTTP:
7774 mplayer http://mplayer.hq/example.avi
7778 .B Stream using RTSP:
7780 mplayer rtsp://server.example.com/streamName
7784 .B Convert subtitles to MPsub format:
7786 mplayer dummy.avi \-sub source.sub \-dumpmpsub
7790 .B Convert subtitles to MPsub format without watching the movie:
7792 mplayer /dev/\:zero \-rawvideo pal:fps=xx \-demuxer rawvideo \-vc null \-vo null \-noframedrop \-benchmark \-sub source.sub \-dumpmpsub
7796 .B input from standard V4L:
7798 mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 \-vo xv
7802 .B Play DTS-CD with passthrough:
7804 mplayer \-ac hwdts \-rawaudio format=0x2001 \-cdrom\-device /dev/cdrom cdda://
7807 You can also use \-afm hwac3 instead of \-ac hwdts.
7808 Adjust '/dev/cdrom' to match the CD-ROM device on your system.
7809 If your external receiver supports decoding raw DTS streams,
7810 you can directly play it via cdda:// without setting format, hwac3 or hwdts.
7813 .B Play a 6-channel AAC file with only two speakers:
7815 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
7818 You might want to play a bit with the pan values (e.g multiply with a value) to
7819 increase volume or avoid clipping.
7822 .B checkerboard invert with geq filter:
7824 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'
7828 .\" --------------------------------------------------------------------------
7829 .\" Bugs, authors, standard disclaimer
7830 .\" --------------------------------------------------------------------------
7833 MPlayer was initially written by Arpad Gereoffy.
7834 See the AUTHORS file for a list of some of the many other contributors.
7836 MPlayer is (C) 2000\-2011 The MPlayer Team
7838 This man page was written mainly by Gabucino, Jonas Jermann and Diego Biurrun.