input: modify interpretation of doubleclick events
[mplayer/greg.git] / DOCS / man / en / mplayer.1
blob7d96bd2773c917bbc34fab56049b137751167324
1 .\" $Revision$
2 .\" MPlayer (C) 2000-2010 MPlayer Team
3 .\" This man page was/is done by Gabucino, Diego Biurrun, Jonas Jermann
5 .\" --------------------------------------------------------------------------
6 .\" Macro definitions
7 .\" --------------------------------------------------------------------------
9 .\" define indentation for suboptions
10 .nr SS 5
11 .\" add new suboption
12 .de IPs
13 .IP "\\$1" \n(SS
15 .\" begin of first level suboptions, end with .RE
16 .de RSs
17 .RS 10
19 .\" begin of 2nd level suboptions
20 .de RSss
21 .PD 0
22 .RS \n(SS+3
24 .\" end of 2nd level suboptions
25 .de REss
26 .RE
27 .PD 1
30 .\" --------------------------------------------------------------------------
31 .\" Title
32 .\" --------------------------------------------------------------------------
34 .TH MPlayer 1 "2009-03-25" "The MPlayer Project" "The Movie Player"
36 .SH NAME
37 mplayer \- movie player
39 .\" --------------------------------------------------------------------------
40 .\" Synopsis
41 .\" --------------------------------------------------------------------------
43 .SH SYNOPSIS
44 .na
45 .nh
46 .B mplayer
47 [options] [file|URL|playlist|\-]
49 .br
50 .B mplayer
51 [options] file1
52 [specific options] [file2] [specific options]
54 .br
55 .B mplayer
56 [options]
57 {group of files and options}
58 [group-specific options]
60 .br
61 .B mplayer
62 [br]://[title][/device]
63 [options]
65 .br
66 .B mplayer
67 [dvd|dvdnav]://[title|[start_title]\-end_title][/device]
68 [options]
70 .br
71 .B mplayer
72 vcd://track[/device]
74 .br
75 .B mplayer
76 tv://[channel][/input_id]
77 [options]
79 .br
80 .B mplayer
81 radio://[channel|frequency][/capture]
82 [options]
84 .br
85 .B mplayer
86 pvr://
87 [options]
89 .br
90 .B mplayer
91 dvb://[card_number@]channel
92 [options]
94 .br
95 .B mplayer
96 mf://[filemask|@listfile]
97 [\-mf options] [options]
99 .br
100 .B mplayer
101 [cdda|cddb]://track[\-endtrack][:speed][/device]
102 [options]
105 .B mplayer
106 cue://file[:track]
107 [options]
110 .B mplayer
111 [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]://
112 [user:pass@]URL[:port] [options]
115 .B mplayer
116 sdp://file
117 [options]
120 .B mplayer
121 mpst://host[:port]/URL
122 [options]
125 .B mplayer
126 tivo://host/[list|llist|fsid]
127 [options]
131 .\" --------------------------------------------------------------------------
132 .\" Description
133 .\" --------------------------------------------------------------------------
135 .SH DESCRIPTION
136 .B mplayer
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,
143 too.
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
152 fullscreen mode.
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
162 of this man page.
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.
178 .B keyboard control
179 .PD 0
181 .IPs "<\- and \->"
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).
185 .IPs "up and down"
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.
191 .IPs "[ and ]"
192 Decrease/increase current playback speed by 10%.
193 .IPs "{ and }"
194 Halve/double current playback speed.
195 .IPs "backspace"
196 Reset playback speed to normal.
197 .IPs "< and >"
198 Go backward/\:forward in the playlist.
199 .IPs "ENTER"
200 Go forward in the playlist, even over the end.
201 .IPs "HOME and END"
202 next/\:previous playtree entry in the parent list
203 .IPs "INS and DEL (ASX playlist only)"
204 next/\:previous alternative source.
205 .IPs "p / SPACE"
206 Pause (pressing again unpauses).
207 .IPs ".\ \ \ \ "
208 Step forward.
209 Pressing once will pause movie, every consecutive press will play one frame
210 and then go into pause mode again.
211 .IPs "q / ESC"
212 Stop playing and quit.
213 .IPs "U\ \ \ \ "
214 Stop playing (and quit if \-idle is not used).
215 .IPs "+ and \-"
216 Adjust audio delay by +/\- 0.1 seconds.
217 .IPs "/ and *"
218 Decrease/\:increase volume.
219 .IPs "9 and 0"
220 Decrease/\:increase volume.
221 .IPs "( and )"
222 Adjust audio balance in favor of left/\:right channel.
223 .IPs "m\ \ \ \ "
224 Mute sound.
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.
231 .IPs "f\ \ \ \ "
232 Toggle fullscreen (also see \-fs).
233 .IPs "T\ \ \ \ "
234 Toggle stay-on-top (also see \-ontop).
235 .IPs "w and e"
236 Decrease/\:increase pan-and-scan range.
237 .IPs "o\ \ \ \ "
238 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
239 .IPs "d\ \ \ \ "
240 Toggle frame dropping states: none / skip display / skip decoding
241 (see \-framedrop and \-hardframedrop).
242 .IPs "v\ \ \ \ "
243 Toggle subtitle visibility.
244 .IPs "j and J"
245 Cycle through the available subtitles.
246 .IPs "y and g"
247 Step forward/backward in the subtitle list.
248 .IPs "F\ \ \ \ "
249 Toggle displaying "forced subtitles".
250 .IPs "a\ \ \ \ "
251 Toggle subtitle alignment: top / middle / bottom.
252 .IPs "x and z"
253 Adjust subtitle delay by +/\- 0.1 seconds.
254 .IPs "C (\-capture only)"
255 Start/stop capturing the primary stream.
256 .IPs "r and t"
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)"
261 Take a screenshot.
262 .IPs "S (\-vf screenshot only)"
263 Start/stop taking screenshots.
264 .IPs "I\ \ \ \ "
265 Show filename on the OSD.
266 .IPs "P\ \ \ \ "
267 Show progression bar, elapsed time and total duration on the OSD.
268 .IPs "! and @"
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.
272 .IPs "A\ \ \ \ "
273 Cycle through the available DVD angles.
274 .IPs "c (currently -vo vdpau and -vo xv only)"
275 Change YUV colorspace.
277 .PD 1
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).)
285 .PD 0
287 .IPs "1 and 2"
288 Adjust contrast.
289 .IPs "3 and 4"
290 Adjust brightness.
291 .IPs "5 and 6"
292 Adjust hue.
293 .IPs "7 and 8"
294 Adjust saturation.
296 .PD 1
299 (The following keys are valid only when using the quartz or corevideo
300 video output driver.)
303 .PD 0
305 .IPs "command + 0"
306 Resize movie window to half its original size.
307 .IPs "command + 1"
308 Resize movie window to its original size.
309 .IPs "command + 2"
310 Resize movie window to double its original size.
311 .IPs "command + f"
312 Toggle fullscreen (also see \-fs).
313 .IPs "command + [ and command + ]"
314 Set movie window alpha.
316 .PD 1
319 (The following keys are valid only when using the sdl
320 video output driver.)
323 .PD 0
325 .IPs "c\ \ \ \ "
326 Cycle through available fullscreen modes.
327 .IPs "n\ \ \ \ "
328 Restore original mode.
330 .PD 1
333 (The following keys are valid if you have a keyboard
334 with multimedia keys.)
337 .PD 0
339 .IPs PAUSE
340 Pause.
341 .IPs "STOP\ "
342 Stop playing and quit.
343 .IPs "PREVIOUS and NEXT"
344 Seek backward/\:forward 1 minute.
346 .PD 1
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.)
353 .PD 0
355 .IPs "h and k"
356 Select previous/\:next channel.
357 .IPs "n\ \ \ \ "
358 Change norm.
359 .IPs "u\ \ \ \ "
360 Change channel list.
362 .PD 1
365 (The following keys are only valid if you compiled with dvdnav
366 support: They are used to navigate the menus.)
369 .PD 0
371 .IPs "keypad 8"
372 Select button up.
373 .IPs "keypad 2"
374 Select button down.
375 .IPs "keypad 4"
376 Select button left.
377 .IPs "keypad 6"
378 Select button right.
379 .IPs "keypad 5"
380 Return to main menu.
381 .IPs "keypad 7"
382 Return to nearest menu (the order of preference is: chapter->title->root).
383 .IPs "keypad ENTER"
384 Confirm choice.
386 .PD 1
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.)
394 .PD 0
396 .IPs "X\ \ \ \ "
397 Switch teletext on/\:off.
398 .IPs "Q and W"
399 Go to next/\:prev teletext page.
401 .PD 1
404 .B mouse control
405 .PD 0
407 .IPs "button 3 and button 4"
408 Seek backward/\:forward 1 minute.
409 .IPs "button 5 and button 6"
410 Decrease/\:increase volume.
412 .PD 1
415 .B joystick control
416 .PD 0
418 .IPs "left and right"
419 Seek backward/\:forward 10 seconds.
420 .IPs "up and down"
421 Seek forward/\:backward 1 minute.
422 .IPs "button 1"
423 Pause.
424 .IPs "button 2"
425 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
426 .IPs "button 3 and button 4"
427 Decrease/\:increase volume.
429 .PD 1
432 .\" --------------------------------------------------------------------------
433 .\" Usage
434 .\" --------------------------------------------------------------------------
436 .SH "USAGE"
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.
443 .I NOTE:
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
451 .I EXAMPLES:
453 mplayer \-ao pcm:file=%10%C:test.wav test.avi
455 Or in a script:
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
481 ~/.mplayer/.
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
488 configuration files.
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:
493 .sp 1
495 # Use Matrox driver by default.
496 vo=xmga
497 # I love practicing handstands while watching videos.
498 flip=yes
499 # Decode multiple files from PNG,
500 # start with mf://filemask
501 mf=type=png:fps=25
502 # Eerie negative images are cool.
503 vf=eq2=1.0:\-0.8
506 .\" --------------------------------------------------------------------------
507 .\" Profiles
508 .\" --------------------------------------------------------------------------
510 .SH "PROFILES"
511 To ease working with different configurations profiles can be defined in the
512 configuration files.
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
516 option.
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:"
522 .sp 1
525 [protocol.dvd]
526 profile-desc="profile for dvd:// streams"
527 vf=pp=hb/vb/dr/al/fd
528 alang=en
530 [protocol.dvdnav]
531 profile-desc="profile for dvdnav:// streams"
532 profile=protocol.dvd
533 mouse-movements=yes
534 nocache=yes
536 [extension.flv]
537 profile-desc="profile for .flv files"
538 flip=yes
540 [vo.pnm]
541 outdir=/tmp
543 [ao.alsa]
544 device=spdif
547 .\" --------------------------------------------------------------------------
548 .\" Options
549 .\" --------------------------------------------------------------------------
551 .SH "GENERAL OPTIONS"
554 .B \-codecpath <dir>
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.
567 .B \-list\-options
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).
576 .I NOTE:
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.
582 .B \-msgcolor
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.
592 .I NOTE:
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.
598 Available levels:
599 .PD 0
600 .RSs
601 .IPs "\-1"
602 complete silence
603 .IPs " 0"
604 fatal messages only
605 .IPs " 1"
606 error messages
607 .IPs " 2"
608 warning messages
609 .IPs " 3"
610 short hints
611 .IPs " 4"
612 informational messages
613 .IPs " 5"
614 status messages (default)
615 .IPs " 6"
616 verbose messages
617 .IPs " 7"
618 debug level 2
619 .IPs " 8"
620 debug level 3
621 .IPs " 9"
622 debug level 4
624 .PD 1
627 .B \-msgmodule
628 Prepend module name in front of each console message.
631 .B \-noconfig <options>
632 Do not parse selected configuration files.
634 .I NOTE:
635 If \-include or \-use\-filedir\-conf options are
636 specified at the command line, they will be honoured.
637 .sp 1
638 Available options are:
639 .PD 0
640 .RSs
641 .IPs "all\ \ "
642 all configuration files
643 .IPs system
644 system configuration file
645 .IPs "user\ "
646 user configuration file
648 .PD 1
651 .B "\-quiet\ "
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>:
662 .RSs
663 idle|belownormal|normal|abovenormal|high|realtime
665 .sp 1
667 .I WARNING:
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.
688 .I WARNING:
689 May be dangerous if playing from untrusted media.
692 .B "\-v\ \ \ \ \ "
693 Increment verbosity level, one level for each \-v
694 found on the command line.
698 .SH "PLAYER OPTIONS"
701 .B \-autoq <quality> (use with \-vf [s]pp)
702 Dynamically changes the level of postprocessing depending on the available spare
703 CPU time.
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.
726 .B \-benchmark
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
729 video codec.
731 .I NOTE:
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
752 drivers.
755 .B \-nocolorkey
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
759 drivers.
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
782 (\-vo directx only).
785 .B \-edlout <filename>
786 Creates a new file and writes edit decision list (EDL) records to it.
787 During playback, the user hits 'i' to mark the start or end of a skip block.
788 This provides a starting point from which the user can fine-tune EDL entries
789 later.
790 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details.
793 .B \-fixed\-vo, \-nofixed\-vo
794 \-fixed\-vo enforces a fixed video system for multiple files (one
795 (un)initialization for all files).
796 Therefore only one window will be opened for all files.
797 Now enabled by default, use \-nofixed\-vo to disable and create a new window
798 whenever the video stream changes.
799 Some of the older drivers may not be fixed-vo compliant.
802 .B \-framedrop (also see \-hardframedrop, experimental without \-nocorrect\-pts)
803 Skip displaying some frames to maintain A/V sync on slow systems.
804 Video filters are not applied to such frames.
805 For B-frames even decoding is skipped completely.
808 .B \-h, \-help, \-\-help
809 Show short summary of options.
812 .B \-hardframedrop (experimental without \-nocorrect\-pts)
813 More intense frame dropping (breaks decoding).
814 Leads to image distortion!
815 Note that especially the libmpeg2 decoder may crash with this,
816 so consider using "\-vc ffmpeg12,".
819 .B \-heartbeat\-cmd
820 Command that is executed every 30 seconds during playback via system() -
821 i.e.\& using the shell.
822 .sp 1
823 .I NOTE:
824 MPlayer uses this command without any checking, it is your responsibility
825 to ensure it does not cause security problems (e.g.\& make sure to use full
826 paths if "." is in your path like on Windows).
827 It also only works when playing video (i.e.\& not with \-novideo but works with \-vo null).
828 .sp 1
829 This can be "misused" to disable screensavers that do not support the proper
830 X API (also see \-stop\-xscreensaver).
831 If you think this is too complicated, ask the author of the screensaver
832 program to support the proper X APIs.
833 .sp 1
834 .I EXAMPLE for xscreensaver:
835 mplayer \-heartbeat\-cmd "xscreensaver\-command \-deactivate" file
836 .sp 1
837 .I EXAMPLE for GNOME screensaver:
838 mplayer \-heartbeat\-cmd "gnome\-screensaver\-command \-p" file
840 .PD 1
843 .B \-hr\-seek off|absolute|always
844 Select when to use precise seeks that are not limited to keyframes.
845 Such seeks require decoding video from the previous keyframe up to the target
846 position and so can take some time depending on decoding performance.
847 For some video formats precise seeks are disabled. This option selects the
848 default choice to use for seeks; it's possible to explicitly override that
849 default in the definition of key bindings and in slave mode commands.
850 .PD 0
851 .RSs
852 .IPs off
853 Never use precise seeks.
854 .IPs absolute
855 Use precise seeks if the seek is to an absolute position in the file,
856 such as a chapter seek, but not for relative seeks like the default
857 behavior of arrow keys (default).
858 .IPs always
859 Use precise seeks whenever possible.
861 .PD 1
864 .B \-identify
865 Shorthand for \-msglevel identify=4.
866 Show file parameters in an easily parseable format.
867 Also prints more detailed information about subtitle and audio
868 track languages and IDs.
869 In some cases you can get more information by using \-msglevel identify=6.
870 For example, for a DVD or Blu\-ray it will list the chapters and time length
871 of each title, as well as a disk ID.
872 Combine this with \-frames 0 to suppress all video output.
873 The wrapper script TOOLS/\:midentify.sh suppresses the other MPlayer output and
874 (hopefully) shellescapes the filenames.
877 .B \-idle (also see \-slave)
878 Makes MPlayer wait idly instead of quitting when there is no file to play.
879 Mostly useful in slave mode where MPlayer can be controlled
880 through input commands.
883 .B \-input <commands>
884 This option can be used to configure certain parts of the input system.
885 Paths are relative to ~/.mplayer/.
887 .I NOTE:
888 Autorepeat is currently only supported by joysticks.
889 .sp 1
890 Available commands are:
891 .sp 1
892 .PD 0
893 .RSs
894 .IPs conf=<filename>
895 Specify input configuration file other than the default
896 ~/\:.mplayer/\:input.conf.
897 ~/\:.mplayer/\:<filename> is assumed if no full path is given.
898 .IPs ar-dev=<device>
899 Device to be used for Apple IR Remote (default is autodetected, Linux only).
900 .IPs ar-delay
901 Delay in milliseconds before we start to autorepeat a key (0 to disable).
902 .IPs ar-rate
903 Number of key presses to generate per second on autorepeat.
904 .IPs (no)default-bindings
905 Use the key bindings that MPlayer ships with by default.
906 .IPs keylist
907 Prints all keys that can be bound to commands.
908 .IPs cmdlist
909 Prints all commands that can be bound to keys.
910 .IPs js-dev
911 Specifies the joystick device to use (default: /dev/\:input/\:js0).
912 .IPs file=<filename>
913 Read commands from the given file.
914 Mostly useful with a FIFO.
916 .I NOTE:
917 When the given file is a FIFO MPlayer opens both ends so you can do
918 several 'echo "seek 10" > mp_pipe' and the pipe will stay valid.
920 .PD 1
923 .B \-key\-fifo\-size <2\-65000>
924 Specify the size of the FIFO that buffers key events (default: 7).
925 A FIFO of size n can buffer (n\-1) events.
926 If it is too small some events may be lost
927 (leading to "stuck mouse buttons" and similar effects).
928 If it is too big, MPlayer may seem to hang while it
929 processes the buffered events.
930 To get the same behavior as before this option was introduced,
931 set it to 2 for Linux or 1024 for Windows.
934 .B \-lircconf <filename> (LIRC only)
935 Specifies a configuration file for LIRC (default: ~/.lircrc).
938 .B \-list\-properties
939 Print a list of the available properties.
942 .B \-loop <number>
943 Loops movie playback <number> times.
944 0 means forever.
947 .B \-menu (OSD menu only)
948 Turn on OSD menu support.
951 .B \-menu\-cfg <filename> (OSD menu only)
952 Use an alternative menu.conf.
955 .B \-menu\-chroot <path> (OSD menu only)
956 Chroot the file selection menu to a specific location.
957 .sp 1
958 .I EXAMPLE:
959 .PD 0
960 .RSs
961 .IPs "\-menu\-chroot /home"
962 Will restrict the file selection menu to /\:home and downward (i.e.\& no
963 access to / will be possible, but /home/user_name will).
965 .PD 1
968 .B \-menu\-keepdir (OSD menu only)
969 File browser starts from the last known location instead of current directory.
972 .B \-menu\-root <value> (OSD menu only)
973 Specify the main menu.
976 .B \-menu\-startup (OSD menu only)
977 Display the main menu at MPlayer startup.
980 .B \-mouse\-movements
981 Permit MPlayer to receive pointer events reported by the video
982 output driver.
983 Necessary to select the buttons in DVD menus.
984 Supported for X11-based VOs (x11, xv, xvmc, etc) and the gl, gl2, direct3d and
985 corevideo VOs.
988 .B \-noar
989 Turns off AppleIR remote support.
992 .B \-noconsolecontrols
993 Prevent MPlayer from reading key events from standard input.
994 Useful when reading data from standard input.
995 This is automatically enabled when \- is found on the command line.
996 There are situations where you have to set it manually, e.g.\&
997 if you open /dev/\:stdin (or the equivalent on your system), use stdin
998 in a playlist or intend to read from stdin later on via the loadfile or
999 loadlist slave commands.
1002 .B \-noinitial-audio-sync
1003 When starting a video file or after events such as seeking MPlayer will by
1004 default modify the audio stream to make it start from the same timestamp as
1005 video, by either inserting silence at the start or cutting away the first
1006 samples.
1007 This option disables that functionality and makes the player behave like
1008 older MPlayer versions did: video and audio are both started immediately
1009 even if their start timestamps differ, and then video timing is gradually
1010 adjusted if necessary to reach correct synchronization later.
1013 .B \-nojoystick
1014 Turns off joystick support.
1017 .B \-nolirc
1018 Turns off LIRC support.
1021 .B \-nomouseinput
1022 Disable mouse button press/\:release input (mozplayerxp's context menu relies
1023 on this option).
1025 .B \-noordered\-chapters
1026 Disable support for Matroska ordered chapters.
1027 MPlayer will not load or search for video segments from other files,
1028 and will also ignore any chapter order specified for the main file.
1031 .B \-pts\-association\-mode auto|decode|sort
1032 Select the method used to determine which container packet timestamp
1033 corresponds to a particular output frame from the video decoder.
1034 Normally you shouldn't need to change this option.
1035 .PD 0
1036 .RSs
1037 .IPs auto
1038 Try to pick a working mode from the ones below automatically (default)
1039 .IPs decoder
1040 Use decoder reordering functionality.
1041 .IPs sort
1042 Maintain a buffer of unused pts values and use the lowest value for the frame.
1044 .PD 1
1047 .B \-rtc (RTC only)
1048 Turns on usage of the Linux RTC (realtime clock \- /dev/\:rtc) as timing
1049 mechanism.
1050 This wakes up the process every 1/1024 seconds to check the current time.
1051 Useless with modern Linux kernels configured for desktop use as they already
1052 wake up the process with similar accuracy when using normal timed sleep.
1055 .B \-playing\-msg <string>
1056 Print out a string before starting playback.
1057 The following expansions are supported:
1058 .RSs
1059 .IPs ${NAME}
1060 Expand to the value of the property NAME.
1061 .IPs ?(NAME:TEXT)
1062 Expand TEXT only if the property NAME is available.
1063 .IPs ?(!NAME:TEXT)
1064 Expand TEXT only if the property NAME is not available.
1068 .B \-playlist <filename>
1069 Play files according to a playlist file (ASX, Winamp, SMIL, or
1070 one-file-per-line format).
1072 .I WARNING:
1073 The way MPlayer parses and uses playlist files is not safe against
1074 maliciously constructed files.
1075 Such files may trigger harmful actions.
1076 This has been the case for all MPlayer versions, but unfortunately this
1077 fact was not well documented earlier, and some people have even misguidedly
1078 recommended use of -playlist with untrusted sources.
1079 Do NOT use -playlist with random internet sources or files you don't trust!
1081 .I NOTE:
1082 This option is considered an entry so options found after it will apply
1083 only to the elements of this playlist.
1085 FIXME: This needs to be clarified and documented thoroughly.
1088 .B \-rtc\-device <device>
1089 Use the specified device for RTC timing.
1092 .B \-shuffle
1093 Play files in random order.
1096 .B \-slave (also see \-input)
1097 Switches on slave mode, in which MPlayer works as a backend for other programs.
1098 Instead of intercepting keyboard events, MPlayer will read commands separated
1099 by a newline (\\n) from stdin.
1101 .I NOTE:
1102 See \-input cmdlist for a list of slave commands and DOCS/tech/slave.txt
1103 for their description.
1104 Also, this is not intended to disable other inputs, e.g.\& via the video window,
1105 use some other method like \-input nodefault\-bindings:conf=/dev/null for that.
1108 .B \-softsleep
1109 Time frames by repeatedly checking the current time instead of asking the
1110 kernel to wake up MPlayer at the correct time.
1111 Useful if your kernel timing is imprecise and you cannot use the RTC either.
1112 Comes at the price of higher CPU consumption.
1115 .B \-sstep <sec>
1116 Skip <sec> seconds after every frame.
1117 The normal framerate of the movie is kept, so playback is accelerated.
1118 Since MPlayer can only seek to the next keyframe this may be inexact.
1122 .SH "DEMUXER/STREAM OPTIONS"
1125 .B \-a52drc <level>
1126 Select the Dynamic Range Compression level for AC-3 audio streams.
1127 <level> is a float value ranging from 0 to 1, where 0 means no compression
1128 and 1 (which is the default) means full compression (make loud passages more
1129 silent and vice versa).
1130 Values up to 2 are also accepted, but are purely experimental.
1131 This option only shows an effect if the AC-3 stream contains the required range
1132 compression information.
1135 .B \-aid <ID> (also see \-alang)
1136 Select audio channel (MPEG: 0\-31, AVI/\:OGM: 1\-99, ASF/\:RM: 0\-127,
1137 VOB(AC-3): 128\-159, VOB(LPCM): 160\-191, MPEG-TS 17\-8190).
1138 MPlayer prints the available audio IDs when run in verbose (\-v) mode.
1139 When playing an MPEG-TS stream, MPlayer will use the first program (if present)
1140 with the chosen audio stream.
1143 .B \-ausid <ID> (also see \-alang)
1144 Select audio substream channel.
1145 Currently the valid range is 0x55..0x75 and applies only to MPEG-TS when handled
1146 by the native demuxer (not by libavformat).
1147 The format type may not be correctly identified because of how this information
1148 (or lack thereof) is embedded in the stream, but it will demux correctly the
1149 audio streams when multiple substreams are present.
1150 MPlayer prints the available substream IDs when run with \-identify.
1153 .B \-alang <language code[,language code,...]> (also see \-aid)
1154 Specify a priority list of audio languages to use.
1155 Different container formats employ different language codes.
1156 DVDs use ISO 639-1 two letter language codes, Matroska, MPEG-TS and NUT
1157 use ISO 639-2 three letter language codes while OGM uses a free-form identifier.
1158 MPlayer prints the available languages when run in verbose (\-v) mode.
1159 .sp 1
1160 .I EXAMPLE:
1161 .PD 0
1162 .RSs
1163 .IPs "mplayer dvd://1 \-alang hu,en"
1164 Chooses the Hungarian language track on a DVD and falls back on English if
1165 Hungarian is not available.
1166 .IPs "mplayer \-alang jpn example.mkv"
1167 Plays a Matroska file in Japanese.
1169 .PD 1
1172 .B \-audio\-demuxer <[+]name> (\-audiofile only)
1173 Force audio demuxer type for \-audiofile.
1174 Use a '+' before the name to force it, this will skip some checks!
1175 Give the demuxer name as printed by \-audio\-demuxer help.
1176 \-audio\-demuxer audio forces MP3.
1179 .B \-audiofile <filename>
1180 Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a
1181 movie.
1184 .B \-audiofile\-cache <kBytes>
1185 Enables caching for the stream used by \-audiofile, using the specified
1186 amount of memory.
1189 .B \-reuse\-socket (udp:// only)
1190 Allows a socket to be reused by other processes as soon as it is closed.
1193 .B \-bandwidth <Bytes> (network only)
1194 Specify the maximum bandwidth for network streaming (for servers that are
1195 able to send content in different bitrates).
1196 Useful if you want to watch live streamed media behind a slow connection.
1197 With Real RTSP streaming, it is also used to set the maximum delivery
1198 bandwidth allowing faster cache filling and stream dumping.
1201 .B \-bluray\-angle <angle ID> (Blu\-ray only)
1202 Some Blu\-ray discs contain scenes that can be viewed from multiple angles.
1203 Here you can tell MPlayer which angles to use (default: 1).
1206 .B \-bluray\-chapter <chapter ID> (Blu\-ray only)
1207 Tells MPlayer which Blu\-ray chapter to start the current title from (default: 1).
1210 .B \-bluray\-device <path to disc> (Blu\-ray only)
1211 Specify the Blu\-ray disc location. Must be a directory with Blu\-ray structure.
1214 .B \-cache <kBytes>
1215 This option specifies how much memory (in kBytes) to use when precaching a
1216 file or URL.
1217 Especially useful on slow media.
1220 .B \-nocache
1221 Turns off caching.
1224 .B \-cache\-min <percentage>
1225 Playback will start when the cache has been filled up to <percentage>
1226 of the total.
1229 .B \-cache\-seek\-min <percentage>
1230 If a seek is to be made to a position within <percentage> of the cache size
1231 from the current position, MPlayer will wait for the cache to be filled to
1232 this position rather than performing a stream seek (default: 50).
1235 .B \-capture
1236 Allows capturing the primary stream (not additional audio tracks or other
1237 kind of streams) into the file specified by \-dumpfile or \"stream.dump\"
1238 by default.
1239 If this option is given, capturing can be started and stopped by pressing
1240 the key bound to this function (see section INTERACTIVE CONTROL).
1241 Same as for \-dumpstream, this will likely not produce usable results for
1242 anything else than MPEG streams.
1243 Note that, due to cache latencies, captured data may begin and end
1244 somewhat delayed compared to what you see displayed.
1247 .B \-cdda <option1:option2> (CDDA only)
1248 This option can be used to tune the CD Audio reading feature of MPlayer.
1249 .sp 1
1250 Available options are:
1251 .RSs
1252 .IPs speed=<value>
1253 Set CD spin speed.
1254 .IPs paranoia=<0\-2>
1255 Set paranoia level.
1256 Values other than 0 seem to break playback of anything but the first track.
1257 .RSss
1258 0: disable checking (default)
1260 1: overlap checking only
1262 2: full data correction and verification
1263 .REss
1264 .IPs generic-dev=<value>
1265 Use specified generic SCSI device.
1266 .IPs sector-size=<value>
1267 Set atomic read size.
1268 .IPs overlap=<value>
1269 Force minimum overlap search during verification to <value> sectors.
1270 .IPs toc-bias
1271 Assume that the beginning offset of track 1 as reported in the TOC will be
1272 addressed as LBA 0.
1273 Some Toshiba drives need this for getting track boundaries correct.
1274 .IPs toc-offset=<value>
1275 Add <value> sectors to the values reported when addressing tracks.
1276 May be negative.
1277 .IPs (no)skip
1278 (Never) accept imperfect data reconstruction.
1282 .B \-cdrom\-device <path to device>
1283 Specify the CD-ROM device (default: /dev/\:cdrom).
1286 .B \-channels <number> (also see \-af channels)
1287 Request the number of playback channels (default: 2).
1288 MPlayer asks the decoder to decode the audio into as many channels as
1289 specified.
1290 Then it is up to the decoder to fulfill the requirement.
1291 This is usually only important when playing videos with AC-3 audio (like DVDs).
1292 In that case liba52 does the decoding by default and correctly downmixes the
1293 audio into the requested number of channels.
1294 To directly control the number of output channels independently of how many
1295 channels are decoded, use the channels filter.
1297 .I NOTE:
1298 This option is honored by codecs (AC-3 only), filters (surround) and audio
1299 output drivers (OSS at least).
1300 .sp 1
1301 Available options are:
1302 .sp 1
1303 .PD 0
1304 .RSs
1305 .IPs 2
1306 stereo
1307 .IPs 4
1308 surround
1309 .IPs 6
1310 full 5.1
1311 .IPs 8
1312 full 7.1
1314 .PD 1
1317 .B \-chapter <chapter ID>[\-<endchapter ID>] (dvd:// and dvdnav:// only)
1318 Specify which chapter to start playing at.
1319 Optionally specify which chapter to end playing at (default: 1).
1322 .B \-edition <edition ID> (Matroska only)
1323 Specify the edition (set of chapters) to use, where 0 is the first. If set to
1324 -1 (the default), MPlayer will choose the first edition declared as a default,
1325 or if there is no default, the first edition defined.
1328 .B \-cookies (network only)
1329 Send cookies when making HTTP requests.
1332 .B \-cookies\-file <filename> (network only)
1333 Read HTTP cookies from <filename> (default: ~/.mozilla/ and ~/.netscape/)
1334 and skip reading from default locations.
1335 The file is assumed to be in Netscape format.
1338 .B \-delay <sec>
1339 audio delay in seconds (positive or negative float value)
1341 Negative values delay the audio, and positive values delay the video.
1344 .B \-ignore\-start
1345 Ignore the specified starting time for streams in AVI files.
1346 This nullifies stream delays.
1349 .B \-demuxer <[+]name>
1350 Force demuxer type.
1351 Use a '+' before the name to force it, this will skip some checks!
1352 Give the demuxer name as printed by \-demuxer help.
1355 .B \-dumpaudio
1356 Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/\:AC-3,
1357 in most other cases the resulting file will not be playable).
1358 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1359 on the command line only the last one will work.
1362 .B \-dumpfile <filename>
1363 Specify which file MPlayer should dump to.
1364 Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream /
1365 \-capture.
1368 .B \-dumpstream
1369 Dumps the raw stream to ./stream.dump.
1370 Useful when ripping from DVD or network.
1371 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1372 on the command line only the last one will work.
1375 .B \-dumpvideo
1376 Dump raw compressed video stream to ./stream.dump (not very usable).
1377 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1378 on the command line only the last one will work.
1381 .B \-dvbin <options> (DVB only)
1382 Pass the following parameters to the DVB input module, in order to override
1383 the default ones:
1384 .sp 1
1385 .PD 0
1386 .RSs
1387 .IPs card=<1\-4>
1388 Specifies using card number 1\-4 (default: 1).
1389 .IPs file=<filename>
1390 Instructs MPlayer to read the channels list from <filename>.
1391 Default is ~/.mplayer/\:channels.conf.{sat,ter,cbl,atsc} (based on your card type)
1392 or ~/.mplayer/\:channels.conf as a last resort.
1393 .IPs timeout=<1\-30>
1394 Maximum number of seconds to wait when trying to tune a
1395 frequency before giving up (default: 30).
1397 .PD 1
1400 .B \-dvd\-device <path to device> (DVD only)
1401 Specify the DVD device or .iso filename (default: /dev/\:dvd).
1402 You can also specify a directory that contains files previously copied directly
1403 from a DVD (with e.g.\& vobcopy).
1406 .B \-dvd\-speed <factor or speed in KB/s> (DVD only)
1407 Try to limit DVD speed (default: 0, no change).
1408 DVD base speed is about 1350KB/s, so a 8x drive can read at speeds up to
1409 10800KB/s.
1410 Slower speeds make the drive more quiet, for watching DVDs 2700KB/s should be
1411 quiet and fast enough.
1412 MPlayer resets the speed to the drive default value on close.
1413 Values less than 100 mean multiples of 1350KB/s, i.e.\& \-dvd\-speed 8 selects
1414 10800KB/s.
1416 .I NOTE:
1417 You need write access to the DVD device to change the speed.
1420 .B \-dvdangle <angle ID> (DVD only)
1421 Some DVD discs contain scenes that can be viewed from multiple angles.
1422 Here you can tell MPlayer which angles to use (default: 1).
1425 .B \-edl <filename>
1426 Enables edit decision list (EDL) actions during playback.
1427 Video will be skipped over and audio will be muted and unmuted according to
1428 the entries in the given file.
1429 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details
1430 on how to use this.
1433 .B \-endpos <[[hh:]mm:]ss[.ms]> (also see \-ss and \-sb)
1434 Stop at given time.
1436 .I NOTE:
1437 When used in conjunction with \-ss option, \-endpos time will shift forward by
1438 seconds specified with \-ss.
1439 .sp 1
1440 .I EXAMPLE:
1441 .PD 0
1442 .RSs
1443 .IPs "\-endpos 56"
1444 Stop at 56 seconds.
1445 .IPs "\-endpos 01:10:00"
1446 Stop at 1 hour 10 minutes.
1447 .IPs "\-ss 10 \-endpos 56"
1448 Stop at 1 minute 6 seconds.
1450 .PD 1
1453 .B \-forceidx
1454 Force index rebuilding.
1455 Useful for files with broken index (A/V desync, etc).
1456 This will enable seeking in files where seeking was not possible.
1458 .I NOTE:
1459 This option only works if the underlying media supports seeking
1460 (i.e.\& not with stdin, pipe, etc).
1463 .B \-fps <float value>
1464 Override video framerate.
1465 Useful if the original value is wrong or missing.
1468 .B \-frames <number>
1469 Play/\:convert only first <number> frames, then quit.
1472 .B \-hr\-mp3\-seek (MP3 only)
1473 Hi-res MP3 seeking.
1474 Enabled when playing from an external MP3 file, as we need to seek
1475 to the very exact position to keep A/V sync.
1476 Can be slow especially when seeking backwards since it has to rewind
1477 to the beginning to find an exact frame position.
1480 .B \-idx (also see \-forceidx)
1481 Rebuilds index of files if no index was found, allowing seeking.
1482 Useful with broken/\:incomplete downloads, or badly created files.
1484 .I NOTE:
1485 This option only works if the underlying media supports seeking
1486 (i.e.\& not with stdin, pipe, etc).
1489 .B \-noidx
1490 Skip rebuilding index file.
1493 .B \-ipv4\-only\-proxy (network only)
1494 Skip the proxy for IPv6 addresses.
1495 It will still be used for IPv4 connections.
1498 .B \-lavfdopts <option1:option2:...>
1499 Specify parameters for libavformat demuxers (\-demuxer lavf).
1500 Separate multiple options with a colon.
1503 Available suboptions are:
1505 .RSs
1506 .IPs analyzeduration=<value>
1507 Maximum length in seconds to analyze the stream properties.
1508 .IPs format=<value>
1509 Force a specific libavformat demuxer.
1510 .IPs o=<key>=<value>[,<key>=<value>[,...]]
1511 Pass AVOptions to libavformat demuxer.
1512 Note, a patch to make the o= unneeded and pass all unknown options through
1513 the AVOption system is welcome.
1514 A full list of AVOptions can be found in the FFmpeg manual.
1515 Note that some options may conflict with MPlayer options.
1516 .sp 1
1518 .I EXAMPLE:
1520 .RSs
1521 .PD 0
1522 .IPs o=fflags=+ignidx
1523 .PD 1
1525 .IPs probesize=<value>
1526 Maximum amount of data to probe during the detection phase.
1527 In the case of MPEG-TS this value identifies the maximum number
1528 of TS packets to scan.
1529 .IPs cryptokey=<hexstring>
1530 Encryption key the demuxer should use.
1531 This is the raw binary data of the key converted to a hexadecimal string.
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.
1542 .I NOTE:
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.
1552 .sp 1
1553 Available options are:
1554 .sp 1
1555 .PD 0
1556 .RSs
1557 .IPs w=<value>
1558 input file width (default: autodetect)
1559 .IPs h=<value>
1560 input file height (default: autodetect)
1561 .IPs fps=<value>
1562 output fps (default: 25)
1563 .IPs type=<value>
1564 input file type (available: jpeg, png, tga, sgi)
1566 .PD 1
1569 .B \-ni (AVI only)
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.
1579 .B \-noextbased
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
1611 V4L2 driver.
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.
1618 .sp 1
1619 Available options are:
1620 .RSs
1621 .IPs aspect=<0\-3>
1622 Specify input aspect ratio:
1623 .RSss
1624 0: 1:1
1626 1: 4:3 (default)
1628 2: 16:9
1630 3: 2.21:1
1631 .REss
1632 .IPs arate=<32000\-48000>
1633 Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100
1634 and 48000 Hz).
1635 .IPs alayer=<1\-3>
1636 Specify MPEG audio layer encoding (default: 2).
1637 .IPs abitrate=<32\-448>
1638 Specify audio encoding bitrate in kbps (default: 384).
1639 .IPs amode=<value>
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).
1644 .IPs vmode=<value>
1645 Specify video encoding mode:
1646 .RSss
1647 vbr: Variable BitRate (default)
1649 cbr: Constant BitRate
1650 .REss
1651 .IPs vpeak=<value>
1652 Specify peak video bitrate encoding in Mbps
1653 (only useful for VBR encoding, default: 9.6).
1654 .IPs fmt=<value>
1655 Choose an MPEG format for encoding:
1656 .RSss
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
1668 .REss
1670 .PD 1
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.
1684 .sp 1
1685 Available options are:
1686 .RSs
1687 .IPs device=<value>
1688 Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD).
1689 .IPs driver=<value>
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>,...
1699 Set channel list.
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
1705 channel list.
1707 .I EXAMPLE:
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).
1719 .I NOTE:
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.
1734 .sp 1
1735 Available options are:
1736 .sp 1
1737 .PD 0
1738 .RSs
1739 .IPs channels=<value>
1740 number of channels
1741 .IPs rate=<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
1747 .IPs format=<value>
1748 fourcc in hex
1750 .PD 1
1753 .B \-rawvideo <option1:option2:...>
1754 This option lets you play raw video files.
1755 You have to use \-demuxer rawvideo as well.
1756 .sp 1
1757 Available options are:
1758 .sp 1
1759 .PD 0
1760 .RSs
1761 .IPs fps=<value>
1762 rate in frames per second (default: 25.0)
1763 .IPs sqcif|qcif|cif|4cif|pal|ntsc
1764 set standard image size
1765 .IPs w=<value>
1766 image width in pixels
1767 .IPs h=<value>
1768 image height in pixels
1769 .IPs i420|yv12|yuy2|y8
1770 set colorspace
1771 .IPs format=<value>
1772 colorspace (fourcc) in hex or string constant.
1773 Use \-rawvideo format=help for a list of possible strings.
1774 .IPs size=<value>
1775 frame size in Bytes
1776 .REss
1777 .sp 1
1779 .I EXAMPLE:
1781 .PD 0
1782 .RSs
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.
1788 .PD 1
1791 .B \-referrer <string> (network only)
1792 Specify a referrer path or URL for HTTP requests.
1795 .B \-rtsp\-port
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.
1826 .I NOTE:
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.
1839 .B \-srate <Hz>
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.
1851 .sp 1
1852 .I EXAMPLE:
1853 .PD 0
1854 .RSs
1855 .IPs "\-ss 56"
1856 Seeks to 56 seconds.
1857 .IPs "\-ss 01:10:00"
1858 Seeks to 1 hour 10 min.
1860 .PD 1
1863 .B \-tskeepbroken
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)
1884 as a movie URL.
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).
1887 .sp 1
1888 Available options are:
1889 .RSs
1890 .IPs noaudio
1891 no sound
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).
1897 .IPs driver=<value>
1898 See \-tv driver=help for a list of compiled-in TV input drivers.
1899 available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
1900 .IPs device=<value>
1901 Specify TV device (default: /dev/\:video0).
1902 .I NOTE:
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).
1906 .IPs input=<value>
1907 Specify input (default: 0 (TV), see console output for available inputs).
1908 .IPs freq=<value>
1909 Specify the frequency to set the tuner to (e.g.\& 511.250).
1910 Not compatible with the channels parameter.
1911 .IPs outfmt=<value>
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.
1916 .IPs width=<value>
1917 output window width
1918 .IPs height=<value>
1919 output window height
1920 .IPs fps=<value>
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)
1924 .IPs norm=<value>
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.
1940 .I NOTE:
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.
1950 .I NOTE:
1951 The channel number will then be the position in the 'channels' list,
1952 beginning with 1.
1954 .I EXAMPLE:
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.
1960 .IPs forceaudio
1961 Capture audio even if there are no audio sources reported by v4l.
1962 .IPs "alsa\ "
1963 Capture from ALSA.
1964 .IPs amode=<0\-3>
1965 Choose an audio mode:
1966 .RSss
1967 0: mono
1969 1: stereo
1971 2: language 1
1973 3: language 2
1974 .REss
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
1981 current audio mode.
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.
2003 .IPs mjpeg
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
2010 MJPEG compression:
2011 .RSss
2012 1: full size
2013     704x576    PAL
2014     704x480    NTSC
2016 2: medium size
2017     352x288    PAL
2018     352x240    NTSC
2020 4: small size
2021     176x144    PAL
2022     176x120    NTSC
2023 .REss
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):
2031 .RSss
2032 0: opaque
2034 1: transparent
2036 2: opaque with inverted colors
2038 3: transparent with inverted colors
2039 .REss
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.
2051 .I NOTE:
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.
2057 .I NOTE:
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.
2074 .sp 1
2075 Available suboptions are:
2076 .RSs
2077 .IPs autostart
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.
2099 .B \-vid <ID>
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"
2112 .I NOTE:
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.
2123 .I NOTE:
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.
2151 .I EXAMPLE:
2152 .PD 0
2153 .RSs
2154 \-ass\-force\-style FontName=Arial,Default.Bold=1
2156 \-ass\-force\-style PlayResY=768
2158 .PD 1
2161 .B \-ass\-hinting <type>
2162 Set hinting type.
2163 <type> can be:
2164 .PD 0
2165 .RSs
2166 .IPs 0
2167 no hinting
2168 .IPs 1
2169 FreeType autohinter, light mode
2170 .IPs 2
2171 FreeType autohinter, normal mode
2172 .IPs 3
2173 font native hinter
2174 .IPs "0-3 + 4"
2175 The same, but hinting will only be performed if the OSD is rendered at
2176 screen resolution and will therefore not be scaled.
2178 .RSs
2179 The default value is 5 (use light hinter for unscaled OSD and no hinting otherwise).
2181 .PD 1
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
2202 are available.
2205 .B \-dumpjacosub
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.
2217 .B \-dumpmpsub
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.
2223 .B \-dumpsami
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.
2229 .B \-dumpsrtsub
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.
2234 .I NOTE:
2235 Some broken hardware players choke on SRT subtitle files with Unix
2236 line endings.
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.
2255 Can be:
2256 .PD 0
2257 .RSs
2258 .IPs 0
2259 plain white fonts
2260 .IPs 0.75
2261 very narrow black outline (default)
2262 .IPs 1
2263 narrow black outline
2264 .IPs 10
2265 bold black outline
2267 .PD 1
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).
2285 .I NOTE:
2286 With FreeType, this option determines the path to the text font file.
2287 With Fontconfig, this option determines the Fontconfig font pattern.
2288 .sp 1
2289 .I EXAMPLE:
2290 .PD 0
2291 .RSs
2292 \-font ~/\:.mplayer/\:arial-14/\:font.desc
2294 \-font ~/\:.mplayer/\:arialuni.ttf
2296 \-font 'Bitstream Vera Sans'
2298 \-font 'Bitstream Vera Sans:style=Bold'
2300 .PD 1
2303 .B \-fontconfig, \-nofontconfig (fontconfig only)
2304 Enables the use of fontconfig managed fonts. Enabled by default.
2307 .B \-forcedsubsonly
2308 Display only forced subtitles for the DVD subtitle stream selected by e.g.\&
2309 \-slang.
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
2319 subtitles.
2322 .B \-noautosub
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 \-osdlevel <0\-3>
2331 Specifies which mode the OSD should start in.
2332 .PD 0
2333 .RSs
2334 .IPs 0
2335 subtitles only
2336 .IPs 1
2337 volume + seek (default)
2338 .IPs 2
2339 volume + seek + timer + percentage
2340 .IPs 3
2341 volume + seek + timer + percentage + total time
2343 .PD 1
2346 .B \-overlapsub
2347 Allows the next subtitle to be displayed while the current one is
2348 still visible (default is to enable the support only for specific
2349 formats).
2352 .B \-sid <ID> (also see \-slang, \-vobsubid)
2353 Display the subtitle stream specified by <ID> (0\-31).
2354 MPlayer prints the available subtitle IDs when run in verbose (\-v) mode.
2355 If you cannot select one of the subtitles on a DVD, also try \-vobsubid.
2358 .B \-nosub
2359 Disables any otherwise auto-selected internal subtitles (as e.g.\& the Matroska/mkv
2360 demuxer supports).
2361 Use \-noautosub to disable the loading of external subtitle files.
2364 .B \-slang <language code[,language code,...]> (also see \-sid)
2365 Specify a priority list of subtitle languages to use.
2366 Different container formats employ different language codes.
2367 DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2
2368 three letter language codes while OGM uses a free-form identifier.
2369 MPlayer prints the available languages when run in verbose (\-v) mode.
2370 .sp 1
2371 .I EXAMPLE:
2372 .PD 0
2373 .RSs
2374 .IPs "mplayer dvd://1 \-slang hu,en"
2375 Chooses the Hungarian subtitle track on a DVD and falls back on English if
2376 Hungarian is not available.
2377 .IPs "mplayer \-slang jpn example.mkv"
2378 Plays a Matroska file with Japanese subtitles.
2380 .PD 1
2383 .B \-spuaa <mode>
2384 Antialiasing/\:scaling mode for DVD/\:VOBsub.
2385 A value of 16 may be added to <mode> in order to force scaling even
2386 when original and scaled frame size already match.
2387 This can be employed to e.g.\& smooth subtitles with gaussian blur.
2388 Available modes are:
2389 .PD 0
2390 .RSs
2391 .IPs 0
2392 none (fastest, very ugly)
2393 .IPs 1
2394 approximate (broken?)
2395 .IPs 2
2396 full (slow)
2397 .IPs 3
2398 bilinear (default, fast and not too bad)
2399 .IPs 4
2400 uses swscaler gaussian blur (looks very good)
2402 .PD 1
2405 .B \-spualign <\-1\-2>
2406 Specify how SPU (DVD/\:VOBsub) subtitles should be aligned.
2407 .PD 0
2408 .RSs
2409 .IPs "\-1"
2410 original position
2411 .IPs " 0"
2412 Align at top (original behavior, default).
2413 .IPs " 1"
2414 Align at center.
2415 .IPs " 2"
2416 Align at bottom.
2418 .PD 1
2421 .B \-spugauss <0.0\-3.0>
2422 Variance parameter of gaussian used by \-spuaa 4.
2423 Higher means more blur (default: 1.0).
2426 .B \-sub <subtitlefile1,subtitlefile2,...>
2427 Use/\:display these subtitle files.
2428 Only one file can be displayed at the same time.
2431 .B \-sub\-bg\-alpha <0\-255>
2432 Specify the alpha channel value for subtitles and OSD backgrounds.
2433 Big values mean more transparency.
2434 0 means completely transparent.
2437 .B \-sub\-bg\-color <0\-255>
2438 Specify the color value for subtitles and OSD backgrounds.
2439 Currently subtitles are grayscale so this value is equivalent to the
2440 intensity of the color.
2441 255 means white and 0 black.
2444 .B \-sub\-demuxer <[+]name> (\-subfile only) (BETA CODE)
2445 Force subtitle demuxer type for \-subfile.
2446 Use a '+' before the name to force it, this will skip some checks!
2447 Give the demuxer name as printed by \-sub\-demuxer help.
2450 .B \-sub\-fuzziness <mode>
2451 Adjust matching fuzziness when searching for subtitles:
2452 .PD 0
2453 .RSs
2454 .IPs 0
2455 exact match
2456 .IPs 1
2457 Load all subs containing movie name.
2458 .IPs 2
2459 Load all subs in the current and \-sub\-paths directories.
2461 .PD 1
2464 .B \-sub\-no\-text\-pp
2465 Disables any kind of text post processing done after loading the subtitles.
2466 Used for debug purposes.
2469 .B \-subalign <0\-2>
2470 Specify which edge of the subtitles should be aligned at the height
2471 given by \-subpos.
2472 .PD 0
2473 .RSs
2474 .IPs 0
2475 Align subtitle top edge (original behavior).
2476 .IPs 1
2477 Align subtitle center.
2478 .IPs 2
2479 Align subtitle bottom edge (default).
2481 .PD 1
2484 .B "\-subcc <1\-4>\ "
2485 Display DVD Closed Caption (CC) subtitles from the specified channel.
2486 These are
2487 .B not
2488 the VOB subtitles, these are special ASCII subtitles for the
2489 hearing impaired encoded in the VOB userdata stream on most region 1 DVDs.
2490 CC subtitles have not been spotted on DVDs from other regions so far.
2493 .B \-subcp <codepage> (iconv only)
2494 If your system supports iconv(3), you can use this option to
2495 specify the subtitle codepage.
2496 .sp 1
2497 .I EXAMPLE:
2498 .PD 0
2499 .RSs
2500 \-subcp latin2
2502 \-subcp cp1250
2504 .PD 1
2507 .B \-subcp enca:<language>:<fallback codepage> (ENCA only)
2508 You can specify your language using a two letter language code to
2509 make ENCA detect the codepage automatically.
2510 If unsure, enter anything and watch mplayer \-v output for available
2511 languages.
2512 Fallback codepage specifies the codepage to use, when autodetection fails.
2513 .sp 1
2514 .I EXAMPLE:
2515 .PD 0
2516 .RSs
2517 .IPs "\-subcp enca:cs:latin2"
2518 Guess the encoding, assuming the subtitles are Czech, fall back on
2519 latin 2, if the detection fails.
2520 .IPs "\-subcp enca:pl:cp1250"
2521 Guess the encoding for Polish, fall back on cp1250.
2523 .PD 1
2526 .B \-sub\-paths <path1:path2:...>
2527 Specify extra directories where to search for subtitles matching the video.
2528 Multiple directories can be separated by ":" (";" on Windows).
2529 Paths can be relative or absolute.
2530 Relative paths are interpreted relative to video file directory.
2532 .sp 1
2533 .I EXAMPLE:
2534 Assuming that /path/\:to/\:movie/\:movie.avi is played and \-sub\-paths
2535 sub:subtitles:/tmp/subs is specified, MPlayer searches for subtitle files in
2536 these directories:
2537 .RSs
2538 /path/\:to/\:movie/
2540 /path/\:to/\:movie/\:sub/
2542 /path/\:to/\:movie/\:subtitles/
2544 /tmp/\:subs/
2546 ~/.mplayer/\:sub/
2548 .PD 1
2551 .B \-subdelay <sec>
2552 Delays subtitles by <sec> seconds.
2553 Can be negative.
2556 .B \-subfile <filename> (BETA CODE)
2557 Currently useless.
2558 Same as \-audiofile, but for subtitle streams (OggDS?).
2561 .B \-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only)
2562 Sets the subtitle font (see \-font).
2563 If no \-subfont is given, \-font is used.
2566 .B \-subfont\-autoscale <0\-3> (FreeType only)
2567 Sets the autoscale mode.
2569 .I NOTE:
2570 0 means that text scale and OSD scale are font heights in points.
2571 .sp 1
2572 The mode can be:
2573 .sp 1
2574 .PD 0
2575 .RSs
2576 .IPs 0
2577 no autoscale
2578 .IPs 1
2579 proportional to movie height
2580 .IPs 2
2581 proportional to movie width
2582 .IPs 3
2583 proportional to movie diagonal (default)
2585 .PD 1
2588 .B \-subfont\-blur <0\-8> (FreeType only)
2589 Sets the font blur radius (default: 2).
2592 .B \-subfont\-encoding <value> (FreeType only)
2593 Sets the font encoding.
2594 When set to 'unicode', all the glyphs from the font file will be rendered and
2595 unicode will be used (default: unicode).
2598 .B \-subfont\-osd\-scale <0\-100> (FreeType only)
2599 Sets the autoscale coefficient of the OSD elements (default: 6).
2602 .B \-subfont\-outline <0\-8> (FreeType only)
2603 Sets the font outline thickness (default: 2).
2606 .B \-subfont\-text\-scale <0\-100> (FreeType only)
2607 Sets the subtitle text autoscale coefficient as percentage of the
2608 screen size (default: 5).
2611 .B \-subfps <rate>
2612 Specify the framerate of the subtitle file (default: movie fps).
2614 .I NOTE:
2615 <rate> > movie fps speeds the subtitles up for frame-based subtitle files and
2616 slows them down for time-based ones.
2619 .B \-subpos <0\-100> (useful with \-vf expand)
2620 Specify the position of subtitles on the screen.
2621 The value is the vertical position of the subtitle in % of the screen height.
2624 .B \-subwidth <10\-100>
2625 Specify the maximum width of subtitles on the screen.
2626 Useful for TV-out.
2627 The value is the width of the subtitle in % of the screen width.
2630 .B \-noterm\-osd
2631 Disable the display of OSD messages on the console when no video output is
2632 available.
2635 .B \-term\-osd\-esc <escape sequence>
2636 Specify the escape sequence to use before writing an OSD message on the
2637 console.
2638 The escape sequence should move the pointer to the beginning of the line
2639 used for the OSD and clear it (default: ^[[A\\r^[[K).
2642 .B \-unicode
2643 Tells MPlayer to handle the subtitle file as unicode.
2646 .B \-unrarexec <path to unrar executable> (not supported on MingW)
2647 Specify the path to the unrar executable so MPlayer can use it to access
2648 rar-compressed VOBsub files (default: not set, so the feature is off).
2649 The path must include the executable's filename, i.e.\& /usr/local/bin/unrar.
2652 .B "\-utf8 \ \ "
2653 Tells MPlayer to handle the subtitle file as UTF-8.
2656 .B \-vobsub <VOBsub file without extension>
2657 Specify a VOBsub file to use for subtitles.
2658 Has to be the full pathname without extension, i.e.\& without
2659 the '.idx', '.ifo' or '.sub'.
2662 .B \-vobsubid <0\-31>
2663 Specify the VOBsub subtitle ID.
2667 .SH "AUDIO OUTPUT OPTIONS"
2670 .B \-abs <value> (\-ao oss only) (OBSOLETE)
2671 Override audio driver/\:card buffer size detection.
2674 .B \-format <format> (also see the format audio filter)
2675 Select the sample format used for output from the audio filter
2676 layer to the sound card.
2677 The values that <format> can adopt are listed below in the
2678 description of the format audio filter.
2681 .B \-gapless\-audio
2682 Try to play consecutive audio files with no silence or disruption
2683 at the point of file change.
2684 This feature is implemented in a simple manner and relies on audio output
2685 device buffering to continue playback while moving from one file to another.
2686 If playback of the new file starts slowly, for example because it's played from
2687 a remote network location or because you have specified cache settings that
2688 require time for the initial cache fill, then the buffered audio may run out
2689 before playback of the new file can start.
2692 .B \-mixer <device>
2693 Use a mixer device different from the default /dev/\:mixer.
2694 For ALSA this is the mixer name.
2697 .B \-mixer\-channel <mixer line>[,mixer index] (\-ao oss and \-ao alsa only)
2698 This option will tell MPlayer to use a different channel for controlling
2699 volume than the default PCM.
2700 Options for OSS include
2701 .B vol, pcm, line.
2702 For a complete list of options look for SOUND_DEVICE_NAMES in
2703 /usr/\:include/\:linux/\:soundcard.h.
2704 For ALSA you can use the names e.g.\& alsamixer displays, like
2705 .B Master, Line, PCM.
2707 .I NOTE:
2708 ALSA mixer channel names followed by a number must be specified in the
2709 <name,number> format, i.e.\& a channel labeled 'PCM 1' in alsamixer must
2710 be converted to
2711 .BR PCM,1 .
2714 .B \-softvol
2715 Force the use of the software mixer, instead of using the sound card
2716 mixer.
2719 .B \-softvol\-max <10.0\-10000.0>
2720 Set the maximum amplification level in percent (default: 110).
2721 A value of 200 will allow you to adjust the volume up to a maximum of
2722 double the current level.
2723 With values below 100 the initial volume (which is 100%) will be above
2724 the maximum, which e.g.\& the OSD cannot display correctly.
2727 .B \-volstep <0\-100>
2728 Set the step size of mixer volume changes in percent of the whole range
2729 (default: 3).
2732 .B \-volume <-1\-100> (also see \-af volume)
2733 Set the startup volume in the mixer, either hardware or software (if
2734 used with \-softvol).
2735 A value of -1 (the default) will not change the volume.
2739 .SH "AUDIO OUTPUT DRIVERS"
2740 Audio output drivers are interfaces to different audio output facilities.
2741 The syntax is:
2744 .B \-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
2745 Specify a priority list of audio output drivers to be used.
2747 If the list has a trailing ',' MPlayer will fall back on drivers not
2748 contained in the list.
2749 Suboptions are optional and can mostly be omitted.
2751 .I NOTE:
2752 See \-ao help for a list of compiled-in audio output drivers.
2753 .sp 1
2754 .I EXAMPLE:
2755 .PD 0
2756 .RSs
2757 .IPs "\-ao alsa,oss,"
2758 Try the ALSA driver, then the OSS driver, then others.
2759 .IPs "\-ao alsa:noblock:device=hw=0.3"
2760 Sets noblock-mode and the device-name as first card, fourth device.
2762 .PD 1
2763 .sp 1
2764 Available audio output drivers are:
2767 .B "alsa\ \ \ "
2768 ALSA 0.9/1.x audio output driver
2769 .PD 0
2770 .RSs
2771 .IPs noblock
2772 Sets noblock-mode.
2773 .IPs device=<device>
2774 Sets the device name.
2775 Replace any ',' with '.' and any ':' with '=' in the ALSA device name.
2776 For hwac3 output via S/PDIF, use an "iec958" or "spdif" device, unless
2777 you really know how to set it correctly.
2779 .PD 1
2782 .B "alsa5\ \ "
2783 ALSA 0.5 audio output driver
2786 .B "oss\ \ \ \ "
2787 OSS audio output driver
2788 .PD 0
2789 .RSs
2790 .IPs <dsp-device>
2791 Sets the audio output device (default: /dev/\:dsp).
2792 .IPs <mixer-device>
2793 Sets the audio mixer device (default: /dev/\:mixer).
2794 .IPs <mixer-channel>
2795 Sets the audio mixer channel (default: pcm).
2797 .PD 1
2800 .B sdl (SDL only)
2801 highly platform independent SDL (Simple Directmedia Layer) library
2802 audio output driver
2803 .PD 0
2804 .RSs
2805 .IPs <driver>
2806 Explicitly choose the SDL audio driver to use (default: let SDL choose).
2808 .PD 1
2811 .B "arts\ \ \ "
2812 audio output through the aRts daemon
2815 .B "esd\ \ \ \ "
2816 audio output through the ESD daemon
2817 .PD 0
2818 .RSs
2819 .IPs <server>
2820 Explicitly choose the ESD server to use (default: localhost).
2822 .PD 1
2825 .B "jack\ \ \ \ "
2826 audio output through JACK (Jack Audio Connection Kit)
2827 .PD 0
2828 .RSs
2829 .IPs port=<name>
2830 Connects to the ports with the given name (default: physical ports).
2831 .IPs name=<client name>
2832 Client name that is passed to JACK (default: MPlayer [<PID>]).
2833 Useful if you want to have certain connections established automatically.
2834 .IPs (no)estimate
2835 Estimate the audio delay, supposed to make the video playback smoother
2836 (default: enabled).
2837 .IPs (no)autostart
2838 Automatically start jackd if necessary (default: disabled).
2839 Note that this seems unreliable and will spam stdout with server messages.
2841 .PD 1
2844 .B "nas\ \ \ \ "
2845 audio output through NAS
2848 .B coreaudio (Mac OS X only)
2849 native Mac OS X audio output driver
2850 .PD 0
2851 .RSs
2852 .IPs device_id=<id>
2853 ID of output device to use (0 = default device)
2854 .IPs help
2855 List all available output devices with their IDs.
2857 .PD 1
2860 .B "openal\ "
2861 Experimental OpenAL audio output driver
2864 .B "pulse\ \ "
2865 PulseAudio audio output driver
2866 .PD 0
2867 .RSs
2868 .IPs "[<host>][:<output sink>]"
2869 Specify the host and optionally output sink to use.
2870 An empty <host> string uses a local connection, "localhost"
2871 uses network transfer (most likely not what you want).
2873 .PD 1
2876 .B sgi (SGI only)
2877 native SGI audio output driver
2878 .PD 0
2879 .RSs
2880 .IPs "<output device name>"
2881 Explicitly choose the output device/\:interface to use
2882 (default: system-wide default).
2883 For example, 'Analog Out' or 'Digital Out'.
2885 .PD 1
2888 .B sun (Sun only)
2889 native Sun audio output driver
2890 .PD 0
2891 .RSs
2892 .IPs <device>
2893 Explicitly choose the audio device to use (default: /dev/\:audio).
2895 .PD 1
2898 .B win32 (Windows only)
2899 native Windows waveout audio output driver
2902 .B dsound (Windows only)
2903 DirectX DirectSound audio output driver
2904 .PD 0
2905 .RSs
2906 .IPs device=<devicenum>
2907 Sets the device number to use.
2908 Playing a file with \-v will show a list of available devices.
2910 .PD 1
2913 .B kai (OS/2 only)
2914 OS/2 KAI audio output driver
2915 .PD 0
2916 .RSs
2917 .IPs uniaud
2918 Force UNIAUD mode.
2919 .IPs dart
2920 Force DART mode.
2921 .IPs (no)share
2922 Open audio in shareable or exclusive mode.
2923 .IPs bufsize=<size>
2924 Set buffer size to <size> in samples (default: 2048).
2926 .PD 1
2929 .B dart (OS/2 only)
2930 OS/2 DART audio output driver
2931 .PD 0
2932 .RSs
2933 .IPs (no)share
2934 Open DART in shareable or exclusive mode.
2935 .IPs bufsize=<size>
2936 Set buffer size to <size> in samples (default: 2048).
2938 .PD 1
2941 .B ivtv (IVTV only)
2942 IVTV specific MPEG audio output driver.
2943 Works with \-ac hwmpa only.
2946 .B v4l2 (requires Linux 2.6.22+ kernel)
2947 Audio output driver for V4L2 cards with hardware MPEG decoder.
2950 .B mpegpes (DVB only)
2951 Audio output driver for DVB cards that writes the output to an MPEG-PES
2952 file if no DVB card is installed.
2953 .PD 0
2954 .RSs
2955 .IPs card=<1\-4>
2956 DVB card to use if more than one card is present.
2957 If not specified MPlayer will search the first usable card.
2958 .IPs file=<filename>
2959 output filename
2961 .PD 1
2964 .B "null\ \ \ "
2965 Produces no audio output but maintains video playback speed.
2966 Use \-nosound for benchmarking.
2969 .B "pcm\ \ \ \ "
2970 raw PCM/wave file writer audio output
2971 .PD 0
2972 .RSs
2973 .IPs (no)waveheader
2974 Include or do not include the wave header (default: included).
2975 When not included, raw PCM will be generated.
2976 .IPs file=<filename>
2977 Write the sound to <filename> instead of the default
2978 audiodump.wav.
2979 If nowaveheader is specified, the default is audiodump.pcm.
2980 .IPs "fast\ "
2981 Try to dump faster than realtime.
2982 Make sure the output does not get truncated (usually with
2983 "Too many video packets in buffer" message).
2984 It is normal that you get a "Your system is too SLOW to play this!" message.
2986 .PD 1
2989 .B "plugin\ \ "
2990 plugin audio output driver
2994 .SH "VIDEO OUTPUT OPTIONS"
2997 .B \-adapter <value>
2998 Set the graphics card that will receive the image.
2999 You can get a list of available cards when you run this option with \-v.
3000 Currently only works with the directx video output driver.
3003 .B \-bpp <depth>
3004 Override the autodetected color depth.
3005 Only supported by the fbdev, dga, svga, vesa video output drivers.
3008 .B \-border
3009 Play movie with window border and decorations.
3010 Since this is on by default, use \-noborder to disable the standard window
3011 decorations.
3014 .B \-brightness <\-100\-100>
3015 Adjust the brightness of the video signal (default: 0).
3016 Not supported by all video output drivers.
3019 .B \-contrast <\-100\-100>
3020 Adjust the contrast of the video signal (default: 0).
3021 Not supported by all video output drivers.
3024 .B \-display <name> (X11 only)
3025 Specify the hostname and display number of the X server you want to display
3027 .sp 1
3028 .I EXAMPLE:
3029 .PD 0
3030 .RSs
3031 \-display xtest.localdomain:0
3033 .PD 1
3036 .B "\-dr \ \ \ "
3037 Turns on direct rendering (not supported by all codecs and video outputs)
3039 .I WARNING:
3040 May cause OSD/SUB corruption!
3043 .B \-fbmode <modename> (\-vo fbdev only)
3044 Change video mode to the one that is labeled as <modename> in
3045 /etc/\:fb.modes.
3047 .I NOTE:
3048 VESA framebuffer does not support mode changing.
3051 .B \-fbmodeconfig <filename> (\-vo fbdev only)
3052 Override framebuffer mode configuration file (default: /etc/\:fb.modes).
3055 .B \-force\-window\-position
3056 Forcefully move MPlayer's video output window to default location whenever
3057 there is a change in video parameters, video stream or file.
3058 This used to be the default behavior.
3059 Currently only affects X11 VOs.
3062 .B \-fs (also see \-zoom)
3063 Fullscreen playback (centers movie, and paints black bands around it).
3064 Not supported by all video output drivers.
3067 .B \-fsmode\-dontuse <0\-31> (OBSOLETE, use the \-fs option)
3068 Try this option if you still experience fullscreen problems.
3071 .B \-fstype <type1,type2,...> (X11 only)
3072 Specify a priority list of fullscreen modes to be used.
3073 You can negate the modes by prefixing them with '\-'.
3074 If you experience problems like the fullscreen window being covered
3075 by other windows try using a different order.
3077 .I NOTE:
3078 See \-fstype help for a full list of available modes.
3079 .sp 1
3080 The available types are:
3081 .sp 1
3082 .PD 0
3083 .RSs
3084 .IPs above
3085 Use the _NETWM_STATE_ABOVE hint if available.
3086 .IPs below
3087 Use the _NETWM_STATE_BELOW hint if available.
3088 .IPs fullscreen
3089 Use the _NETWM_STATE_FULLSCREEN hint if available.
3090 .IPs layer
3091 Use the _WIN_LAYER hint with the default layer.
3092 .IPs layer=<0...15>
3093 Use the _WIN_LAYER hint with the given layer number.
3094 .IPs netwm
3095 Force NETWM style.
3096 .IPs "none\ "
3097 Clear the list of modes; you can add modes to enable afterward.
3098 .IPs stays_on_top
3099 Use _NETWM_STATE_STAYS_ON_TOP hint if available.
3100 .REss
3101 .sp 1
3103 .I EXAMPLE:
3105 .PD 0
3106 .RSs
3107 .IPs layer,stays_on_top,above,fullscreen
3108 Default order, will be used as a fallback if incorrect or
3109 unsupported modes are specified.
3110 .IPs \-fullscreen
3111 Fixes fullscreen switching on OpenBox 1.x.
3113 .PD 1
3116 .B \-geometry x[%][:y[%]] or [WxH][+-x+-y]
3117 Adjust where the output is on the screen initially.
3118 The x and y specifications are in pixels measured from the top-left of the
3119 screen to the top-left of the image being displayed, however if a percentage
3120 sign is given after the argument it turns the value into a percentage of the
3121 screen size in that direction.
3122 It also supports the standard X11 \-geometry option format, in which e.g.
3123 +10-50 means "place 10 pixels from the left border and 50 pixels from the lower
3124 border" and "--20+-10" means "place 20 pixels beyond the right and 10 pixels
3125 beyond the top border".
3126 If an external window is specified using the \-wid option, then the x and
3127 y coordinates are relative to the top-left corner of the window rather
3128 than the screen.
3129 The coordinates are relative to the screen given with \-xineramascreen for
3130 the video output drivers that fully support \-xineramascreen (direct3d, gl, gl2,
3131 vdpau, x11, xv, xvmc, corevideo).
3133 .I NOTE:
3134 May not be supported by some of the older VO drivers.
3135 .sp 1
3136 .I EXAMPLE:
3137 .PD 0
3138 .RSs
3139 .IPs 50:40
3140 Places the window at x=50, y=40.
3141 .IPs 50%:50%
3142 Places the window in the middle of the screen.
3143 .IPs "100%\ "
3144 Places the window at the middle of the right edge of the screen.
3145 .IPs 100%:100%
3146 Places the window at the bottom right corner of the screen.
3148 .PD 1
3151 .B \-hue <\-100\-100>
3152 Adjust the hue of the video signal (default: 0).
3153 You can get a colored negative of the image with this option.
3154 Not supported by all video output drivers.
3157 .B \-monitor\-dotclock <range[,range,...]> (\-vo fbdev and vesa only)
3158 Specify the dotclock or pixelclock range of the monitor.
3161 .B \-monitor\-hfreq <range[,range,...]> (\-vo fbdev and vesa only)
3162 Specify the horizontal frequency range of the monitor.
3165 .B \-monitor\-vfreq <range[,range,...]> (\-vo fbdev and vesa only)
3166 Specify the vertical frequency range of the monitor.
3169 .B \-monitoraspect <ratio> (also see \-aspect)
3170 Set the aspect ratio of your monitor or TV screen.
3171 A value of 0 disables a previous setting (e.g.\& in the config file).
3172 Overrides the \-monitorpixelaspect setting if enabled.
3173 .sp 1
3174 .I EXAMPLE:
3175 .PD 0
3176 .RSs
3177 \-monitoraspect 4:3  or 1.3333
3179 \-monitoraspect 16:9 or 1.7777
3181 .PD 1
3184 .B \-monitorpixelaspect <ratio> (also see \-aspect)
3185 Set the aspect of a single pixel of your monitor or TV screen (default: 1).
3186 A value of 1 means square pixels
3187 (correct for (almost?) all LCDs).
3190 .B \-name (X11 only)
3191 Set the window class name.
3194 .B \-nodouble
3195 Disables double buffering, mostly for debugging purposes.
3196 Double buffering fixes flicker by storing two frames in memory, and
3197 displaying one while decoding another.
3198 It can affect OSD negatively, but often removes OSD flickering.
3201 .B \-nograbpointer
3202 Do not grab the mouse pointer after a video mode change (\-vm).
3203 Useful for multihead setups.
3206 .B \-nokeepaspect
3207 Do not keep window aspect ratio when resizing windows.
3208 By default MPlayer tries to keep the correct video aspect ratio by
3209 instructing the window manager to maintain window aspect when resizing,
3210 and by adding black bars if the window manager nevertheless allows
3211 window shape to change.
3212 This option disables window manager aspect hints and scales the video
3213 to completely fill the window without regard for aspect ratio.
3216 .B "\-ontop\ "
3217 Makes the player window stay on top of other windows.
3218 Supported by video output drivers which use X11, except SDL,
3219 as well as directx, corevideo, quartz, ggi and gl2.
3222 .B \-panscan <0.0\-1.0>
3223 Enables pan-and-scan functionality (cropping the sides of e.g.\& a 16:9
3224 movie to make it fit a 4:3 display without black bands).
3225 The range controls how much of the image is cropped.
3226 May not work with all video output drivers.
3228 .I NOTE:
3229 Values between \-1 and 0 are allowed as well, but highly experimental
3230 and may crash or worse.
3231 Use at your own risk!
3234 .B \-panscanrange <\-19.0\-99.0> (experimental)
3235 Change the range of the pan-and-scan functionality (default: 1).
3236 Positive values mean multiples of the default range.
3237 Negative numbers mean you can zoom in up to a factor of \-panscanrange+1.
3238 E.g.\& \-panscanrange \-3 allows a zoom factor of up to 4.
3239 This feature is experimental.
3240 Do not report bugs unless you are using \-vo gl.
3243 .B \-refreshrate <Hz>
3244 Set the monitor refreshrate in Hz.
3245 Currently only supported by \-vo directx combined with the \-vm option.
3248 .B \-rootwin
3249 Play movie in the root window (desktop background).
3250 Desktop background images may cover the movie window, though.
3251 May not work with all video output drivers.
3254 .B \-saturation <\-100\-100>
3255 Adjust the saturation of the video signal (default: 0).
3256 You can get grayscale output with this option.
3257 Not supported by all video output drivers.
3260 .B \-screenh <pixels>
3261 Specify the screen height for video output drivers which
3262 do not know the screen resolution like fbdev, x11 and TV-out.
3265 .B \-screenw <pixels>
3266 Specify the screen width for video output drivers which
3267 do not know the screen resolution like fbdev, x11 and TV-out.
3270 .B \-stop\-xscreensaver (X11 only)
3271 Turns off xscreensaver at startup and turns it on again on exit.
3272 If your screensaver supports neither the XSS nor XResetScreenSaver
3273 API please use \-heartbeat\-cmd instead.
3276 .B \-title (also see \-use\-filename\-title)
3277 Set the window title.
3278 Supported by X11-based video output drivers.
3281 .B \-use\-filename\-title (also see \-title)
3282 Set the window title using the media filename, when not set with \-title.
3283 Supported by X11-based video output drivers.
3286 .B "\-vm \ \ \ "
3287 Try to change to a different video mode.
3288 Supported by the dga, x11, xv, sdl and directx video output drivers.
3289 If used with the directx video output driver the \-screenw,
3290 \-screenh, \-bpp and \-refreshrate options can be used to set
3291 the new display mode.
3294 .B "\-vsync \ \ "
3295 Enables VBI for the vesa, dfbmga and svga video output drivers.
3298 .B \-wid <window ID> (X11, OpenGL and DirectX only)
3299 This tells MPlayer to attach to an existing window.
3300 Useful to embed MPlayer in a browser (e.g.\& the plugger extension).
3301 This option fills the given window completely, thus aspect scaling,
3302 panscan, etc are no longer handled by MPlayer but must be managed by the
3303 application that created the window.
3306 .B \-xineramascreen <\-2\-...>
3307 In Xinerama configurations (i.e.\& a single desktop that spans across multiple
3308 displays) this option tells MPlayer which screen to display the movie on.
3309 A value of \-2 means fullscreen across the whole virtual display (in this case
3310 Xinerama information is completely ignored), \-1 means
3311 fullscreen on the display the window currently is on.
3312 The initial position set via the \-geometry option is relative to the
3313 specified screen.
3314 Will usually only work with "\-fstype \-fullscreen" or "\-fstype none".
3315 This option is not suitable to only set the startup screen (because
3316 it will always display on the given screen in fullscreen mode),
3317 \-geometry is the best that is available for that purpose
3318 currently.
3319 Supported by at least the direct3d, gl, gl2, x11, xv and corevideo video output
3320 drivers.
3324 .SH "VIDEO OUTPUT DRIVERS"
3325 Video output drivers are interfaces to different video output facilities.
3326 The syntax is:
3329 .B \-vo <driver1[:suboption1[=value]:...],driver2,...[,]>
3330 Specify a priority list of video output drivers to be used.
3332 If the list has a trailing ',' MPlayer will fall back on drivers not
3333 contained in the list.
3334 Suboptions are optional and can mostly be omitted.
3336 .I NOTE:
3337 See \-vo help for a list of compiled-in video output drivers.
3338 .sp 1
3339 .I EXAMPLE:
3340 .PD 0
3341 .RSs
3342 .IPs "\-vo xmga,xv,"
3343 Try the Matrox X11 driver, then the Xv driver, then others.
3344 .IPs "\-vo directx:noaccel"
3345 Uses the DirectX driver with acceleration features turned off.
3347 .PD 1
3348 .sp 1
3349 Available video output drivers are:
3352 .B xv (X11 only)
3353 Uses the XVideo extension of XFree86 4.x to enable hardware
3354 accelerated playback.
3355 If you cannot use a hardware specific driver, this is probably
3356 the best option.
3357 For information about what colorkey is used and how it is drawn run MPlayer
3358 with \-v option and look out for the lines tagged with [xv common] at the
3359 beginning.
3360 .PD 0
3361 .RSs
3362 .IPs adaptor=<number>
3363 Select a specific XVideo adaptor (check xvinfo results).
3364 .IPs port=<number>
3365 Select a specific XVideo port.
3366 .IPs ck=<cur|use|set>
3367 Select the source from which the colorkey is taken (default: cur).
3368 .RSss
3369 .IPs cur
3370 The default takes the colorkey currently set in Xv.
3371 .IPs use
3372 Use but do not set the colorkey from MPlayer (use \-colorkey option to change
3373 it).
3374 .IPs set
3375 Same as use but also sets the supplied colorkey.
3377 .IPs ck-method=<man|bg|auto>
3378 Sets the colorkey drawing method (default: man).
3379 .RSss
3380 .IPs man
3381 Draw the colorkey manually (reduces flicker in some cases).
3382 .IPs bg
3383 Set the colorkey as window background.
3384 .IPs auto
3385 Let Xv draw the colorkey.
3388 .PD 1
3391 .B x11 (X11 only)
3392 Shared memory video output driver without hardware acceleration that
3393 works whenever X11 is present.
3396 .B xover (X11 only)
3397 Adds X11 support to all overlay based video output drivers.
3398 Currently only supported by tdfx_vid.
3399 .PD 0
3400 .RSs
3401 .IPs <vo_driver>
3402 Select the driver to use as source to overlay on top of X11.
3404 .PD 1
3407 .B vdpau (X11 only)
3408 Uses the VDPAU interface to display and optionally also decode video.
3409 Hardware decoding is used with \-vc ffmpeg12vdpau, ffwmv3vdpau, ffvc1vdpau, ffh264vdpau or ffodivxvdpau.
3410 .PD 0
3411 .RSs
3412 .IPs sharpen=<\-1\-1>
3413 For positive values, apply a sharpening algorithm to the video,
3414 for negative values a blurring algorithm (default: 0).
3415 .IPs denoise=<0\-1>
3416 Apply a noise reduction algorithm to the video (default: 0, no noise reduction).
3417 .IPs deint=<-4\-4>
3418 Select deinterlacing mode (default: -3).
3419 Positive values choose mode and enable deinterlacing.
3420 Corresponding negative values select the same deinterlacing mode,
3421 but do not enable deinterlacing on startup (useful in configuration files
3422 to specify what mode will be enabled by the "D" key).
3423 All modes respect \-field\-dominance.
3424 .RSss
3425 .IPs 0
3426 same as -3
3427 .IPs 1
3428 Show only first field, similar to \-vf field.
3429 .IPs 2
3430 Bob deinterlacing, similar to \-vf tfields=1.
3431 .IPs 3
3432 motion adaptive temporal deinterlacing.
3433 May lead to A/V desync with slow video hardware and/or high resolution.
3434 .IPs 4
3435 motion adaptive temporal deinterlacing with edge-guided spatial interpolation.
3436 Needs fast video hardware.
3438 .IPs chroma\-deint
3439 Makes temporal deinterlacers operate both on luma and chroma (default).
3440 Use nochroma\-deint to solely use luma and speed up advanced deinterlacing.
3441 Useful with slow video memory.
3442 .IPs pullup
3443 Try to apply inverse telecine, needs motion adaptive temporal deinterlacing.
3444 .IPs colorspace=<0-3>
3445 Select the color space for YUV to RGB conversion.
3446 In general BT.601 should be used for standard definition (SD) content and
3447 BT.709 for high definition (HD) content.
3448 Using incorrect color space results in slightly under or over saturated and
3449 shifted colors.
3450 .RSss
3451 .IPs 0
3452 Guess the color space based on video resolution.
3453 Video with width >= 1280 or height > 576 is assumed to be HD and BT.709 color
3454 space will be used.
3455 .IPs 1
3456 Use ITU-R BT.601 color space (default).
3457 .IPs 2
3458 Use ITU-R BT.709 color space.
3459 .IPs 3
3460 Use SMPTE-240M color space.
3462 .IPs hqscaling=<0-9>
3463 .RSss
3464 .IPs 0
3465 Use default VDPAU scaling (default).
3466 .IPs 1\-9
3467 Apply high quality VDPAU scaling (needs capable hardware).
3469 .IPs studio
3470 Output video in studio level RGB (16-235).
3471 This is what TVs and video monitors generally expect.
3472 By default PC level RGB (0-255) suitable for PC monitors is used.
3473 Providing studio level output to a device expecting PC level input results in
3474 grey blacks and dim whites, the reverse in crushed blacks and whites.
3475 .IPs fps=<number>
3476 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).
3477 Default 0 means use autodetected value.
3478 A positive value is interpreted as a refresh rate in Hz and overrides the autodetected value.
3479 A negative value disables all timing adjustment and framedrop logic.
3480 .IPs queuetime_windowed=<number>
3481 .IPs queuetime_fs=<number>
3482 Use VDPAU's presentation queue functionality to queue future video frame
3483 changes at most this many milliseconds in advance (default: 50).
3484 See below for additional information.
3485 .IPs output_surfaces=<2-15>
3486 Allocate this many output surfaces to display video frames (default: 3).
3487 See below for additional information.
3490 .sp 1
3491 Using the VDPAU frame queueing functionality controlled by the queuetime
3492 options makes MPlayer's frame flip timing less sensitive to system CPU load
3493 and allows MPlayer to start decoding the next frame(s) slightly earlier
3494 which can reduce jitter caused by individual slow-to-decode frames.
3495 However the NVIDIA graphics drivers can make other window behavior such as
3496 window moves choppy if VDPAU is using the blit queue (mainly happens
3497 if you have the composite extension enabled) and this feature is active.
3498 If this happens on your system and it bothers you then you can set the
3499 queuetime value to 0 to disable this feature.
3500 The settings to use in windowed and fullscreen mode are separate because there
3501 should be less reason to disable this for fullscreen mode (as the driver issue
3502 shouldn't affect the video itself).
3503 .sp 1
3504 You can queue more frames ahead by increasing the queuetime values and the
3505 output_surfaces count (to ensure enough surfaces to buffer video for a
3506 certain time ahead you need at least as many surfaces as the video has
3507 frames during that time, plus two).
3508 This could help make video smoother in some cases.
3509 The main downsides are increased video RAM requirements for the surfaces
3510 and laggier display response to user commands (display changes only become
3511 visible some time after they're queued). The graphics driver implementation may
3512 also have limits on the length of maximum queuing time or number of queued
3513 surfaces that work well or at all.
3515 .PD 1
3518 .B xvmc (X11 with \-vc ffmpeg12mc only)
3519 Video output driver that uses the XvMC (X Video Motion Compensation)
3520 extension of XFree86 4.x to speed up MPEG-1/2 and VCR2 decoding.
3521 .PD 0
3522 .RSs
3523 .IPs adaptor=<number>
3524 Select a specific XVideo adaptor (check xvinfo results).
3525 .IPs port=<number>
3526 Select a specific XVideo port.
3527 .IPs (no)benchmark
3528 Disables image display.
3529 Necessary for proper benchmarking of drivers that change
3530 image buffers on monitor retrace only (nVidia).
3531 Default is not to disable image display (nobenchmark).
3532 .IPs (no)bobdeint
3533 Very simple deinterlacer.
3534 Might not look better than \-vf tfields=1,
3535 but it is the only deinterlacer for xvmc (default: nobobdeint).
3536 .IPs (no)queue
3537 Queue frames for display to allow more parallel work of the video hardware.
3538 May add a small (not noticeable) constant A/V desync (default: noqueue).
3539 .IPs (no)sleep
3540 Use sleep function while waiting for rendering to finish
3541 (not recommended on Linux) (default: nosleep).
3542 .IPs ck=cur|use|set
3543 Same as \-vo xv:ck (see \-vo xv).
3544 .IPs ck-method=man|bg|auto
3545 Same as \-vo xv:ck-method (see \-vo xv).
3547 .PD 1
3550 .B dga (X11 only)
3551 Play video through the XFree86 Direct Graphics Access extension.
3552 Considered obsolete.
3555 .B sdl (SDL only, buggy/outdated)
3556 Highly platform independent SDL (Simple Directmedia Layer) library
3557 video output driver.
3558 Since SDL uses its own X11 layer, MPlayer X11 options do not have
3559 any effect on SDL.
3560 Note that it has several minor bugs (\-vm/\-novm is mostly ignored,
3561 \-fs behaves like \-novm should, window is in top-left corner when
3562 returning from fullscreen, panscan is not supported, ...).
3563 .PD 0
3564 .RSs
3565 .IPs driver=<driver>
3566 Explicitly choose the SDL driver to use.
3567 .IPs (no)forcexv
3568 Use XVideo through the sdl video output driver (default: forcexv).
3569 .IPs (no)hwaccel
3570 Use hardware accelerated scaler (default: hwaccel).
3572 .PD 1
3575 .B direct3d (Windows only) (BETA CODE!)
3576 Video output driver that uses the Direct3D interface (useful for Vista).
3579 .B directx (Windows only)
3580 Video output driver that uses the DirectX interface.
3581 .PD 0
3582 .RSs
3583 .IPs noaccel
3584 Turns off hardware acceleration.
3585 Try this option if you have display problems.
3587 .PD 1
3590 .B kva (OS/2 only)
3591 Video output driver that uses the libkva interface.
3592 .PD 0
3593 .RSs
3594 .IPs snap
3595 Force SNAP mode.
3596 .IPs wo
3597 Force WarpOverlay! mode.
3598 .IPs dive
3599 Force DIVE mode.
3600 .IPs (no)t23
3601 Enable or disable workaround for T23 laptop (default: disabled).
3602 Try to enable this option if your video card supports upscaling only.
3604 .PD 1
3607 .B quartz (Mac OS X only)
3608 Mac OS X Quartz video output driver.
3609 Under some circumstances, it might be more efficient to force a
3610 packed YUV output format, with e.g.\& \-vf format=yuy2.
3611 .PD 0
3612 .RSs
3613 .IPs device_id=<number>
3614 Choose the display device to use in fullscreen.
3615 .IPs fs_res=<width>:<height>
3616 Specify the fullscreen resolution (useful on slow systems).
3618 .PD 1
3621 .B corevideo (Mac OS X 10.4 or 10.3.9 with QuickTime 7)
3622 Mac OS X CoreVideo video output driver
3623 .PD 0
3624 .RSs
3625 .IPs device_id=<number>
3626 Choose the display device to use for fullscreen or set it to \-1 to
3627 always use the same screen the video window is on (default: \-1 \- auto).
3628 .IPs shared_buffer
3629 Write output to a shared memory buffer instead of displaying it and
3630 try to open an existing NSConnection for communication with a GUI.
3631 .IPs buffer_name=<name>
3632 Name of the shared buffer created with shm_open as well as the name of
3633 the NSConnection MPlayer will try to open (default: "mplayerosx").
3634 Setting buffer_name implicitly enables shared_buffer.
3636 .PD 1
3639 .B fbdev (Linux only)
3640 Uses the kernel framebuffer to play video.
3641 .PD 0
3642 .RSs
3643 .IPs <device>
3644 Explicitly choose the fbdev device name to use (e.g.\& /dev/\:fb0).
3646 .PD 1
3649 .B fbdev2 (Linux only)
3650 Uses the kernel framebuffer to play video,
3651 alternative implementation.
3652 .PD 0
3653 .RSs
3654 .IPs <device>
3655 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
3657 .PD 1
3660 .B "vesa\ \ \ "
3661 Very general video output driver that should work on any VESA VBE 2.0
3662 compatible card.
3663 .PD 0
3664 .RSs
3665 .IPs (no)dga
3666 Turns DGA mode on or off (default: on).
3667 .IPs neotv_pal
3668 Activate the NeoMagic TV out and set it to PAL norm.
3669 .IPs neotv_ntsc
3670 Activate the NeoMagic TV out and set it to NTSC norm.
3671 .IPs "lvo:\ \ \ "
3672 Activate the Linux Video Overlay on top of VESA mode.
3674 .PD 1
3677 .B "svga\ \ \ "
3678 Play video using the SVGA library.
3679 .PD 0
3680 .RSs
3681 .IPs "<video mode>"
3682 Specify video mode to use.
3683 The mode can be given in a <width>x<height>x<colors> format,
3684 e.g.\& 640x480x16M or be a graphics mode number, e.g.\& 84.
3685 .IPs bbosd
3686 Draw OSD into black bands below the movie (slower).
3687 .IPs native
3688 Use only native drawing functions.
3689 This avoids direct rendering, OSD and hardware acceleration.
3690 .IPs retrace
3691 Force frame switch on vertical retrace.
3692 Usable only with \-double.
3693 It has the same effect as the \-vsync option.
3694 .IPs "sq\ \ \ "
3695 Try to select a video mode with square pixels.
3697 .PD 1
3700 .B "gl\ \ \ \ \ "
3701 OpenGL video output driver, simple version.
3702 Video size must be smaller than
3703 the maximum texture size of your OpenGL implementation.
3704 Intended to work even with the most basic OpenGL implementations,
3705 but also makes use of newer extensions, which allow support for more
3706 colorspaces and direct rendering.
3707 For optimal speed try adding the options
3709 \-dr \-noslices
3711 The code performs very few checks, so if a feature does not work, this
3712 might be because it is not supported by your card/OpenGL implementation
3713 even if you do not get any error message.
3714 Use glxinfo or a similar tool to display the supported OpenGL extensions.
3715 .PD 0
3716 .RSs
3717 .IPs (no)ati\-hack
3718 ATI drivers may give a corrupted image when PBOs are used (when using \-dr
3719 or force\-pbo).
3720 This option fixes this, at the expense of using a bit more memory.
3721 .IPs (no)force\-pbo
3722 Always uses PBOs to transfer textures even if this involves an extra copy.
3723 Currently this gives a little extra speed with NVidia drivers and a lot more
3724 speed with ATI drivers.
3725 May need \-noslices and the ati\-hack suboption to work correctly.
3726 .IPs (no)scaled-osd
3727 Changes the way the OSD behaves when the size of the
3728 window changes (default: disabled).
3729 When enabled behaves more like the other video output drivers,
3730 which is better for fixed-size fonts.
3731 Disabled looks much better with FreeType fonts and uses the
3732 borders in fullscreen mode.
3733 Does not work correctly with ass subtitles (see \-ass), you can instead
3734 render them without OpenGL support via \-vf ass.
3735 .IPs osdcolor=<0xAARRGGBB>
3736 Color for OSD (default: 0x00ffffff, corresponds to non-transparent white).
3737 .IPs rectangle=<0,1,2>
3738 Select usage of rectangular textures which saves video RAM, but often is
3739 slower (default: 0).
3740 .RSss
3741 0: Use power-of-two textures (default).
3743 1: Use the GL_ARB_texture_rectangle extension.
3745 2: Use the GL_ARB_texture_non_power_of_two extension.
3746 In some cases only supported in software and thus very slow.
3748 .IPs swapinterval=<n>
3749 Minimum interval between two buffer swaps, counted in
3750 displayed frames (default: 1).
3751 1 is equivalent to enabling VSYNC, 0 to disabling VSYNC.
3752 Values below 0 will leave it at the system default.
3753 This limits the framerate to (horizontal refresh rate / n).
3754 Requires GLX_SGI_swap_control support to work.
3755 With some (most/all?) implementations this only works in fullscreen mode.
3756 .IPs ycbcr
3757 Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB.
3758 In most cases this is probably slower than doing software conversion to RGB.
3759 .IPs yuv=<n>
3760 Select the type of YUV to RGB conversion.
3761 The default is auto-detection deciding between values 0 and 2.
3762 .RSss
3763 0: Use software conversion.
3764 Compatible with all OpenGL versions.
3765 Provides brightness, contrast and saturation control.
3767 1: Use register combiners.
3768 This uses an nVidia-specific extension (GL_NV_register_combiners).
3769 At least three texture units are needed.
3770 Provides saturation and hue control.
3771 This method is fast but inexact.
3773 2: Use a fragment program.
3774 Needs the GL_ARB_fragment_program extension and at least three texture units.
3775 Provides brightness, contrast, saturation and hue control.
3777 3: Use a fragment program using the POW instruction.
3778 Needs the GL_ARB_fragment_program extension and at least three texture units.
3779 Provides brightness, contrast, saturation, hue and gamma control.
3780 Gamma can also be set independently for red, green and blue.
3781 Method 4 is usually faster.
3783 4: Use a fragment program with additional lookup.
3784 Needs the GL_ARB_fragment_program extension and at least four texture units.
3785 Provides brightness, contrast, saturation, hue and gamma control.
3786 Gamma can also be set independently for red, green and blue.
3788 5: Use ATI-specific method (for older cards).
3789 This uses an ATI-specific extension (GL_ATI_fragment_shader \- not
3790 GL_ARB_fragment_shader!).
3791 At least three texture units are needed.
3792 Provides saturation and hue control.
3793 This method is fast but inexact.
3795 6: Use a 3D texture to do conversion via lookup.
3796 Needs the GL_ARB_fragment_program extension and at least four texture units.
3797 Extremely slow (software emulation) on some (all?) ATI cards since it uses
3798 a texture with border pixels.
3799 Provides brightness, contrast, saturation, hue and gamma control.
3800 Gamma can also be set independently for red, green and blue.
3801 Speed depends more on GPU memory bandwidth than other methods.
3803 .IPs colorspace
3804 Select the color space for YUV to RGB conversion.
3805 .RSss
3806 .IPs 0
3807 Use the formula used normally by MPlayer (default).
3808 .IPs 1
3809 Use ITU-R BT.601 color space.
3810 .IPs 2
3811 Use ITU-R BT.709 color space.
3812 .IPs 3
3813 Use SMPTE-240M color space.
3815 .IPs levelconv=<n>
3816 Select the brightness level conversion to use for the YUV to RGB conversion
3817 .RSss
3818 .IPs 0
3819 Convert TV to PC levels (default).
3820 .IPs 1
3821 Convert PC to TV levels.
3822 .IPs 2
3823 Do not do any conversion.
3825 .IPs lscale=<n>
3826 Select the scaling function to use for luminance scaling.
3827 Only valid for yuv modes 2, 3, 4 and 6.
3828 .RSss
3829 0: Use simple linear filtering (default).
3831 1: Use bicubic B-spline filtering (better quality).
3832 Needs one additional texture unit.
3833 Older cards will not be able to handle this for chroma at least in fullscreen mode.
3835 2: Use cubic filtering in horizontal, linear filtering in vertical direction.
3836 Works on a few more cards than method 1.
3838 3: Same as 1 but does not use a lookup texture.
3839 Might be faster on some cards.
3841 4: Use experimental unsharp masking with 3x3 support and a default strength of 0.5 (see filter-strength).
3843 5: Use experimental unsharp masking with 5x5 support and a default strength of 0.5 (see filter-strength).
3845 .IPs cscale=<n>
3846 Select the scaling function to use for chrominance scaling.
3847 For details see lscale.
3848 .IPs filter-strength=<value>
3849 Set the effect strength for the lscale/cscale filters that support it.
3850 .IPs stereo=<value>
3851 Select a method for stereo display.
3852 You may have to use -aspect to fix the aspect value.
3853 Experimental, do not expect too much from it.
3854 .RSss
3855 0: Normal 2D display
3857 1: left-right split input to full-color red-cyan stereo.
3859 2: left-right split input to full-color red-cyan stereo.
3861 3: left-right split input to quadbuffered stereo.
3862 Only supported by very few OpenGL cards.
3865 .sp 1
3867 The following options are only useful if writing your own fragment programs.
3869 .sp 1
3870 .RSs
3871 .IPs customprog=<filename>
3872 Load a custom fragment program from <filename>.
3873 See TOOLS/edgedect.fp for an example.
3874 .IPs customtex=<filename>
3875 Load a custom "gamma ramp" texture from <filename>.
3876 This can be used in combination with yuv=4 or with the customprog option.
3877 .IPs (no)customtlin
3878 If enabled (default) use GL_LINEAR interpolation, otherwise use GL_NEAREST
3879 for customtex texture.
3880 .IPs (no)customtrect
3881 If enabled, use texture_rectangle for customtex texture.
3882 Default is disabled.
3883 .IPs (no)mipmapgen
3884 If enabled, mipmaps for the video are automatically generated.
3885 This should be useful together with the customprog and the TXB
3886 instruction to implement blur filters with a large radius.
3887 For most OpenGL implementations this is very slow for any non-RGB
3888 formats.
3889 Default is disabled.
3891 .sp 1
3893 Normally there is no reason to use the following options, they mostly
3894 exist for testing purposes.
3896 .sp 1
3897 .RSs
3898 .IPs (no)glfinish
3899 Call glFinish() before swapping buffers.
3900 Slower but in some cases more correct output (default: disabled).
3901 .IPs (no)manyfmts
3902 Enables support for more (RGB and BGR) color formats (default: enabled).
3903 Needs OpenGL version >= 1.2.
3904 .IPs slice-height=<0\-...>
3905 Number of lines copied to texture in one piece (default: 0).
3906 0 for whole image.
3908 .I NOTE:
3909 If YUV colorspace is used (see yuv suboption), special rules apply:
3910 .RSss
3911 If the decoder uses slice rendering (see \-noslices), this setting
3912 has no effect, the size of the slices as provided by the decoder is used.
3914 If the decoder does not use slice rendering, the default is 16.
3916 .IPs (no)osd
3917 Enable or disable support for OSD rendering via OpenGL (default: enabled).
3918 This option is for testing; to disable the OSD use \-osdlevel 0 instead.
3919 .IPs (no)aspect
3920 Enable or disable aspect scaling and pan-and-scan support (default: enabled).
3921 Disabling might increase speed.
3922 .REss
3924 .PD 1
3927 .B "gl2\ \ \ \ "
3928 Variant of the OpenGL video output driver.
3929 Supports videos larger than the maximum texture size but lacks many of the
3930 advanced features and optimizations of the gl driver and is unlikely to be
3931 extended further.
3932 .PD 0
3933 .RSs
3934 .IPs (no)glfinish
3935 same as gl (default: enabled)
3936 .IPs yuv=<n>
3937 Select the type of YUV to RGB conversion.
3938 If set to anything except 0 OSD will be disabled and brightness, contrast and
3939 gamma setting is only available via the global X server settings.
3940 Apart from this the values have the same meaning as for \-vo gl.
3941 .REss
3944 .B matrixview
3945 OpenGL-based renderer creating a Matrix-like running-text effect.
3946 .PD 0
3947 .RSs
3948 .IPs cols=<n>
3949 Number of text columns to display.
3950 Very low values (< 16) will probably fail due to scaler limitations.
3951 Values not divisible by 16 may cause issues as well.
3952 .IPs rows=<n>
3953 Number of text rows to display.
3954 Very low values (< 16) will probably fail due to scaler limitations.
3955 Values not divisible by 16 may cause issues as well.
3956 .REss
3959 .B "null\ \ \ "
3960 Produces no video output.
3961 Useful for benchmarking.
3964 .B "aa\ \ \ \ \ "
3965 ASCII art video output driver that works on a text console.
3966 You can get a list and an explanation of available suboptions
3967 by executing 'mplayer \-vo aa:help'.
3969 .I NOTE:
3970 The driver does not handle \-aspect correctly.
3972 .I HINT:
3973 You probably have to specify \-monitorpixelaspect.
3974 Try 'mplayer \-vo aa \-monitorpixelaspect 0.5'.
3977 .B "caca\ \ \ "
3978 Color ASCII art video output driver that works on a text console.
3981 .B "bl\ \ \ \ \ "
3982 Video playback using the Blinkenlights UDP protocol.
3983 This driver is highly hardware specific.
3984 .PD 0
3985 .RSs
3986 .IPs <subdevice>
3987 Explicitly choose the Blinkenlights subdevice driver to use.
3988 It is something like arcade:host=localhost:2323 or
3989 hdl:file=name1,file=name2.
3990 You must specify a subdevice.
3992 .PD 1
3995 .B "ggi\ \ \ \ "
3996 GGI graphics system video output driver
3997 .PD 0
3998 .RSs
3999 .IPs <driver>
4000 Explicitly choose the GGI driver to use.
4001 Replace any ',' that would appear in the driver string by a '.'.
4003 .PD 1
4006 .B directfb
4007 Play video using the DirectFB library.
4008 .PD 0
4009 .RSs
4010 .IPs (no)input
4011 Use the DirectFB instead of the MPlayer keyboard code (default: enabled).
4012 .IPs buffermode=single|double|triple
4013 Double and triple buffering give best results if you want to avoid tearing issues.
4014 Triple buffering is more efficient than double buffering as it does
4015 not block MPlayer while waiting for the vertical retrace.
4016 Single buffering should be avoided (default: single).
4017 .IPs fieldparity=top|bottom
4018 Control the output order for interlaced frames (default: disabled).
4019 Valid values are top = top fields first, bottom = bottom fields first.
4020 This option does not have any effect on progressive film material
4021 like most MPEG movies are.
4022 You need to enable this option if you have tearing issues or unsmooth
4023 motions watching interlaced film material.
4024 .IPs layer=N
4025 Will force layer with ID N for playback (default: \-1 \- auto).
4026 .IPs dfbopts=<list>
4027 Specify a parameter list for DirectFB.
4029 .PD 1
4032 .B "dfbmga\ "
4033 Matrox G400/\:G450/\:G550 specific video output driver that uses the
4034 DirectFB library to make use of special hardware features.
4035 Enables CRTC2 (second head), displaying video independently of the first head.
4036 .PD 0
4037 .RSs
4038 .IPs (no)input
4039 same as directfb (default: disabled)
4040 .IPs buffermode=single|double|triple
4041 same as directfb (default: triple)
4042 .IPs fieldparity=top|bottom
4043 same as directfb
4044 .IPs (no)bes
4045 Enable the use of the Matrox BES (backend scaler) (default: disabled).
4046 Gives very good results concerning speed and output quality as interpolated
4047 picture processing is done in hardware.
4048 Works only on the primary head.
4049 .IPs (no)spic
4050 Make use of the Matrox sub picture layer to display the OSD (default: enabled).
4051 .IPs (no)crtc2
4052 Turn on TV-out on the second head (default: enabled).
4053 The output quality is amazing as it is a full interlaced picture
4054 with proper sync to every odd/\:even field.
4055 .IPs tvnorm=pal|ntsc|auto
4056 Will set the TV norm of the Matrox card without the need
4057 for modifying /etc/\:directfbrc (default: disabled).
4058 Valid norms are pal = PAL, ntsc = NTSC.
4059 Special norm is auto (auto-adjust using PAL/\:NTSC) because it decides
4060 which norm to use by looking at the framerate of the movie.
4062 .PD 1
4065 .B mga (Linux only)
4066 Matrox specific video output driver that makes use of the YUV back
4067 end scaler on Gxxx cards through a kernel module.
4068 If you have a Matrox card, this is the fastest option.
4069 .PD 0
4070 .RSs
4071 .IPs <device>
4072 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4074 .PD 1
4077 .B xmga (Linux, X11 only)
4078 The mga video output driver, running in an X11 window.
4079 .PD 0
4080 .RSs
4081 .IPs <device>
4082 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4084 .PD 1
4087 .B s3fb (Linux only) (also see \-dr)
4088 S3 Virge specific video output driver.
4089 This driver supports the card's YUV conversion and scaling, double
4090 buffering and direct rendering features.
4091 Use \-vf format=yuy2 to get hardware-accelerated YUY2 rendering, which is
4092 much faster than YV12 on this card.
4093 .PD 0
4094 .RSs
4095 .IPs <device>
4096 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4098 .PD 1
4101 .B wii (Linux only)
4102 Nintendo Wii/GameCube specific video output driver.
4105 .B 3dfx (Linux only)
4106 3dfx-specific video output driver that directly uses
4107 the hardware on top of X11.
4108 Only 16 bpp are supported.
4111 .B tdfxfb (Linux only)
4112 This driver employs the tdfxfb framebuffer driver to play movies with
4113 YUV acceleration on 3dfx cards.
4114 .PD 0
4115 .RSs
4116 .IPs <device>
4117 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4119 .PD 1
4122 .B tdfx_vid (Linux only)
4123 3dfx-specific video output driver that works in combination with
4124 the tdfx_vid kernel module.
4125 .PD 0
4126 .RSs
4127 .IPs <device>
4128 Explicitly choose the device name to use (default: /dev/\:tdfx_vid).
4130 .PD 1
4133 .B dxr3 (DXR3 only)
4134 Sigma Designs em8300 MPEG decoder chip (Creative DXR3, Sigma Designs
4135 Hollywood Plus) specific video output driver.
4136 Also see the lavc video filter.
4137 .PD 0
4138 .RSs
4139 .IPs overlay
4140 Activates the overlay instead of TV-out.
4141 .IPs prebuf
4142 Turns on prebuffering.
4143 .IPs "sync\ "
4144 Will turn on the new sync-engine.
4145 .IPs norm=<norm>
4146 Specifies the TV norm.
4147 .RSss
4148 0: Does not change current norm (default).
4150 1: Auto-adjust using PAL/\:NTSC.
4152 2: Auto-adjust using PAL/\:PAL-60.
4154 3: PAL
4156 4: PAL-60
4158 5: NTSC
4160 .IPs <0\-3>
4161 Specifies the device number to use if you have more than one em8300 card.
4163 .PD 1
4166 .B ivtv (IVTV only)
4167 Conexant CX23415 (iCompression iTVC15) or Conexant CX23416 (iCompression
4168 iTVC16) MPEG decoder chip (Hauppauge WinTV PVR-150/250/350/500)
4169 specific video output driver for TV-out.
4170 Also see the lavc video filter.
4171 .PD 0
4172 .RSs
4173 .IPs <device>
4174 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4175 .IPs <output>
4176 Explicitly choose the TV-out output to be used for the video signal.
4178 .PD 1
4181 .B v4l2 (requires Linux 2.6.22+ kernel)
4182 Video output driver for V4L2 compliant cards with built-in hardware MPEG decoder.
4183 Also see the lavc video filter.
4184 .PD 0
4185 .RSs
4186 .IPs <device>
4187 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4188 .IPs <output>
4189 Explicitly choose the TV-out output to be used for the video signal.
4191 .PD 1
4194 .B mpegpes (DVB only)
4195 Video output driver for DVB cards that writes the output to an MPEG-PES file
4196 if no DVB card is installed.
4197 .PD 0
4198 .RSs
4199 .IPs card=<1\-4>
4200 Specifies the device number to use if you have more than one DVB output card
4201 (V3 API only, such as 1.x.y series drivers).
4202 If not specified MPlayer will search the first usable card.
4203 .IPs <filename>
4204 output filename (default: ./grab.mpg)
4206 .PD 1
4209 .B "md5sum\ "
4210 Calculate MD5 sums of each frame and write them to a file.
4211 Supports RGB24 and YV12 colorspaces.
4212 Useful for debugging.
4213 .PD 0
4214 .RSs
4215 .IPs outfile=<value>
4216 Specify the output filename (default: ./md5sums).
4218 .PD 1
4221 .B yuv4mpeg
4222 Transforms the video stream into a sequence of uncompressed YUV 4:2:0
4223 images and stores it in a file (default: ./stream.yuv).
4224 The format is the same as the one employed by mjpegtools, so this is
4225 useful if you want to process the video with the mjpegtools suite.
4226 It supports the YV12 format.
4227 If your source file has a different format and is interlaced, make sure
4228 to use -vf scale=::1 to ensure the conversion uses interlaced mode.
4229 You can combine it with the \-fixed\-vo option to concatenate files
4230 with the same dimensions and fps value.
4231 .PD 0
4232 .RSs
4233 .IPs interlaced
4234 Write the output as interlaced frames, top field first.
4235 .IPs interlaced_bf
4236 Write the output as interlaced frames, bottom field first.
4237 .IPs file=<filename>
4238 Write the output to <filename> instead of the default stream.yuv.
4239 .REss
4240 .PD 1
4242 .sp 1
4243 .I NOTE:
4244 If you do not specify any option the output is progressive
4245 (i.e.\& not interlaced).
4249 .B "gif89a\ "
4250 Output each frame into a single animated GIF file in the current directory.
4251 It supports only RGB format with 24 bpp and the output is converted to 256
4252 colors.
4253 .PD 0
4254 .RSs
4255 .IPs <fps>
4256 Float value to specify framerate (default: 5.0).
4257 .IPs <output>
4258 Specify the output filename (default: ./out.gif).
4259 .REss
4260 .PD 1
4262 .sp 1
4263 .I NOTE:
4264 You must specify the framerate before the filename or the framerate will
4265 be part of the filename.
4266 .sp 1
4267 .I EXAMPLE:
4269 .PD 0
4270 .RSs
4271 mplayer video.nut \-vo gif89a:fps=15:output=test.gif
4273 .PD 1
4276 .B "jpeg\ \ \ "
4277 Output each frame into a JPEG file in the current directory.
4278 Each file takes the frame number padded with leading zeros as name.
4279 .PD 0
4280 .RSs
4281 .IPs [no]progressive
4282 Specify standard or progressive JPEG (default: noprogressive).
4283 .IPs [no]baseline
4284 Specify use of baseline or not (default: baseline).
4285 .IPs optimize=<0\-100>
4286 optimization factor (default: 100)
4287 .IPs smooth=<0\-100>
4288 smooth factor (default: 0)
4289 .IPs quality=<0\-100>
4290 quality factor (default: 75)
4291 .IPs outdir=<dirname>
4292 Specify the directory to save the JPEG files to (default: ./).
4293 .IPs subdirs=<prefix>
4294 Create numbered subdirectories with the specified prefix to
4295 save the files in instead of the current directory.
4296 .IPs "maxfiles=<value> (subdirs only)"
4297 Maximum number of files to be saved per subdirectory.
4298 Must be equal to or larger than 1 (default: 1000).
4300 .PD 1
4303 .B "pnm\ \ \ \ "
4304 Output each frame into a PNM file in the current directory.
4305 Each file takes the frame number padded with leading zeros as name.
4306 It supports PPM, PGM and PGMYUV files in both raw and ASCII mode.
4307 Also see pnm(5), ppm(5) and pgm(5).
4308 .PD 0
4309 .RSs
4310 .IPs "ppm\ \ "
4311 Write PPM files (default).
4312 .IPs "pgm\ \ "
4313 Write PGM files.
4314 .IPs pgmyuv
4315 Write PGMYUV files.
4316 PGMYUV is like PGM, but it also contains the U and V plane, appended at the
4317 bottom of the picture.
4318 .IPs "raw\ \ "
4319 Write PNM files in raw mode (default).
4320 .IPs ascii
4321 Write PNM files in ASCII mode.
4322 .IPs outdir=<dirname>
4323 Specify the directory to save the PNM files to (default: ./).
4324 .IPs subdirs=<prefix>
4325 Create numbered subdirectories with the specified prefix to
4326 save the files in instead of the current directory.
4327 .IPs "maxfiles=<value> (subdirs only)"
4328 Maximum number of files to be saved per subdirectory.
4329 Must be equal to or larger than 1 (default: 1000).
4331 .PD 1
4334 .B "png\ \ \ \ "
4335 Output each frame into a PNG file in the current directory.
4336 Each file takes the frame number padded with leading zeros as name.
4337 24bpp RGB and BGR formats are supported.
4338 .PD 0
4339 .RSs
4340 .IPs z=<0\-9>
4341 Specifies the compression level.
4342 0 is no compression, 9 is maximum compression.
4343 .IPs alpha (default: noalpha)
4344 Create PNG files with an alpha channel.
4345 Note that MPlayer in general does not support alpha, so this will only
4346 be useful in some rare cases.
4348 .PD 1
4351 .B "tga\ \ \ \ "
4352 Output each frame into a Targa file in the current directory.
4353 Each file takes the frame number padded with leading zeros as name.
4354 The purpose of this video output driver is to have a simple lossless
4355 image writer to use without any external library.
4356 It supports the BGR[A] color format, with 15, 24 and 32 bpp.
4357 You can force a particular format with the format video filter.
4358 .sp 1
4359 .I EXAMPLE:
4361 .PD 0
4362 .RSs
4363 mplayer video.nut \-vf format=bgr15 \-vo tga
4365 .PD 1
4369 .SH "DECODING/FILTERING OPTIONS"
4372 .B \-ac <[\-|+]codec1,[\-|+]codec2,...[,]>
4373 Specify a priority list of audio codecs to be used, according to their codec
4374 name in codecs.conf.
4375 Use a '\-' before the codec name to omit it.
4376 Use a '+' before the codec name to force it, this will likely crash!
4377 If the list has a trailing ',' MPlayer will fall back on codecs not
4378 contained in the list.
4380 .I NOTE:
4381 See \-ac help for a full list of available codecs.
4382 .sp 1
4383 .I EXAMPLE:
4384 .PD 0
4385 .RSs
4386 .IPs "\-ac mp3acm"
4387 Force the l3codeca.acm MP3 codec.
4388 .IPs "\-ac mad,"
4389 Try libmad first, then fall back on others.
4390 .IPs "\-ac hwac3,a52,"
4391 Try hardware AC-3 passthrough, software AC-3, then others.
4392 .IPs "\-ac hwdts,"
4393 Try hardware DTS passthrough, then fall back on others.
4394 .IPs "\-ac \-ffmp3,"
4395 Skip FFmpeg's MP3 decoder.
4397 .PD 1
4400 .B \-af\-adv <force=(0\-7):list=(filters)> (also see \-af)
4401 Specify advanced audio filter options:
4402 .RSs
4403 .IPs force=<0\-7>
4404 Forces the insertion of audio filters to one of the following:
4405 .RSss
4406 0: Use completely automatic filter insertion (currently identical to 1).
4408 1: Optimize for accuracy (default).
4410 2: Optimize for speed.
4411 .I Warning:
4412 Some features in the audio filters may silently fail,
4413 and the sound quality may drop.
4415 3: Use no automatic insertion of filters and no optimization.
4416 .I Warning:
4417 It may be possible to crash MPlayer using this setting.
4419 4: Use automatic insertion of filters according to 0 above,
4420 but use floating point processing when possible.
4422 5: Use automatic insertion of filters according to 1 above,
4423 but use floating point processing when possible.
4425 6: Use automatic insertion of filters according to 2 above,
4426 but use floating point processing when possible.
4428 7: Use no automatic insertion of filters according to 3 above,
4429 and use floating point processing when possible.
4430 .REss
4431 .IPs list=<filters>
4432 Same as \-af.
4436 .B \-afm <driver1,driver2,...>
4437 Specify a priority list of audio codec families to be used, according
4438 to their codec name in codecs.conf.
4439 Falls back on the default codecs if none of the given codec families work.
4441 .I NOTE:
4442 See \-afm help for a full list of available codec families.
4443 .sp 1
4444 .I EXAMPLE:
4445 .PD 0
4446 .RSs
4447 .IPs "\-afm ffmpeg"
4448 Try FFmpeg's libavcodec codecs first.
4449 .IPs "\-afm acm,dshow"
4450 Try Win32 codecs first.
4452 .PD 1
4455 .B \-aspect <ratio> (also see \-zoom)
4456 Override movie aspect ratio, in case aspect information is
4457 incorrect or missing in the file being played.
4458 .sp 1
4459 .I EXAMPLE:
4460 .PD 0
4461 .RSs
4462 \-aspect 4:3  or \-aspect 1.3333
4464 \-aspect 16:9 or \-aspect 1.7777
4466 .PD 1
4469 .B \-noaspect
4470 Disable automatic movie aspect ratio compensation.
4473 .B "\-field\-dominance <\-1\-1>"
4474 Set first field for interlaced content.
4475 Useful for deinterlacers that double the framerate: \-vf tfields=1,
4476 \-vf yadif=1, \-vo vdpau:deint and \-vo xvmc:bobdeint.
4477 .PD 0
4478 .RSs
4479 .IPs \-1
4480 auto (default): If the decoder does not export the appropriate information,
4481 it falls back to 0 (top field first).
4482 .IPs 0
4483 top field first
4484 .IPs 1
4485 bottom field first
4487 .PD 1
4490 .B "\-flip \ "
4491 Flip image upside-down.
4494 .B \-lavdopts <option1:option2:...> (DEBUG CODE)
4495 Specify libavcodec decoding parameters.
4496 Separate multiple options with a colon.
4497 .sp 1
4498 .I EXAMPLE:
4499 .PD 0
4500 .RSs
4501 \-lavdopts gray:skiploopfilter=all:skipframe=nonref
4503 .PD 1
4504 .sp 1
4506 Available options are:
4508 .RSs
4509 .IPs bitexact
4510 Only use bit-exact algorithms in all decoding steps (for codec testing).
4511 .IPs bug=<value>
4512 Manually work around encoder bugs.
4513 .RSss
4514 0: nothing
4516 1: autodetect bugs (default)
4518 2 (msmpeg4v3): some old lavc generated msmpeg4v3 files (no autodetection)
4520 4 (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
4522 8 (mpeg4): UMP4 (autodetected if fourcc==UMP4)
4524 16 (mpeg4): padding bug (autodetected)
4526 32 (mpeg4): illegal vlc bug (autodetected per fourcc)
4528 64 (mpeg4): Xvid and DivX qpel bug (autodetected per fourcc/\:version)
4530 128 (mpeg4): old standard qpel (autodetected per fourcc/\:version)
4532 256 (mpeg4): another qpel bug (autodetected per fourcc/\:version)
4534 512 (mpeg4): direct-qpel-blocksize bug (autodetected per fourcc/\:version)
4536 1024 (mpeg4): edge padding bug (autodetected per fourcc/\:version)
4537 .REss
4538 .IPs debug=<value>
4539 Display debugging information.
4540 .RSss
4542 0: disabled
4544 1: picture info
4546 2: rate control
4548 4: bitstream
4550 8: macroblock (MB) type
4552 16: per-block quantization parameter (QP)
4554 32: motion vector
4556 0x0040: motion vector visualization (use \-noslices)
4558 0x0080: macroblock (MB) skip
4560 0x0100: startcode
4562 0x0200: PTS
4564 0x0400: error resilience
4566 0x0800: memory management control operations (H.264)
4568 0x1000: bugs
4570 0x2000: Visualize quantization parameter (QP), lower QP are tinted greener.
4572 0x4000: Visualize block types.
4573 .REss
4574 .IPs ec=<value>
4575 Set error concealment strategy.
4576 .RSss
4577 1: Use strong deblock filter for damaged MBs.
4579 2: iterative motion vector (MV) search (slow)
4581 3: all (default)
4582 .REss
4583 .IPs er=<value>
4584 Set error resilience strategy.
4585 .RSss
4587 0: disabled
4589 1: careful (Should work with broken encoders.)
4591 2: normal (default) (Works with compliant encoders.)
4593 3: aggressive (More checks, but might cause problems even for valid bitstreams.)
4595 4: very aggressive
4596 .REss
4597 .IPs "fast (MPEG-2, MPEG-4, and H.264 only)"
4598 Enable optimizations which do not comply to the specification and might
4599 potentially cause problems, like simpler dequantization, simpler motion
4600 compensation, assuming use of the default quantization matrix, assuming
4601 YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.
4602 .IPs "gray\ "
4603 grayscale only decoding (a bit faster than with color)
4604 .IPs "idct=<0\-99> (see \-lavcopts)"
4605 For best decoding quality use the same IDCT algorithm for decoding and encoding.
4606 This may come at a price in accuracy, though.
4607 .IPs lowres=<number>[,<w>]
4608 Decode at lower resolutions.
4609 Low resolution decoding is not supported by all codecs, and it will
4610 often result in ugly artifacts.
4611 This is not a bug, but a side effect of not decoding at full resolution.
4612 .RSss
4614 0: disabled
4616 1: 1/2 resolution
4618 2: 1/4 resolution
4620 3: 1/8 resolution
4621 .REss
4623 If <w> is specified lowres decoding will be used only if the width of the
4624 video is major than or equal to <w>.
4626 .B o=<key>=<value>[,<key>=<value>[,...]]
4627 Pass AVOptions to libavcodec decoder.
4628 Note, a patch to make the o= unneeded and pass all unknown options through
4629 the AVOption system is welcome.
4630 A full list of AVOptions can be found in the FFmpeg manual.
4631 .sp 1
4633 .I EXAMPLE:
4635 .RSs
4636 .PD 0
4637 .IPs o=debug=pict
4638 .PD 1
4640 .IPs "sb=<number> (MPEG-2 only)"
4641 Skip the given number of macroblock rows at the bottom.
4642 .IPs "st=<number> (MPEG-2 only)"
4643 Skip the given number of macroblock rows at the top.
4644 .IPs "skiploopfilter=<skipvalue> (H.264 only)"
4645 Skips the loop filter (AKA deblocking) during H.264 decoding.
4646 Since the filtered frame is supposed to be used as reference
4647 for decoding dependent frames this has a worse effect on quality
4648 than not doing deblocking on e.g.\& MPEG-2 video.
4649 But at least for high bitrate HDTV this provides a big speedup with
4650 no visible quality loss.
4651 .sp 1
4652 <skipvalue> can be either one of the following:
4653 .RSss
4655 none: Never skip.
4657 default: Skip useless processing steps (e.g.\& 0 size packets in AVI).
4659 nonref: Skip frames that are not referenced (i.e.\& not used for
4660 decoding other frames, the error cannot "build up").
4662 bidir: Skip B-Frames.
4664 nonkey: Skip all frames except keyframes.
4666 all: Skip all frames.
4667 .REss
4668 .IPs "skipidct=<skipvalue> (MPEG-1/2 only)"
4669 Skips the IDCT step.
4670 This degrades quality a lot of in almost all cases
4671 (see skiploopfilter for available skip values).
4672 .IPs skipframe=<skipvalue>
4673 Skips decoding of frames completely.
4674 Big speedup, but jerky motion and sometimes bad artifacts
4675 (see skiploopfilter for available skip values).
4676 .IPs "threads=<0\-16>"
4677 Number of threads to use for decoding.
4678 Whether threading is actually supported depends on codec.
4679 0 means autodetect number of cores on the machine and use that, up to the
4680 maximum of 16.
4681 (default: 0)
4682 .IPs vismv=<value>
4683 Visualize motion vectors.
4684 .RSss
4686 0: disabled
4688 1: Visualize forward predicted MVs of P-frames.
4690 2: Visualize forward predicted MVs of B-frames.
4692 4: Visualize backward predicted MVs of B-frames.
4693 .REss
4694 .IPs vstats
4695 Prints some statistics and stores them in ./vstats_*.log.
4699 .B \-noslices
4700 Disable drawing video by 16-pixel height slices/\:bands, instead draws the
4701 whole frame in a single run.
4702 May be faster or slower, depending on video card and available cache.
4703 It has effect only with libmpeg2 and libavcodec codecs.
4706 .B \-nosound
4707 Do not play sound.
4708 Useful for benchmarking.
4711 .B \-novideo
4712 Do not play video.
4713 With some demuxers this may not work. In those cases you can try \-vc null \-vo null instead; but "\-vc null" is always unreliable.
4716 .B \-pp <quality> (also see \-vf pp)
4717 Set the DLL postprocess level.
4718 This option is no longer usable with \-vf pp.
4719 It only works with Win32 DirectShow DLLs with internal postprocessing routines.
4720 The valid range of \-pp values varies by codec, it is mostly
4721 0\-6, where 0=disable, 6=slowest/\:best.
4724 .B \-pphelp (also see \-vf pp)
4725 Show a summary about the available postprocess filters and their usage.
4728 .B \-ssf <mode>
4729 Specifies software scaler parameters.
4730 .sp 1
4731 .I EXAMPLE:
4732 .PD 0
4733 .RSs
4734 \-vf scale \-ssf lgb=3.0
4736 .PD 1
4737 .PD 0
4738 .RSs
4739 .IPs lgb=<0\-100>
4740 gaussian blur filter (luma)
4741 .IPs cgb=<0\-100>
4742 gaussian blur filter (chroma)
4743 .IPs ls=<\-100\-100>
4744 sharpen filter (luma)
4745 .IPs cs=<\-100\-100>
4746 sharpen filter (chroma)
4747 .IPs chs=<h>
4748 chroma horizontal shifting
4749 .IPs cvs=<v>
4750 chroma vertical shifting
4752 .PD 1
4755 .B \-stereo <mode>
4756 Select type of MP2/\:MP3 stereo output.
4757 .PD 0
4758 .RSs
4759 .IPs 0
4760 stereo
4761 .IPs 1
4762 left channel
4763 .IPs 2
4764 right channel
4766 .PD 1
4769 .B \-sws <software scaler type> (also see \-vf scale and \-zoom)
4770 Specify the software scaler algorithm to be used with the \-zoom option.
4771 This affects video output drivers which lack hardware acceleration, e.g.\& x11.
4772 .sp 1
4773 Available types are:
4774 .sp 1
4775 .PD 0
4776 .RSs
4777 .IPs 0
4778 fast bilinear
4779 .IPs 1
4780 bilinear
4781 .IPs 2
4782 bicubic (good quality) (default)
4783 .IPs 3
4784 experimental
4785 .IPs 4
4786 nearest neighbor (bad quality)
4787 .IPs 5
4788 area
4789 .IPs 6
4790 luma bicubic / chroma bilinear
4791 .IPs 7
4792 gauss
4793 .IPs 8
4794 sincR
4795 .IPs 9
4796 lanczos
4797 .IPs 10
4798 natural bicubic spline
4800 .PD 1
4801 .sp 1
4803 .I NOTE:
4804 Some \-sws options are tunable.
4805 The description of the scale video filter has further information.
4809 .B \-vc <[\-|+]codec1,[\-|+]codec2,...[,]>
4810 Specify a priority list of video codecs to be used, according to their codec
4811 name in codecs.conf.
4812 Use a '\-' before the codec name to omit it.
4813 Use a '+' before the codec name to force it, this will likely crash!
4814 If the list has a trailing ',' MPlayer will fall back on codecs not
4815 contained in the list.
4817 .I NOTE:
4818 See \-vc help for a full list of available codecs.
4819 .sp 1
4820 .I EXAMPLE:
4821 .PD 0
4822 .RSs
4823 .IPs "\-vc divx"
4824 Force Win32/\:VfW DivX codec, no fallback.
4825 .IPs "\-vc \-divxds,\-divx,"
4826 Skip Win32 DivX codecs.
4827 .IPs "\-vc ffmpeg12,mpeg12,"
4828 Try libavcodec's MPEG-1/2 codec, then libmpeg2, then others.
4830 .PD 1
4833 .B \-vfm <driver1,driver2,...>
4834 Specify a priority list of video codec families to be used, according
4835 to their names in codecs.conf.
4836 Falls back on the default codecs if none of the given codec families work.
4838 .I NOTE:
4839 See \-vfm help for a full list of available codec families.
4840 .sp 1
4841 .I EXAMPLE:
4842 .PD 0
4843 .RSs
4844 .IPs "\-vfm ffmpeg,dshow,vfw"
4845 Try the libavcodec, then Directshow, then VfW codecs and fall back
4846 on others, if they do not work.
4847 .IPs "\-vfm xanim"
4848 Try XAnim codecs first.
4850 .PD 1
4853 .B \-x <x> (also see \-zoom)
4854 Scale image to width <x> (if software/\:hardware scaling is available).
4855 Disables aspect calculations.
4858 .B \-xvidopts <option1:option2:...>
4859 Specify additional parameters when decoding with Xvid.
4861 .I NOTE:
4862 Since libavcodec is faster than Xvid you might want to use the libavcodec
4863 postprocessing filter (\-vf pp) and decoder (\-vfm ffmpeg) instead.
4864 .sp 1
4865 Xvid's internal postprocessing filters:
4866 .PD 0
4867 .RSs
4868 .IPs "deblock-chroma (also see \-vf pp)"
4869 chroma deblock filter
4870 .IPs "deblock-luma (also see \-vf pp)"
4871 luma deblock filter
4872 .IPs "dering-luma (also see \-vf pp)"
4873 luma deringing filter
4874 .IPs "dering-chroma (also see \-vf pp)"
4875 chroma deringing filter
4876 .IPs "filmeffect (also see \-vf noise)"
4877 Adds artificial film grain to the video.
4878 May increase perceived quality, while lowering true quality.
4880 .sp 1
4882 rendering methods:
4884 .PD 0
4885 .RSs
4886 .IPs "dr2\ \ "
4887 Activate direct rendering method 2.
4888 .IPs nodr2
4889 Deactivate direct rendering method 2.
4891 .PD 1
4894 .B \-xy <value> (also see \-zoom)
4895 .PD 0
4896 .RSs
4897 .IPs value<=8
4898 Scale image by factor <value>.
4899 .IPs value>8
4900 Set width to value and calculate height to keep correct aspect ratio.
4902 .PD 1
4905 .B \-y <y> (also see \-zoom)
4906 Scale image to height <y> (if software/\:hardware scaling is available).
4907 Disables aspect calculations.
4910 .B "\-zoom\ \ "
4911 Allow software scaling, where available.
4912 This will allow scaling with output drivers (like x11, fbdev) that
4913 do not support hardware scaling where MPlayer disables scaling by
4914 default for performance reasons.
4918 .SH "AUDIO FILTERS"
4919 Audio filters allow you to modify the audio stream and its properties.
4920 The syntax is:
4923 .B \-af <filter1[=parameter1:parameter2:...],filter2,...>
4924 Setup a chain of audio filters.
4926 .I NOTE:
4927 To get a full list of available audio filters, see \-af help.
4928 .sp 1
4929 Audio filters are managed in lists.
4930 There are a few commands to manage the filter list.
4933 .B \-af\-add <filter1[,filter2,...]>
4934 Appends the filters given as arguments to the filter list.
4937 .B \-af\-pre <filter1[,filter2,...]>
4938 Prepends the filters given as arguments to the filter list.
4941 .B \-af\-del <index1[,index2,...]>
4942 Deletes the filters at the given indexes.
4943 Index numbers start at 0, negative numbers address the end of the
4944 list (\-1 is the last).
4947 .B \-af\-clr
4948 Completely empties the filter list.
4950 Available filters are:
4953 .B resample[=srate[:sloppy[:type]]]
4954 Changes the sample rate of the audio stream.
4955 Can be used if you have a fixed frequency sound card or if you are
4956 stuck with an old sound card that is only capable of max 44.1kHz.
4957 This filter is automatically enabled if necessary.
4958 It only supports 16-bit integer and float in native-endian format as input.
4959 .PD 0
4960 .RSs
4961 .IPs <srate>
4962 output sample frequency in Hz.
4963 The valid range for this parameter is 8000 to 192000.
4964 If the input and output sample frequency are the same or if this
4965 parameter is omitted the filter is automatically unloaded.
4966 A high sample frequency normally improves the audio quality,
4967 especially when used in combination with other filters.
4968 .IPs <sloppy>
4969 Allow (1) or disallow (0) the output frequency to differ slightly
4970 from the frequency given by <srate> (default: 1).
4971 Can be used if the startup of the playback is extremely slow.
4972 .IPs <type>
4973 Select which resampling method to use.
4974 .RSss
4975 0: linear interpolation (fast, poor quality especially when upsampling)
4977 1: polyphase filterbank and integer processing
4979 2: polyphase filterbank and floating point processing (slow, best quality)
4980 .REss
4981 .PD 1
4983 .sp 1
4985 .I EXAMPLE:
4987 .PD 0
4988 .RSs
4989 .IPs "mplayer \-af resample=44100:0:0"
4990 would set the output frequency of the resample filter to 44100Hz using
4991 exact output frequency scaling and linear interpolation.
4993 .PD 1
4996 .B lavcresample[=srate[:length[:linear[:count[:cutoff]]]]]
4997 Changes the sample rate of the audio stream to an integer <srate> in Hz.
4998 It only supports the 16-bit native-endian format.
4999 .PD 0
5000 .RSs
5001 .IPs <srate>
5002 the output sample rate
5003 .IPs <length>
5004 length of the filter with respect to the lower sampling rate (default: 16)
5005 .IPs <linear>
5006 if 1 then filters will be linearly interpolated between polyphase entries
5007 .IPs <count>
5008 log2 of the number of polyphase entries
5009 (..., 10->1024, 11->2048, 12->4096, ...)
5010 (default: 10->1024)
5011 .IPs <cutoff>
5012 cutoff frequency (0.0\-1.0), default set depending upon filter length
5014 .PD 1
5017 .B lavcac3enc[=tospdif[:bitrate[:minchn]]]
5018 Encode multi-channel audio to AC-3 at runtime using libavcodec.
5019 Supports 16-bit native-endian input format, maximum 6 channels.
5020 The output is big-endian when outputting a raw AC-3 stream,
5021 native-endian when outputting to S/PDIF.
5022 The output sample rate of this filter is same with the input sample rate.
5023 When input sample rate is 48kHz, 44.1kHz, or 32kHz, this filter directly use it.
5024 Otherwise a resampling filter is auto-inserted before this filter to make
5025 the input and output sample rate be 48kHz.
5026 You need to specify '\-channels N' to make the decoder decode audio into
5027 N-channel, then the filter can encode the N-channel input to AC-3.
5029 .PD 0
5030 .RSs
5031 .IPs <tospdif>
5032 Output raw AC-3 stream if zero or not set,
5033 output to S/PDIF for passthrough when <tospdif> is set non-zero.
5034 .IPs <bitrate>
5035 The bitrate to encode the AC-3 stream.
5036 Set it to either 384 or 384000 to get 384kbits.
5037 Valid values: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
5038               320, 384, 448, 512, 576, 640
5039 Default bitrate is based on the input channel number:
5040 1ch: 96,  2ch: 192,  3ch: 224,  4ch: 384,  5ch: 448,  6ch: 448
5041 .IPs <minchn>
5042 If the input channel number is less than <minchn>, the filter will
5043 detach itself (default: 5).
5045 .PD 1
5048 .B sweep[=speed]
5049 Produces a sine sweep.
5050 .PD 0
5051 .RSs
5052 .IPs <0.0\-1.0>
5053 Sine function delta, use very low values to hear the sweep.
5055 .PD 1
5058 .B sinesuppress[=freq:decay]
5059 Remove a sine at the specified frequency.
5060 Useful to get rid of the 50/60Hz noise on low quality audio equipment.
5061 It probably only works on mono input.
5062 .PD 0
5063 .RSs
5064 .IPs <freq>
5065 The frequency of the sine which should be removed (in Hz) (default: 50)
5066 .IPs <decay>
5067 Controls the adaptivity (a larger value will make the filter adapt to
5068 amplitude and phase changes quicker, a smaller value will make the
5069 adaptation slower) (default: 0.0001).
5070 Reasonable values are around 0.001.
5072 .PD 1
5075 .B bs2b[=option1:option2:...]
5076 Bauer stereophonic to binaural transformation using libbs2b.
5077 Improves the headphone listening experience by making the sound
5078 similar to that from loudspeakers, allowing each ear to hear both
5079 channels and taking into account the distance difference and the
5080 head shadowing effect.
5081 It is applicable only to 2 channel audio.
5082 .PD 0
5083 .RSs
5084 .IPs fcut=<300\-1000>
5085 Set cut frequency in Hz.
5086 .IPs feed=<10\-150>
5087 Set feed level for low frequencies in 0.1*dB.
5088 .IPs profile=<value>
5089 Several profiles are available for convenience:
5090 .PD 0
5091 .RSs
5092 .IPs default
5093 will be used if nothing else was specified (fcut=700, feed=45)
5094 .IPs "cmoy\ "
5095 Chu Moy circuit implementation (fcut=700, feed=60)
5096 .IPs jmeier
5097 Jan Meier circuit implementation (fcut=650, feed=95)
5100 .sp 1
5102 If fcut or feed options are specified together with a profile, they
5103 will be applied on top of the selected profile.
5105 .PD 1
5108 .B hrtf[=flag]
5109 Head-related transfer function: Converts multichannel audio to
5110 2 channel output for headphones, preserving the spatiality of the sound.
5111 .sp 1
5112 .PD 0
5114 .IPs "Flag  Meaning"
5115 .IPs "m     matrix decoding of the rear channel"
5116 .IPs "s     2-channel matrix decoding"
5117 .IPs "0     no matrix decoding (default)"
5119 .PD 1
5122 .B equalizer=[g1:g2:g3:...:g10]
5123 10 octave band graphic equalizer, implemented using 10 IIR band pass filters.
5124 This means that it works regardless of what type of audio is being played back.
5125 The center frequencies for the 10 bands are:
5126 .sp 1
5127 .PD 0
5129 .IPs "No. frequency"
5130 .IPs "0    31.25 Hz"
5131 .IPs "1    62.50 Hz"
5132 .IPs "2   125.00 Hz"
5133 .IPs "3   250.00 Hz"
5134 .IPs "4   500.00 Hz"
5135 .IPs "5    1.00 kHz"
5136 .IPs "6    2.00 kHz"
5137 .IPs "7    4.00 kHz"
5138 .IPs "8    8.00 kHz"
5139 .IPs "9   16.00 kHz"
5141 .PD 1
5142 .sp 1
5144 If the sample rate of the sound being played is lower than the center
5145 frequency for a frequency band, then that band will be disabled.
5146 A known bug with this filter is that the characteristics for the
5147 uppermost band are not completely symmetric if the sample
5148 rate is close to the center frequency of that band.
5149 This problem can be worked around by upsampling the sound
5150 using the resample filter before it reaches this filter.
5152 .PD 0
5153 .RSs
5154 .IPs <g1>:<g2>:<g3>:...:<g10>
5155 floating point numbers representing the gain in dB
5156 for each frequency band (\-12\-12)
5158 .sp 1
5160 .I EXAMPLE:
5162 .RSs
5163 .IPs "mplayer \-af equalizer=11:11:10:5:0:\-12:0:5:12:12 media.avi"
5164 Would amplify the sound in the upper and lower frequency region
5165 while canceling it almost completely around 1kHz.
5167 .PD 1
5170 .B channels=nch[:nr:from1:to1:from2:to2:from3:to3:...]
5171 Can be used for adding, removing, routing and copying audio channels.
5172 If only <nch> is given the default routing is used, it works as
5173 follows: If the number of output channels is bigger than the number of
5174 input channels empty channels are inserted (except mixing from mono to
5175 stereo, then the mono channel is repeated in both of the output
5176 channels).
5177 If the number of output channels is smaller than the number
5178 of input channels the exceeding channels are truncated.
5179 .PD 0
5180 .RSs
5181 .IPs <nch>
5182 number of output channels (1\-8)
5183 .IPs "<nr>\ "
5184 number of routes (1\-8)
5185 .IPs <from1:to1:from2:to2:from3:to3:...>
5186 Pairs of numbers between 0 and 7 that define where to route each channel.
5188 .sp 1
5190 .I EXAMPLE:
5192 .RSs
5193 .IPs "mplayer \-af channels=4:4:0:1:1:0:2:2:3:3 media.avi"
5194 Would change the number of channels to 4 and set up 4 routes that
5195 swap channel 0 and channel 1 and leave channel 2 and 3 intact.
5196 Observe that if media containing two channels was played back, channels
5197 2 and 3 would contain silence but 0 and 1 would still be swapped.
5198 .IPs "mplayer \-af channels=6:4:0:0:0:1:0:2:0:3 media.avi"
5199 Would change the number of channels to 6 and set up 4 routes
5200 that copy channel 0 to channels 0 to 3.
5201 Channel 4 and 5 will contain silence.
5203 .PD 1
5206 .B format[=format] (also see \-format)
5207 Convert between different sample formats.
5208 Automatically enabled when needed by the sound card or another filter.
5209 .PD 0
5210 .RSs
5211 .IPs <format>
5212 Sets the desired format.
5213 The general form is 'sbe', where 's' denotes the sign (either 's' for signed
5214 or 'u' for unsigned), 'b' denotes the number of bits per sample (16, 24 or 32)
5215 and 'e' denotes the endianness ('le' means little-endian, 'be' big-endian
5216 and 'ne' the endianness of the computer MPlayer is running on).
5217 Valid values (amongst others) are: 's16le', 'u32be' and 'u24ne'.
5218 Exceptions to this rule that are also valid format specifiers: u8, s8,
5219 floatle, floatbe, floatne, mulaw, alaw, mpeg2, ac3 and imaadpcm.
5221 .PD 1
5224 .B volume[=v[:sc]]
5225 Implements software volume control.
5226 Use this filter with caution since it can reduce the signal
5227 to noise ratio of the sound.
5228 In most cases it is best to set the level for the PCM sound to max,
5229 leave this filter out and control the output level to your
5230 speakers with the master volume control of the mixer.
5231 In case your sound card has a digital PCM mixer instead of an analog
5232 one, and you hear distortion, use the MASTER mixer instead.
5233 If there is an external amplifier connected to the computer (this
5234 is almost always the case), the noise level can be minimized by
5235 adjusting the master level and the volume knob on the amplifier
5236 until the hissing noise in the background is gone.
5238 This filter has a second feature: It measures the overall maximum
5239 sound level and prints out that level when MPlayer exits.
5240 This feature currently only works with floating-point data,
5241 use e.g. \-af\-adv force=5, or use \-af stats.
5243 .I NOTE:
5244 This filter is not reentrant and can therefore only be enabled
5245 once for every audio stream.
5246 .PD 0
5247 .RSs
5248 .IPs "<v>\ \ "
5249 Sets the desired gain in dB for all channels in the stream
5250 from \-200dB to +60dB, where \-200dB mutes the sound
5251 completely and +60dB equals a gain of 1000 (default: 0).
5252 .IPs "<sc>\ "
5253 Turns soft clipping on (1) or off (0).
5254 Soft-clipping can make the sound more smooth if very
5255 high volume levels are used.
5256 Enable this option if the dynamic range of the
5257 loudspeakers is very low.
5259 .I WARNING:
5260 This feature creates distortion and should be considered a last resort.
5262 .sp 1
5264 .I EXAMPLE:
5266 .RSs
5267 .IPs "mplayer \-af volume=10.1:0 media.avi"
5268 Would amplify the sound by 10.1dB and hard-clip if the
5269 sound level is too high.
5271 .PD 1
5274 .B pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]
5275 Mixes channels arbitrarily.
5276 Basically a combination of the volume and the channels filter
5277 that can be used to down-mix many channels to only a few,
5278 e.g.\& stereo to mono or vary the "width" of the center
5279 speaker in a surround sound system.
5280 This filter is hard to use, and will require some tinkering
5281 before the desired result is obtained.
5282 The number of options for this filter depends on
5283 the number of output channels.
5284 An example how to downmix a six-channel file to two channels with
5285 this filter can be found in the examples section near the end.
5286 .PD 0
5287 .RSs
5288 .IPs "<n>\ \ "
5289 number of output channels (1\-8)
5290 .IPs <Lij>
5291 How much of input channel i is mixed into output channel j (0\-1).
5292 So in principle you first have n numbers saying what to do with the
5293 first input channel, then n numbers that act on the second input channel
5294 etc.
5295 If you do not specify any numbers for some input channels, 0 is assumed.
5297 .sp 1
5299 .I EXAMPLE:
5301 .RSs
5302 .IPs "mplayer \-af pan=1:0.5:0.5 media.avi"
5303 Would down-mix from stereo to mono.
5304 .IPs "mplayer \-af pan=3:1:0:0.5:0:1:0.5 media.avi"
5305 Would give 3 channel output leaving channels 0 and 1 intact,
5306 and mix channels 0 and 1 into output channel 2 (which could
5307 be sent to a subwoofer for example).
5309 .PD 1
5312 .B sub[=fc:ch]
5313 Adds a subwoofer channel to the audio stream.
5314 The audio data used for creating the subwoofer channel is
5315 an average of the sound in channel 0 and channel 1.
5316 The resulting sound is then low-pass filtered by a 4th order
5317 Butterworth filter with a default cutoff frequency of 60Hz
5318 and added to a separate channel in the audio stream.
5320 .I Warning:
5321 Disable this filter when you are playing DVDs with Dolby
5322 Digital 5.1 sound, otherwise this filter will disrupt
5323 the sound to the subwoofer.
5324 .PD 0
5325 .RSs
5326 .IPs "<fc>\ "
5327 cutoff frequency in Hz for the low-pass filter (20Hz to 300Hz) (default: 60Hz)
5328 For the best result try setting the cutoff frequency as low as possible.
5329 This will improve the stereo or surround sound experience.
5330 .IPs "<ch>\ "
5331 Determines the channel number in which to insert the sub-channel audio.
5332 Channel number can be between 0 and 7 (default: 5).
5333 Observe that the number of channels will automatically
5334 be increased to <ch> if necessary.
5336 .sp 1
5338 .I EXAMPLE:
5340 .RSs
5341 .IPs "mplayer \-af sub=100:4 \-channels 5 media.avi"
5342 Would add a sub-woofer channel with a cutoff frequency of
5343 100Hz to output channel 4.
5345 .PD 1
5348 .B "center\ "
5349 Creates a center channel from the front channels.
5350 May currently be low quality as it does not implement a
5351 high-pass filter for proper extraction yet, but averages and
5352 halves the channels instead.
5353 .PD 0
5354 .RSs
5355 .IPs "<ch>\ "
5356 Determines the channel number in which to insert the center channel.
5357 Channel number can be between 0 and 7 (default: 5).
5358 Observe that the number of channels will automatically
5359 be increased to <ch> if necessary.
5361 .PD 1
5364 .B surround[=delay]
5365 Decoder for matrix encoded surround sound like Dolby Surround.
5366 Many files with 2 channel audio actually contain matrixed surround sound.
5367 Requires a sound card supporting at least 4 channels.
5368 .PD 0
5369 .RSs
5370 .IPs <delay>
5371 delay time in ms for the rear speakers (0 to 1000) (default: 20)
5372 This delay should be set as follows: If d1 is the distance
5373 from the listening position to the front speakers and d2 is the distance
5374 from the listening position to the rear speakers, then the delay should
5375 be set to 15ms if d1 <= d2 and to 15 + 5*(d1-d2) if d1 > d2.
5377 .sp 1
5379 .I EXAMPLE:
5381 .RSs
5382 .IPs "mplayer \-af surround=15 \-channels 4 media.avi"
5383 Would add surround sound decoding with 15ms delay for the sound to the
5384 rear speakers.
5386 .PD 1
5389 .B delay[=ch1:ch2:...]
5390 Delays the sound to the loudspeakers such that the sound from the
5391 different channels arrives at the listening position simultaneously.
5392 It is only useful if you have more than 2 loudspeakers.
5393 .PD 0
5394 .RSs
5395 .IPs ch1,ch2,...
5396 The delay in ms that should be imposed on each channel
5397 (floating point number between 0 and 1000).
5399 .PD 1
5400 .sp 1
5402 To calculate the required delay for the different channels do as follows:
5403 .IP 1. 3
5404 Measure the distance to the loudspeakers in meters in relation
5405 to your listening position, giving you the distances s1 to s5
5406 (for a 5.1 system).
5407 There is no point in compensating for the subwoofer (you will not hear the
5408 difference anyway).
5409 .IP 2. 3
5410 Subtract the distances s1 to s5 from the maximum distance,
5411 i.e.\& s[i] = max(s) \- s[i]; i = 1...5.
5412 .IP 3.
5413 Calculate the required delays in ms as d[i] = 1000*s[i]/342; i = 1...5.
5415 .PD 0
5416 .sp 1
5418 .I EXAMPLE:
5420 .RSs
5421 .IPs "mplayer \-af delay=10.5:10.5:0:0:7:0 media.avi"
5422 Would delay front left and right by 10.5ms, the two rear channels
5423 and the sub by 0ms and the center channel by 7ms.
5425 .PD 1
5428 .B export[=mmapped_file[:nsamples]]
5429 Exports the incoming signal to other processes using memory mapping (mmap()).
5430 Memory mapped areas contain a header:
5431 .sp 1
5433 int nch                      /*number of channels*/
5434 int size                     /*buffer size*/
5435 unsigned long long counter   /*Used to keep sync, updated every
5436                                time new data is exported.*/
5438 .sp 1
5439 The rest is payload (non-interleaved) 16 bit data.
5440 .PD 0
5441 .RSs
5442 .IPs <mmapped_file>
5443 file to map data to (default: ~/.mplayer/\:mplayer-af_export)
5444 .IPs <nsamples>
5445 number of samples per channel (default: 512)
5447 .sp 1
5449 .I EXAMPLE:
5451 .RSs
5452 .IPs "mplayer \-af export=/tmp/mplayer-af_export:1024 media.avi"
5453 Would export 1024 samples per channel to '/tmp/mplayer-af_export'.
5455 .PD 1
5458 .B extrastereo[=mul]
5459 (Linearly) increases the difference between left and right channels
5460 which adds some sort of "live" effect to playback.
5461 .PD 0
5462 .RSs
5463 .IPs <mul>
5464 Sets the difference coefficient (default: 2.5).
5465 0.0 means mono sound (average of both channels), with 1.0 sound will be
5466 unchanged, with \-1.0 left and right channels will be swapped.
5468 .PD 1
5471 .B volnorm[=method:target]
5472 Maximizes the volume without distorting the sound.
5473 .PD 0
5474 .RSs
5475 .IPs <method>
5476 Sets the used method.
5477 .RSss
5478 1: Use a single sample to smooth the variations via the standard
5479 weighted mean over past samples (default).
5481 2: Use several samples to smooth the variations via the standard
5482 weighted mean over past samples.
5483 .REss
5484 .IPs <target>
5485 Sets the target amplitude as a fraction of the maximum for the
5486 sample type (default: 0.25).
5488 .PD 1
5491 .B ladspa=file:label[:controls...]
5492 Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.
5493 This filter is reentrant, so multiple LADSPA plugins can be used at once.
5494 .PD 0
5495 .RSs
5496 .IPs <file>
5497 Specifies the LADSPA plugin library file.
5498 If LADSPA_PATH is set, it searches for the specified file.
5499 If it is not set, you must supply a fully specified pathname.
5500 .IPs <label>
5501 Specifies the filter within the library.
5502 Some libraries contain only one filter, but others contain many of them.
5503 Entering 'help' here, will list all available filters within the specified
5504 library, which eliminates the use of 'listplugins' from the LADSPA SDK.
5505 .IPs <controls>
5506 Controls are zero or more floating point values that determine the
5507 behavior of the loaded plugin (for example delay, threshold or gain).
5508 In verbose mode (add \-v to the MPlayer command line), all available controls
5509 and their valid ranges are printed.
5510 This eliminates the use of 'analyseplugin' from the LADSPA SDK.
5512 .PD 1
5515 .B "comp\ \ \ "
5516 Compressor/expander filter usable for microphone input.
5517 Prevents artifacts on very loud sound and raises the volume on
5518 very low sound.
5519 This filter is untested, maybe even unusable.
5522 .B "gate\ \ \ "
5523 Noise gate filter similar to the comp audio filter.
5524 This filter is untested, maybe even unusable.
5527 .B karaoke
5528 Simple voice removal filter exploiting the fact that voice is
5529 usually recorded with mono gear and later 'center' mixed onto
5530 the final audio stream.
5531 Beware that this filter will turn your signal into mono.
5532 Works well for 2 channel tracks; do not bother trying it
5533 on anything but 2 channel stereo.
5536 .B scaletempo[=option1:option2:...]
5537 Scales audio tempo without altering pitch, optionally synced to playback
5538 speed (default).
5540 This works by playing \'stride\' ms of audio at normal speed then
5541 consuming \'stride*scale\' ms of input audio.
5542 It pieces the strides together by blending \'overlap\'% of stride with
5543 audio following the previous stride.
5544 It optionally performs a short statistical analysis on the next \'search\'
5545 ms of audio to determine the best overlap position.
5546 .PD 0
5547 .RSs
5548 .IPs scale=<amount>
5549 Nominal amount to scale tempo.
5550 Scales this amount in addition to speed.
5551 (default: 1.0)
5552 .IPs stride=<amount>
5553 Length in milliseconds to output each stride.
5554 Too high of value will cause noticable skips at high scale amounts and
5555 an echo at low scale amounts.
5556 Very low values will alter pitch.
5557 Increasing improves performance.
5558 (default: 60)
5559 .IPs overlap=<percent>
5560 Percentage of stride to overlap.
5561 Decreasing improves performance.
5562 (default: .20)
5563 .IPs search=<amount>
5564 Length in milliseconds to search for best overlap position.
5565 Decreasing improves performance greatly.
5566 On slow systems, you will probably want to set this very low.
5567 (default: 14)
5568 .IPs speed=<tempo|pitch|both|none>
5569 Set response to speed change.
5570 .RSss
5571 .IPs tempo
5572 Scale tempo in sync with speed (default).
5573 .IPs pitch
5574 Reverses effect of filter.
5575 Scales pitch without altering tempo.
5576 Add \'[ speed_mult 0.9438743126816935\' and \'] speed_mult 1.059463094352953\'
5577 to your input.conf to step by musical semi-tones.
5578 .I WARNING:
5579 Loses sync with video.
5580 .IPs both
5581 Scale both tempo and pitch.
5582 .IPs none
5583 Ignore speed changes.
5586 .sp 1
5588 .I EXAMPLE:
5590 .RSs
5591 .IPs "mplayer \-af scaletempo \-speed 1.2 media.ogg"
5592 Would playback media at 1.2x normal speed, with audio at normal pitch.
5593 Changing playback speed, would change audio tempo to match.
5594 .IPs "mplayer \-af scaletempo=scale=1.2:speed=none \-speed 1.2 media.ogg"
5595 Would playback media at 1.2x normal speed, with audio at normal pitch,
5596 but changing playback speed has no effect on audio tempo.
5597 .IPs "mplayer \-af scaletempo=stride=30:overlap=.50:search=10 media.ogg"
5598 Would tweak the quality and performace parameters.
5599 .IPs "mplayer \-af format=floatne,scaletempo media.ogg"
5600 Would make scaletempo use float code.
5601 Maybe faster on some platforms.
5602 .IPs "mplayer \-af scaletempo=scale=1.2:speed=pitch audio.ogg"
5603 Would playback audio file at 1.2x normal speed, with audio at normal pitch.
5604 Changing playback speed, would change pitch, leaving audio tempo at 1.2x.
5606 .PD 1
5609 .B "stats\ \ "
5610 Collects and prints statistics about the audio stream, especially the volume.
5611 These statistics are especially intended to help adjusting the volume while
5612 avoiding clipping.
5613 The volumes are printed in dB and compatible with the volume audio filter.
5617 .SH "VIDEO FILTERS"
5618 Video filters allow you to modify the video stream and its properties.
5619 The syntax is:
5622 .B \-vf <filter1[=parameter1:parameter2:...],filter2,...>
5623 Setup a chain of video filters.
5625 Many parameters are optional and set to default values if omitted.
5626 To explicitly use a default value set a parameter to '\-1'.
5627 Parameters w:h means width x height in pixels, x:y means x;y position counted
5628 from the upper left corner of the bigger image.
5630 .I NOTE:
5631 To get a full list of available video filters, see \-vf help.
5632 .sp 1
5633 Video filters are managed in lists.
5634 There are a few commands to manage the filter list.
5637 .B \-vf\-add <filter1[,filter2,...]>
5638 Appends the filters given as arguments to the filter list.
5641 .B \-vf\-pre <filter1[,filter2,...]>
5642 Prepends the filters given as arguments to the filter list.
5645 .B \-vf\-del <index1[,index2,...]>
5646 Deletes the filters at the given indexes.
5647 Index numbers start at 0, negative numbers address the end of the
5648 list (\-1 is the last).
5651 .B \-vf\-clr
5652 Completely empties the filter list.
5654 With filters that support it, you can access parameters by their name.
5657 .B \-vf <filter>=help
5658 Prints the parameter names and parameter value ranges for a particular
5659 filter.
5662 .B \-vf <filter=named_parameter1=value1[:named_parameter2=value2:...]>
5663 Sets a named parameter to the given value.
5664 Use on and off or yes and no to set flag parameters.
5666 Available filters are:
5669 .B crop[=w:h:x:y]
5670 Crops the given part of the image and discards the rest.
5671 Useful to remove black bands from widescreen movies.
5672 .PD 0
5673 .RSs
5674 .IPs <w>,<h>
5675 Cropped width and height, defaults to original width and height.
5676 .IPs <x>,<y>
5677 Position of the cropped picture, defaults to center.
5679 .PD 1
5682 .B cropdetect[=limit:round[:reset]]
5683 Calculates necessary cropping parameters and prints the recommended parameters
5684 to stdout.
5685 .PD 0
5686 .RSs
5687 .IPs <limit>
5688 Threshold, which can be optionally specified from nothing (0) to
5689 everything (255) (default: 24).
5691 .IPs <round>
5692 Value which the width/\:height should be divisible by (default: 16).
5693 The offset is automatically adjusted to center the video.
5694 Use 2 to get only even dimensions (needed for 4:2:2 video).
5695 16 is best when encoding to most video codecs.
5697 .IPs <reset>
5698 Counter that determines after how many frames cropdetect will reset the
5699 previously detected largest video area and start over to detect the current
5700 optimal crop area (default: 0).
5701 This can be useful when channel logos distort the video area.
5702 0 indicates never reset and return the largest area encountered during playback.
5704 .PD 1
5707 .B rectangle[=w:h:x:y]
5708 Draws a rectangle of the requested width and height at the specified
5709 coordinates over the image and prints current rectangle parameters
5710 to the console.
5711 This can be used to find optimal cropping parameters.
5712 If you bind the input.conf directive 'change_rectangle' to keystrokes,
5713 you can move and resize the rectangle on the fly.
5714 .PD 0
5715 .RSs
5716 .IPs <w>,<h>
5717 width and height (default: \-1, maximum possible width where boundaries
5718 are still visible.)
5719 .IPs <x>,<y>
5720 top left corner position (default: \-1, uppermost leftmost)
5722 .PD 1
5725 .B expand[=w:h:x:y:o:a:r]
5726 Expands (not scales) movie resolution to the given value and places the
5727 unscaled original at coordinates x, y.
5728 Can be used for placing subtitles/\:OSD in the resulting black bands.
5729 .RSs
5730 .IPs <w>,<h>
5731 Expanded width,height (default: original width,height).
5732 Negative values for w and h are treated as offsets to the original size.
5733 .sp 1
5734 .I EXAMPLE:
5735 .PD 0
5736 .RSs
5737 .IP expand=0:\-50:0:0
5738 Adds a 50 pixel border to the bottom of the picture.
5740 .PD 1
5741 .IPs <x>,<y>
5742 position of original image on the expanded image (default: center)
5743 .IPs "<o>\ \ "
5744 OSD/\:subtitle rendering
5745 .RSss
5746 0: disable (default)
5748 1: enable
5749 .REss
5750 .IPs "<a>\ \ "
5751 Expands to fit an aspect instead of a resolution (default: 0).
5752 .sp 1
5753 .I EXAMPLE:
5754 .PD 0
5755 .RSs
5756 .IP expand=800:::::4/3
5757 Expands to 800x600, unless the source is higher resolution, in which
5758 case it expands to fill a 4/3 aspect.
5760 .PD 1
5761 .IPs "<r>\ \ "
5762 Rounds up to make both width and height divisible by <r> (default: 1).
5766 .B flip (also see \-flip)
5767 Flips the image upside down.
5770 .B "mirror\ "
5771 Mirrors the image on the Y axis.
5774 .B rotate[=<0\-7>]
5775 Rotates the image by 90 degrees and optionally flips it.
5776 For values between 4\-7 rotation is only done if the movie geometry is
5777 portrait and not landscape.
5778 .RSs
5779 .IPs 0
5780 Rotate by 90 degrees clockwise and flip (default).
5781 .IPs 1
5782 Rotate by 90 degrees clockwise.
5783 .IPs 2
5784 Rotate by 90 degrees counterclockwise.
5785 .IPs 3
5786 Rotate by 90 degrees counterclockwise and flip.
5790 .B scale[=w:h[:interlaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]
5791 Scales the image with the software scaler (slow) and performs a YUV<\->RGB
5792 colorspace conversion (also see \-sws).
5793 .RSs
5794 .IPs <w>,<h>
5795 scaled width/\:height (default: original width/\:height)
5797 .I NOTE:
5798 If \-zoom is used, and underlying filters (including libvo) are
5799 incapable of scaling, it defaults to d_width/\:d_height!
5800 .RSss
5801  0:   scaled d_width/\:d_height
5803 \-1:   original width/\:height
5805 \-2:   Calculate w/h using the other dimension and the prescaled aspect ratio.
5807 \-3:   Calculate w/h using the other dimension and the original aspect ratio.
5809 \-(n+8): Like \-n above, but rounding the dimension to the closest multiple of 16.
5810 .REss
5811 .IPs <interlaced>
5812 Toggle interlaced scaling.
5813 .RSss
5814 0: off (default)
5816 1: on
5817 .REss
5818 .IPs <chr_drop>
5819 chroma skipping
5820 .RSss
5821 0: Use all available input lines for chroma.
5823 1: Use only every 2. input line for chroma.
5825 2: Use only every 4. input line for chroma.
5827 3: Use only every 8. input line for chroma.
5828 .REss
5829 .IPs "<par>[:<par2>] (also see \-sws)"
5830 Set some scaling parameters depending on the type of scaler selected
5831 with \-sws.
5832 .RSss
5833 \-sws 2 (bicubic):  B (blurring) and C (ringing)
5835 0.00:0.60 default
5837 0.00:0.75 VirtualDub's "precise bicubic"
5839 0.00:0.50 Catmull-Rom spline
5841 0.33:0.33 Mitchell-Netravali spline
5843 1.00:0.00 cubic B-spline
5845 \-sws 7 (gaussian): sharpness (0 (soft) \- 100 (sharp))
5847 \-sws 9 (lanczos):  filter length (1\-10)
5848 .REss
5849 .IPs <presize>
5850 Scale to preset sizes.
5851 .RSss
5852 qntsc:   352x240 (NTSC quarter screen)
5854 qpal:    352x288 (PAL quarter screen)
5856 ntsc:    720x480 (standard NTSC)
5858 pal:     720x576 (standard PAL)
5860 sntsc:   640x480 (square pixel NTSC)
5862 spal:    768x576 (square pixel PAL)
5863 .REss
5864 .IPs <noup>
5865 Disallow upscaling past the original dimensions.
5866 .RSss
5867 0: Allow upscaling (default).
5869 1: Disallow upscaling if one dimension exceeds its original value.
5871 2: Disallow upscaling if both dimensions exceed their original values.
5872 .REss
5873 .IPs <arnd>
5874 Accurate rounding for the vertical scaler, which may be faster
5875 or slower than the default rounding.
5876 .RSss
5877 0: Disable accurate rounding (default).
5879 1: Enable accurate rounding.
5880 .REss
5884 .B dsize[=aspect|w:h:aspect-method:r]
5885 Changes the intended display size/\:aspect at an arbitrary point in the
5886 filter chain.
5887 Aspect can be given as a fraction (4/3) or floating point number
5888 (1.33).
5889 Alternatively, you may specify the exact display width and height
5890 desired.
5891 Note that this filter does
5892 .B not
5893 do any scaling itself; it just affects
5894 what later scalers (software or hardware) will do when auto-scaling to
5895 correct aspect.
5896 .RSs
5897 .IPs <w>,<h>
5898 New display width and height.
5899 Can also be these special values:
5900 .RSss
5901  0:   original display width and height
5903 \-1:   original video width and height (default)
5905 \-2:   Calculate w/h using the other dimension and the original display
5906 aspect ratio.
5908 \-3:   Calculate w/h using the other dimension and the original video
5909 aspect ratio.
5910 .REss
5911 .sp 1
5912 .I EXAMPLE:
5913 .PD 0
5914 .RSs
5915 .IP dsize=800:\-2
5916 Specifies a display resolution of 800x600 for a 4/3 aspect video, or
5917 800x450 for a 16/9 aspect video.
5919 .IPs <aspect-method>
5920 Modifies width and height according to original aspect ratios.
5921 .RSss
5922 \-1: Ignore original aspect ratio (default).
5924  0: Keep display aspect ratio by using <w> and <h> as maximum
5925 resolution.
5927  1: Keep display aspect ratio by using <w> and <h> as minimum
5928 resolution.
5930  2: Keep video aspect ratio by using <w> and <h> as maximum
5931 resolution.
5933  3: Keep video aspect ratio by using <w> and <h> as minimum
5934 resolution.
5935 .REss
5936 .sp 1
5937 .I EXAMPLE:
5938 .PD 0
5939 .RSs
5940 .IP dsize=800:600:0
5941 Specifies a display resolution of at most 800x600, or smaller, in order
5942 to keep aspect.
5944 .PD 1
5945 .IPs "<r>\ \ "
5946 Rounds up to make both width and height divisible by <r> (default: 1).
5950 .B "yvu9\ \ \ "
5951 Forces software YVU9 to YV12 colorspace conversion.
5952 Deprecated in favor of the software scaler.
5955 .B "yuvcsp\ "
5956 Clamps YUV color values to the CCIR 601 range without doing real conversion.
5959 .B palette
5960 RGB/BGR 8 \-> 15/16/24/32bpp colorspace conversion using palette.
5963 .B format[=fourcc[:outfourcc]]
5964 Restricts the colorspace for the next filter without doing any conversion.
5965 Use together with the scale filter for a real conversion.
5967 .I NOTE:
5968 For a list of available formats see format=fmt=help.
5969 .PD 0
5970 .RSs
5971 .IPs <fourcc>
5972 format name like rgb15, bgr24, yv12, etc (default: yuy2)
5973 .IPs <outfourcc>
5974 Format name that should be substituted for the output.
5975 If this is not 100% compatible with the <fourcc> value it will crash.
5977 Valid examples:
5979 format=rgb24:bgr24 format=yuyv:yuy2
5981 Invalid examples (will crash):
5983 format=rgb24:yv12
5985 .PD 1
5988 .B noformat[=fourcc]
5989 Restricts the colorspace for the next filter without doing any conversion.
5990 Unlike the format filter, this will allow any colorspace
5991 .B except
5992 the one you specify.
5994 .I NOTE:
5995 For a list of available formats see noformat=fmt=help.
5996 .PD 0
5997 .RSs
5998 .IPs <fourcc>
5999 format name like rgb15, bgr24, yv12, etc (default: yv12)
6001 .PD 1
6004 .B pp[=filter1[:option1[:option2...]]/[\-]filter2...] (also see \-pphelp)
6005 Enables the specified chain of postprocessing subfilters.
6006 Subfilters must be separated by '/' and can be disabled by
6007 prepending a '\-'.
6008 Each subfilter and some options have a short and a long name that can be
6009 used interchangeably, i.e.\& dr/dering are the same.
6010 All subfilters share common options to determine their scope:
6011 .PD 0
6012 .RSs
6013 .IPs a/autoq
6014 Automatically switch the subfilter off if the CPU is too slow.
6015 .IPs c/chrom
6016 Do chrominance filtering, too (default).
6017 .IPs y/nochrom
6018 Do luminance filtering only (no chrominance).
6019 .IPs n/noluma
6020 Do chrominance filtering only (no luminance).
6022 .PD 1
6023 .sp 1
6026 .I NOTE:
6027 \-pphelp shows a list of available subfilters.
6028 .sp 1
6029 Available subfilters are
6031 .RSs
6032 .IPs hb/hdeblock[:difference[:flatness]]
6033 horizontal deblocking filter
6034 .RSss
6035 <difference>: Difference factor where higher values mean
6036 more deblocking (default: 32).
6038 <flatness>: Flatness threshold where lower values mean
6039 more deblocking (default: 39).
6040 .REss
6041 .IPs vb/vdeblock[:difference[:flatness]]
6042 vertical deblocking filter
6043 .RSss
6044 <difference>: Difference factor where higher values mean
6045 more deblocking (default: 32).
6047 <flatness>: Flatness threshold where lower values mean
6048 more deblocking (default: 39).
6049 .REss
6050 .IPs ha/hadeblock[:difference[:flatness]]
6051 accurate horizontal deblocking filter
6052 .RSss
6053 <difference>: Difference factor where higher values mean
6054 more deblocking (default: 32).
6056 <flatness>: Flatness threshold where lower values mean
6057 more deblocking (default: 39).
6058 .REss
6059 .IPs va/vadeblock[:difference[:flatness]]
6060 accurate vertical deblocking filter
6061 .RSss
6062 <difference>: Difference factor where higher values mean
6063 more deblocking (default: 32).
6065 <flatness>: Flatness threshold where lower values mean
6066 more deblocking (default: 39).
6067 .REss
6068 .sp 1
6069 The horizontal and vertical deblocking filters share the
6070 difference and flatness values so you cannot set
6071 different horizontal and vertical thresholds.
6072 .sp 1
6073 .IPs h1/x1hdeblock
6074 experimental horizontal deblocking filter
6075 .IPs v1/x1vdeblock
6076 experimental vertical deblocking filter
6077 .IPs dr/dering
6078 deringing filter
6079 .IPs tn/tmpnoise[:threshold1[:threshold2[:threshold3]]]
6080 temporal noise reducer
6081 .RSss
6082 <threshold1>: larger -> stronger filtering
6084 <threshold2>: larger -> stronger filtering
6086 <threshold3>: larger -> stronger filtering
6087 .REss
6088 .IPs al/autolevels[:f/fullyrange]
6089 automatic brightness / contrast correction
6090 .RSss
6091 f/fullyrange: Stretch luminance to (0\-255).
6092 .REss
6093 .IPs lb/linblenddeint
6094 Linear blend deinterlacing filter that deinterlaces the given block
6095 by filtering all lines with a (1 2 1) filter.
6096 .IPs li/linipoldeint
6097 Linear interpolating deinterlacing filter that deinterlaces the given block
6098 by linearly interpolating every second line.
6099 .IPs ci/cubicipoldeint
6100 Cubic interpolating deinterlacing filter deinterlaces the given block
6101 by cubically interpolating every second line.
6102 .IPs md/mediandeint
6103 Median deinterlacing filter that deinterlaces the given block
6104 by applying a median filter to every second line.
6105 .IPs fd/ffmpegdeint
6106 FFmpeg deinterlacing filter that deinterlaces the given block
6107 by filtering every second line with a (\-1 4 2 4 \-1) filter.
6108 .IPs l5/lowpass5
6109 Vertically applied FIR lowpass deinterlacing filter that deinterlaces
6110 the given block by filtering all lines with a (\-1 2 6 2 \-1) filter.
6111 .IPs fq/forceQuant[:quantizer]
6112 Overrides the quantizer table from the input with the constant
6113 quantizer you specify.
6114 .RSss
6115 <quantizer>: quantizer to use
6116 .REss
6117 .IPs de/default
6118 default pp filter combination (hb:a,vb:a,dr:a)
6119 .IPs fa/fast
6120 fast pp filter combination (h1:a,v1:a,dr:a)
6121 .IPs "ac\ \ \ "
6122 high quality pp filter combination (ha:a:128:7,va:a,dr:a)
6125 .sp 1
6126 .I EXAMPLE:
6128 .PD 0
6129 .RSs
6130 .IPs "\-vf pp=hb/vb/dr/al"
6131 horizontal and vertical deblocking, deringing and automatic
6132 brightness/\:contrast
6133 .IPs "\-vf pp=de/\-al"
6134 default filters without brightness/\:contrast correction
6135 .IPs "\-vf pp=default/tmpnoise:1:2:3"
6136 Enable default filters & temporal denoiser.
6137 .IPs "\-vf pp=hb:y/vb:a"
6138 Horizontal deblocking on luminance only, and switch vertical deblocking
6139 on or off automatically depending on available CPU time.
6141 .PD 1
6144 .B spp[=quality[:qp[:mode]]]
6145 Simple postprocessing filter that compresses and decompresses the
6146 image at several (or \- in the case of quality level 6 \- all)
6147 shifts and averages the results.
6148 .RSs
6149 .IPs <quality>
6150 0\-6 (default: 3)
6151 .IPs "<qp>\ "
6152 Force quantization parameter (default: 0, use QP from video).
6153 .IPs <mode>
6154 0: hard thresholding (default)
6156 1: soft thresholding (better deringing, but blurrier)
6158 4: like 0, but also use B-frames' QP (may cause flicker)
6160 5: like 1, but also use B-frames' QP (may cause flicker)
6164 .B uspp[=quality[:qp]]
6165 Ultra simple & slow postprocessing filter that compresses and
6166 decompresses the image at several (or \- in the case of quality
6167 level 8 \- all) shifts and averages the results.
6168 The way this differs from the behavior of spp is that uspp actually
6169 encodes & decodes each case with libavcodec Snow, whereas spp uses
6170 a simplified intra only 8x8 DCT similar to MJPEG.
6171 .RSs
6172 .IPs <quality>
6173 0\-8 (default: 3)
6174 .IPs "<qp>\ "
6175 Force quantization parameter (default: 0, use QP from video).
6179 .B fspp[=quality[:qp[:strength[:bframes]]]]
6180 faster version of the simple postprocessing filter
6181 .RSs
6182 .IPs <quality>
6183 4\-5 (equivalent to spp; default: 4)
6184 .IPs "<qp>\ "
6185 Force quantization parameter (default: 0, use QP from video).
6186 .IPs <\-15\-32>
6187 Filter strength, lower values mean more details but also more artifacts,
6188 while higher values make the image smoother but also blurrier (default:
6189 0 \- PSNR optimal).
6190 .IPs <bframes>
6191 0: do not use QP from B-frames (default)
6193 1: use QP from B-frames too (may cause flicker)
6197 .B pp7[=qp[:mode]]
6198 Variant of the spp filter, similar to spp=6 with 7 point DCT where
6199 only the center sample is used after IDCT.
6200 .RSs
6201 .IPs "<qp>\ "
6202 Force quantization parameter (default: 0, use QP from video).
6203 .IPs <mode>
6204 0: hard thresholding
6206 1: soft thresholding (better deringing, but blurrier)
6208 2: medium thresholding (default, good results)
6212 .B qp=equation
6213 quantization parameter (QP) change filter
6214 .RSs
6215 .IPs <equation>
6216 some equation like "2+2*sin(PI*qp)"
6220 .B geq=equation
6221 generic equation change filter
6222 .RSs
6223 .IPs <equation>
6224 Some equation, e.g.\&  'p(W-X\\,Y)' to flip the image horizontally.
6225 You can use whitespace to make the equation more readable.
6226 There are a couple of constants that can be used in the equation:
6227 .RSss
6228 PI: the number pi
6230 E: the number e
6232 X / Y: the coordinates of the current sample
6234 W / H: width and height of the image
6236 SW / SH: width/height scale depending on the currently filtered plane, e.g.\&
6237 1,1 and 0.5,0.5 for YUV 4:2:0.
6239 p(x,y): returns the value of the pixel at location x/y of the current plane.
6240 .REss
6244 .B "test\ \ \ "
6245 Generate various test patterns.
6248 .B rgbtest[=width:height]
6249 Generate an RGB test pattern useful for detecting RGB vs BGR issues.
6250 You should see a red, green and blue stripe from top to bottom.
6251 .RSs
6252 .IPs <width>
6253 Desired width of generated image (default: 0).
6254 0 means width of input image.
6256 .IPs <height>
6257 Desired height of generated image (default: 0).
6258 0 means height of input image.
6262 .B lavc[=quality:fps]
6263 Fast software YV12 to MPEG-1 conversion with libavcodec for use with DVB/\:DXR3/\:IVTV/\:V4L2.
6264 .RSs
6265 .IPs <quality>
6266 1\-31: fixed qscale
6268 32\-:  fixed bitrate in kbits
6269 .IPs <fps>
6270 force output fps (float value) (default: 0, autodetect based on height)
6274 .B dvbscale[=aspect]
6275 Set up optimal scaling for DVB cards, scaling the x axis in hardware and
6276 calculating the y axis scaling in software to keep aspect.
6277 Only useful together with expand and scale.
6278 .RSs
6279 .IPs <aspect>
6280 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default:
6281 576*4/3=768), set it to 576*(16/9)=1024 for a 16:9 TV.
6283 .sp 1
6285 .I EXAMPLE:
6287 .PD 0
6288 .RSs
6289 .IPs "\-vf dvbscale,scale=\-1:0,expand=\-1:576:\-1:\-1:1,lavc"
6290 FIXME: Explain what this does.
6292 .PD 1
6295 .B noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
6296 Adds noise.
6297 .PD 0
6298 .RSs
6299 .IPs <0\-100>
6300 luma noise
6301 .IPs <0\-100>
6302 chroma noise
6303 .IPs u
6304 uniform noise (gaussian otherwise)
6305 .IPs t
6306 temporal noise (noise pattern changes between frames)
6307 .IPs a
6308 averaged temporal noise (smoother, but a lot slower)
6309 .IPs h
6310 high quality (slightly better looking, slightly slower)
6311 .IPs p
6312 mix random noise with a (semi)regular pattern
6314 .PD 1
6317 .B denoise3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6318 This filter aims to reduce image noise producing smooth images and making still
6319 images really still (This should enhance compressibility.).
6320 .PD 0
6321 .RSs
6322 .IPs <luma_spatial>
6323 spatial luma strength (default: 4)
6324 .IPs <chroma_spatial>
6325 spatial chroma strength (default: 3)
6326 .IPs <luma_tmp>
6327 luma temporal strength (default: 6)
6328 .IPs <chroma_tmp>
6329 chroma temporal strength (default: luma_tmp*chroma_spatial/luma_spatial)
6331 .PD 1
6334 .B hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6335 High precision/\:quality version of the denoise3d filter.
6336 Parameters and usage are the same.
6339 .B ow[=depth[:luma_strength[:chroma_strength]]]
6340 Overcomplete Wavelet denoiser.
6341 .PD 0
6342 .RSs
6343 .IPs <depth>
6344 Larger depth values will denoise lower frequency components more, but
6345 slow down filtering (default: 8).
6346 .IPs <luma_strength>
6347 luma strength (default: 1.0)
6348 .IPs <chroma_strength>
6349 chroma strength (default: 1.0)
6351 .PD 1
6354 .B eq[=brightness:contrast] (OBSOLETE)
6355 Software equalizer with interactive controls just like the hardware
6356 equalizer, for cards/\:drivers that do not support brightness and
6357 contrast controls in hardware.
6358 .PD 0
6359 .RSs
6360 .IPs <\-100\-100>
6361 initial brightness
6362 .IPs <\-100\-100>
6363 initial contrast
6365 .PD 1
6368 .B eq2[=gamma:contrast:brightness:saturation:rg:gg:bg:weight]
6369 Alternative software equalizer that uses lookup tables (very slow),
6370 allowing gamma correction in addition to simple brightness
6371 and contrast adjustment.
6372 Note that it uses the same MMX optimized code as \-vf eq if all
6373 gamma values are 1.0.
6374 The parameters are given as floating point values.
6375 .PD 0
6376 .RSs
6377 .IPs <0.1\-10>
6378 initial gamma value (default: 1.0)
6379 .IPs <\-2\-2>
6380 initial contrast, where negative values result in a
6381 negative image (default: 1.0)
6382 .IPs <\-1\-1>
6383 initial brightness (default: 0.0)
6384 .IPs <0\-3>
6385 initial saturation (default: 1.0)
6386 .IPs <0.1\-10>
6387 gamma value for the red component (default: 1.0)
6388 .IPs <0.1\-10>
6389 gamma value for the green component (default: 1.0)
6390 .IPs <0.1\-10>
6391 gamma value for the blue component (default: 1.0)
6392 .IPs <0\-1>
6393 The weight parameter can be used to reduce the effect of a high gamma value on
6394 bright image areas, e.g.\& keep them from getting overamplified and just plain
6395 white.
6396 A value of 0.0 turns the gamma correction all the way down while 1.0 leaves it
6397 at its full strength (default: 1.0).
6399 .PD 1
6402 .B hue[=hue:saturation]
6403 Software equalizer with interactive controls just like the hardware
6404 equalizer, for cards/\:drivers that do not support hue and
6405 saturation controls in hardware.
6406 .PD 0
6407 .RSs
6408 .IPs <\-180\-180>
6409 initial hue (default: 0.0)
6410 .IPs <\-100\-100>
6411 initial saturation, where negative values result
6412 in a negative chroma (default: 1.0)
6414 .PD 1
6417 .B halfpack[=f]
6418 Convert planar YUV 4:2:0 to half-height packed 4:2:2, downsampling luma but
6419 keeping all chroma samples.
6420 Useful for output to low-resolution display devices when hardware downscaling
6421 is poor quality or is not available.
6422 Can also be used as a primitive luma-only deinterlacer with very low CPU
6423 usage.
6424 .PD 0
6425 .RSs
6426 .IPs "<f>\ \ "
6427 By default, halfpack averages pairs of lines when downsampling.
6428 Any value different from 0 or 1 gives the default (averaging) behavior.
6429 .RSss
6430 0: Only use even lines when downsampling.
6432 1: Only use odd lines when downsampling.
6433 .REss
6435 .PD 1
6438 .B ilpack[=mode]
6439 When interlaced video is stored in YUV 4:2:0 formats, chroma
6440 interlacing does not line up properly due to vertical downsampling of
6441 the chroma channels.
6442 This filter packs the planar 4:2:0 data into YUY2 (4:2:2) format with
6443 the chroma lines in their proper locations, so that in any given
6444 scanline, the luma and chroma data both come from the same field.
6445 .PD 0
6446 .RSs
6447 .IPs <mode>
6448 Select the sampling mode.
6449 .RSss
6450 0: nearest-neighbor sampling, fast but incorrect
6452 1: linear interpolation (default)
6453 .REss
6455 .PD 1
6458 .B decimate[=max:hi:lo:frac]
6459 Drops frames that do not differ greatly from the previous frame in
6460 order to reduce framerate.
6461 The main use of this filter is for very-low-bitrate encoding (e.g.\&
6462 streaming over dialup modem), but it could in theory be used for
6463 fixing movies that were inverse-telecined incorrectly.
6464 .PD 0
6465 .RSs
6466 .IPs <max>
6467 Sets the maximum number of consecutive frames which can be
6468 dropped (if positive), or the minimum interval between
6469 dropped frames (if negative).
6470 .IPs <hi>,<lo>,<frac>
6471 A frame is a candidate for dropping if no 8x8 region differs by more
6472 than a threshold of <hi>, and if not more than <frac> portion (1
6473 meaning the whole image) differs by more than a threshold of <lo>.
6474 Values of <hi> and <lo> are for 8x8 pixel blocks and represent actual
6475 pixel value differences, so a threshold of 64 corresponds to 1 unit of
6476 difference for each pixel, or the same spread out differently over the
6477 block.
6479 .PD 1
6482 .B dint[=sense:level]
6483 The drop-deinterlace (dint) filter detects and drops the first from a set
6484 of interlaced video frames.
6485 .PD 0
6486 .RSs
6487 .IPs <0.0\-1.0>
6488 relative difference between neighboring pixels (default: 0.1)
6489 .IPs <0.0\-1.0>
6490 What part of the image has to be detected as interlaced to
6491 drop the frame (default: 0.15).
6493 .PD 1
6496 .B lavcdeint (OBSOLETE)
6497 FFmpeg deinterlacing filter, same as \-vf pp=fd
6500 .B kerndeint[=thresh[:map[:order[:sharp[:twoway]]]]]
6501 Donald Graft's adaptive kernel deinterlacer.
6502 Deinterlaces parts of a video if a configurable threshold is exceeded.
6503 .PD 0
6504 .RSs
6505 .IPs <0\-255>
6506 threshold (default: 10)
6507 .IPs <map>
6508 .RSss
6509 0: Ignore pixels exceeding the threshold (default).
6511 1: Paint pixels exceeding the threshold white.
6512 .REss
6513 .IPs <order>
6514 .RSss
6515 0: Leave fields alone (default).
6517 1: Swap fields.
6518 .REss
6519 .IPs <sharp>
6520 .RSss
6521 0: Disable additional sharpening (default).
6523 1: Enable additional sharpening.
6524 .REss
6525 .IPs <twoway>
6526 .RSss
6527 0: Disable twoway sharpening (default).
6529 1: Enable twoway sharpening.
6530 .REss
6532 .PD 1
6535 .B unsharp[=l|cWxH:amount[:l|cWxH:amount]]
6536 unsharp mask / gaussian blur
6537 .RSs
6538 .IPs "l\ \ \ \ "
6539 Apply effect on luma component.
6540 .IPs "c\ \ \ \ "
6541 Apply effect on chroma components.
6542 .IPs <width>x<height>
6543 width and height of the matrix, odd sized in both directions
6544 (min = 3x3, max = 13x11 or 11x13, usually something between 3x3 and 7x7)
6545 .IPs amount
6546 Relative amount of sharpness/\:blur to add to the image
6547 (a sane range should be \-1.5\-1.5).
6548 .RSss
6549 <0: blur
6551 >0: sharpen
6552 .REss
6556 .B "swapuv\ "
6557 Swap U & V plane.
6560 .B il[=d|i][s][:[d|i][s]]
6561 (De)interleaves lines.
6562 The goal of this filter is to add the ability to process interlaced images
6563 pre-field without deinterlacing them.
6564 You can filter your interlaced DVD and play it on a TV without breaking the
6565 interlacing.
6566 While deinterlacing (with the postprocessing filter) removes interlacing
6567 permanently (by smoothing, averaging, etc) deinterleaving splits the frame into
6568 2 fields (so called half pictures), so you can process (filter) them
6569 independently and then re-interleave them.
6570 .PD 0
6571 .RSs
6572 .IPs d
6573 deinterleave (placing one above the other)
6574 .IPs i
6575 interleave
6576 .IPs s
6577 swap fields (exchange even & odd lines)
6579 .PD 1
6582 .B fil[=i|d]
6583 (De)interleaves lines.
6584 This filter is very similar to the il filter but much faster, the main
6585 disadvantage is that it does not always work.
6586 Especially if combined with other filters it may produce randomly messed
6587 up images, so be happy if it works but do not complain if it does not for
6588 your combination of filters.
6589 .PD 0
6590 .RSs
6591 .IPs d
6592 Deinterleave fields, placing them side by side.
6593 .IPs i
6594 Interleave fields again (reversing the effect of fil=d).
6596 .PD 1
6599 .B field[=n]
6600 Extracts a single field from an interlaced image using stride arithmetic
6601 to avoid wasting CPU time.
6602 The optional argument n specifies whether to extract the even or the odd
6603 field (depending on whether n is even or odd).
6606 .B detc[=var1=value1:var2=value2:...]
6607 Attempts to reverse the 'telecine' process to recover a clean,
6608 non-interlaced stream at film framerate.
6609 This was the first and most primitive inverse telecine filter to be
6610 added to MPlayer.
6611 It works by latching onto the telecine 3:2 pattern and following it as
6612 long as possible.
6613 This makes it suitable for perfectly-telecined material, even in the
6614 presence of a fair degree of noise, but it will fail in the presence
6615 of complex post-telecine edits.
6616 Development on this filter is no longer taking place, as ivtc, pullup,
6617 and filmdint are better for most applications.
6618 The following arguments (see syntax above) may be used to control
6619 detc's behavior:
6620 .RSs
6621 .IPs "<dr>\ "
6622 Set the frame dropping mode.
6623 .RSss
6624 0: Do not drop frames to maintain fixed output framerate (default).
6626 1: Always drop a frame when there have been no drops or telecine
6627 merges in the past 5 frames.
6629 2: Always maintain exact 5:4 input to output frame ratio.
6630 .REss
6631 .IPs "<am>\ "
6632 Analysis mode.
6633 .RSss
6634 0: Fixed pattern with initial frame number specified by <fr>.
6636 1: aggressive search for telecine pattern (default)
6637 .REss
6638 .IPs "<fr>\ "
6639 Set initial frame number in sequence.
6640 0\-2 are the three clean progressive frames; 3 and 4 are the two
6641 interlaced frames.
6642 The default, \-1, means 'not in telecine sequence'.
6643 The number specified here is the type for the imaginary previous
6644 frame before the movie starts.
6645 .IPs "<t0>, <t1>, <t2>, <t3>"
6646 Threshold values to be used in certain modes.
6650 .B ivtc[=1]
6651 Experimental 'stateless' inverse telecine filter.
6652 Rather than trying to lock on to a pattern like the detc filter does,
6653 ivtc makes its decisions independently for each frame.
6654 This will give much better results for material that has undergone
6655 heavy editing after telecine was applied, but as a result it is not as
6656 forgiving of noisy input, for example TV capture.
6657 The optional parameter (ivtc=1) corresponds to the dr=1 option for the
6658 detc filter, and should not be used with MPlayer.
6659 Further development on ivtc has stopped, as the pullup and filmdint
6660 filters appear to be much more accurate.
6663 .B pullup[=jl:jr:jt:jb:sb:mp]
6664 Third-generation pulldown reversal (inverse telecine) filter,
6665 capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001
6666 fps progressive content.
6667 The pullup filter is designed to be much more robust than detc or
6668 ivtc, by taking advantage of future context in making its decisions.
6669 Like ivtc, pullup is stateless in the sense that it does not lock onto
6670 a pattern to follow, but it instead looks forward to the following
6671 fields in order to identify matches and rebuild progressive frames.
6672 It is still under development, but believed to be quite accurate.
6673 .RSs
6674 .IPs "jl, jr, jt, and jb"
6675 These options set the amount of "junk" to ignore at
6676 the left, right, top, and bottom of the image, respectively.
6677 Left/\:right are in units of 8 pixels, while top/\:bottom are in units of
6678 2 lines.
6679 The default is 8 pixels on each side.
6681 .IPs "sb (strict breaks)"
6682 Setting this option to 1 will reduce the chances of
6683 pullup generating an occasional mismatched frame, but it may also
6684 cause an excessive number of frames to be dropped during high motion
6685 sequences.
6686 Conversely, setting it to \-1 will make pullup match fields more
6687 easily.
6688 This may help processing of video where there is slight blurring
6689 between the fields, but may also cause there to be interlaced frames
6690 in the output.
6692 .IPs "mp (metric plane)"
6693 This option may be set to 1 or 2 to use a chroma
6694 plane instead of the luma plane for doing pullup's computations.
6695 This may improve accuracy on very clean source material, but more
6696 likely will decrease accuracy, especially if there is chroma noise
6697 (rainbow effect) or any grayscale video.
6698 The main purpose of setting mp to a chroma plane is to reduce CPU load
6699 and make pullup usable in realtime on slow machines.
6700 .REss
6703 .B filmdint[=options]
6704 Inverse telecine filter, similar to the pullup filter above.
6705 It is designed to handle any pulldown pattern, including mixed soft and
6706 hard telecine and limited support for movies that are slowed down or sped
6707 up from their original framerate for TV.
6708 Only the luma plane is used to find the frame breaks.
6709 If a field has no match, it is deinterlaced with simple linear
6710 approximation.
6711 If the source is MPEG-2, this must be the first filter to allow
6712 access to the field-flags set by the MPEG-2 decoder.
6713 Depending on the source MPEG, you may be fine ignoring this advice, as
6714 long as you do not see lots of "Bottom-first field" warnings.
6715 With no options it does normal inverse telecine.
6716 When this filter is used with MPlayer, it will result in an uneven
6717 framerate during playback, but it is still generally better than using
6718 pp=lb or no deinterlacing at all.
6719 Multiple options can be specified separated by /.
6720 .RSs
6721 .IPs crop=<w>:<h>:<x>:<y>
6722 Just like the crop filter, but faster, and works on mixed hard and soft
6723 telecined content as well as when y is not a multiple of 4.
6724 If x or y would require cropping fractional pixels from the chroma
6725 planes, the crop area is extended.
6726 This usually means that x and y must be even.
6727 .IPs io=<ifps>:<ofps>
6728 For each ifps input frames the filter will output ofps frames.
6729 This could be used to filter movies that are broadcast on TV at a frame
6730 rate different from their original framerate.
6731 .IPs luma_only=<n>
6732 If n is nonzero, the chroma plane is copied unchanged.
6733 This is useful for YV12 sampled TV, which discards one of the chroma
6734 fields.
6735 .IPs mmx2=<n>
6736 On x86, if n=1, use MMX2 optimized functions, if n=2, use 3DNow!
6737 optimized functions, otherwise, use plain C.
6738 If this option is not specified, MMX2 and 3DNow! are auto-detected, use
6739 this option to override auto-detection.
6740 .IPs fast=<n>
6741 The larger n will speed up the filter at the expense of accuracy.
6742 The default value is n=3.
6743 If n is odd, a frame immediately following a frame marked with the
6744 REPEAT_FIRST_FIELD MPEG flag is assumed to be progressive, thus filter
6745 will not spend any time on soft-telecined MPEG-2 content.
6746 This is the only effect of this flag if MMX2 or 3DNow! is available.
6747 Without MMX2 and 3DNow, if n=0 or 1, the same calculations will be used
6748 as with n=2 or 3.
6749 If n=2 or 3, the number of luma levels used to find the frame breaks is
6750 reduced from 256 to 128, which results in a faster filter without losing
6751 much accuracy.
6752 If n=4 or 5, a faster, but much less accurate metric will be used to
6753 find the frame breaks, which is more likely to misdetect high vertical
6754 detail as interlaced content.
6755 .IPs verbose=<n>
6756 If n is nonzero, print the detailed metrics for each frame.
6757 Useful for debugging.
6758 .IPs dint_thres=<n>
6759 Deinterlace threshold.
6760 Used during de-interlacing of unmatched frames.
6761 Larger value means less deinterlacing, use n=256 to completely turn off
6762 deinterlacing.
6763 Default is n=8.
6764 .IPs comb_thres=<n>
6765 Threshold for comparing a top and bottom fields.
6766 Defaults to 128.
6767 .IPs diff_thres=<n>
6768 Threshold to detect temporal change of a field.
6769 Default is 128.
6770 .IPs sad_thres=<n>
6771 Sum of Absolute Difference threshold, default is 64.
6775 .B divtc[=options]
6776 Inverse telecine for deinterlaced video.
6777 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced
6778 using a method that keeps one field and interpolates the other, the result is
6779 a juddering video that has every fourth frame duplicated.
6780 This filter is intended to find and drop those duplicates and restore the
6781 original film framerate.
6782 Two different modes are available:
6783 One pass mode is the default and is straightforward to use,
6784 but has the disadvantage that any changes in the telecine
6785 phase (lost frames or bad edits) cause momentary judder
6786 until the filter can resync again.
6787 Two pass mode avoids this by analyzing the whole video
6788 beforehand so it will have forward knowledge about the
6789 phase changes and can resync at the exact spot.
6790 These passes do
6791 .B not
6792 correspond to pass one and two of the encoding process.
6793 You must run an extra pass using divtc pass one before the
6794 actual encoding throwing the resulting video away.
6795 Use \-nosound \-ovc raw \-o /dev/null to avoid
6796 wasting CPU power for this pass.
6797 You may add something like crop=2:2:0:0 after divtc
6798 to speed things up even more.
6799 Then use divtc pass two for the actual encoding.
6800 If you use multiple encoder passes, use divtc
6801 pass two for all of them.
6802 The options are:
6803 .RSs
6804 .IPs pass=1|2
6805 Use two pass mode.
6806 .IPs file=<filename>
6807 Set the two pass log filename (default: "framediff.log").
6808 .IPs threshold=<value>
6809 Set the minimum strength the telecine pattern must have for the filter to
6810 believe in it (default: 0.5).
6811 This is used to avoid recognizing false pattern from the parts of the video
6812 that are very dark or very still.
6813 .IPs window=<numframes>
6814 Set the number of past frames to look at when searching for pattern
6815 (default: 30).
6816 Longer window improves the reliability of the pattern search, but shorter
6817 window improves the reaction time to the changes in the telecine phase.
6818 This only affects the one pass mode.
6819 The two pass mode currently uses fixed window that extends to both future
6820 and past.
6821 .IPs phase=0|1|2|3|4
6822 Sets the initial telecine phase for one pass mode (default: 0).
6823 The two pass mode can see the future, so it is able to use the correct
6824 phase from the beginning, but one pass mode can only guess.
6825 It catches the correct phase when it finds it, but this option can be used
6826 to fix the possible juddering at the beginning.
6827 The first pass of the two pass mode also uses this, so if you save the output
6828 from the first pass, you get constant phase result.
6829 .IPs deghost=<value>
6830 Set the deghosting threshold (0\-255 for one pass mode, \-255\-255 for two pass
6831 mode, default 0).
6832 If nonzero, deghosting mode is used.
6833 This is for video that has been deinterlaced by blending the fields
6834 together instead of dropping one of the fields.
6835 Deghosting amplifies any compression artifacts in the blended frames, so the
6836 parameter value is used as a threshold to exclude those pixels from
6837 deghosting that differ from the previous frame less than specified value.
6838 If two pass mode is used, then negative value can be used to make the
6839 filter analyze the whole video in the beginning of pass-2 to determine
6840 whether it needs deghosting or not and then select either zero or the
6841 absolute value of the parameter.
6842 Specify this option for pass-2, it makes no difference on pass-1.
6846 .B phase[=t|b|p|a|u|T|B|A|U][:v]
6847 Delay interlaced video by one field time so that the field order
6848 changes.
6849 The intended use is to fix PAL movies that have been captured with the
6850 opposite field order to the film-to-video transfer.
6851 The options are:
6852 .RSs
6853 .IPs t
6854 Capture field order top-first, transfer bottom-first.
6855 Filter will delay the bottom field.
6856 .IPs b
6857 Capture bottom-first, transfer top-first.
6858 Filter will delay the top field.
6859 .IPs p
6860 Capture and transfer with the same field order.
6861 This mode only exists for the documentation of the other options to refer to,
6862 but if you actually select it, the filter will faithfully do nothing ;-)
6863 .IPs a
6864 Capture field order determined automatically by field flags, transfer opposite.
6865 Filter selects among t and b modes on a frame by frame basis using field flags.
6866 If no field information is available, then this works just like u.
6867 .IPs u
6868 Capture unknown or varying, transfer opposite.
6869 Filter selects among t and b on a frame by frame basis by analyzing the
6870 images and selecting the alternative that produces best match between the
6871 fields.
6872 .IPs T
6873 Capture top-first, transfer unknown or varying.
6874 Filter selects among t and p using image analysis.
6875 .IPs B
6876 Capture bottom-first, transfer unknown or varying.
6877 Filter selects among b and p using image analysis.
6878 .IPs A
6879 Capture determined by field flags, transfer unknown or varying.
6880 Filter selects among t, b and p using field flags and image analysis.
6881 If no field information is available, then this works just like U.
6882 This is the default mode.
6883 .IPs U
6884 Both capture and transfer unknown or varying.
6885 Filter selects among t, b and p using image analysis only.
6886 .IPs v
6887 Verbose operation.
6888 Prints the selected mode for each frame and the average squared difference
6889 between fields for t, b, and p alternatives.
6893 .B telecine[=start]
6894 Apply 3:2 'telecine' process to increase framerate by 20%.
6895 This most likely will not work correctly with MPlayer.
6896 The optional start parameter tells the filter where in the telecine
6897 pattern to start (0\-3).
6900 .B tinterlace[=mode]
6901 Temporal field interlacing \- merge pairs of frames into an interlaced
6902 frame, halving the framerate.
6903 Even frames are moved into the upper field, odd frames to the lower field.
6904 This can be used to fully reverse the effect of the tfields filter (in mode 0).
6905 Available modes are:
6906 .PD 0
6907 .RSs
6908 .IPs 0
6909 Move odd frames into the upper field, even into the lower field, generating
6910 a full-height frame at half framerate.
6911 .IPs 1
6912 Only output odd frames, even frames are dropped; height unchanged.
6913 .IPs 2
6914 Only output even frames, odd frames are dropped; height unchanged.
6915 .IPs 3
6916 Expand each frame to full height, but pad alternate lines with black;
6917 framerate unchanged.
6918 .IPs 4
6919 Interleave even lines from even frames with odd lines from odd frames.
6920 Height unchanged at half framerate.
6922 .PD 1
6925 .B tfields[=mode[:field_dominance]]
6926 Temporal field separation \- split fields into frames, doubling the
6927 output framerate.
6928 .PD 0
6929 .RSs
6930 .IPs <mode>
6931 0: Leave fields unchanged (will jump/\:flicker).
6933 1: Interpolate missing lines. (The algorithm used might not be so good.)
6935 2: Translate fields by 1/4 pixel with linear interpolation (no jump).
6937 4: Translate fields by 1/4 pixel with 4tap filter (higher quality) (default).
6938 .IPs <field_dominance>\ (DEPRECATED)
6939 \-1: auto (default)
6940 Only works if the decoder exports the appropriate information and
6941 no other filters which discard that information come before tfields
6942 in the filter chain, otherwise it falls back to 0 (top field first).
6944 0: top field first
6946 1: bottom field first
6948 .I NOTE:
6949 This option will possibly be removed in a future version.
6950 Use \-field\-dominance instead.
6952 .PD 1
6955 .B yadif=[mode[:field_dominance]]
6956 Yet another deinterlacing filter
6957 .PD 0
6958 .RSs
6959 .IPs <mode>
6960 0: Output 1 frame for each frame.
6962 1: Output 1 frame for each field.
6964 2: Like 0 but skips spatial interlacing check.
6966 3: Like 1 but skips spatial interlacing check.
6967 .IPs <field_dominance>\ (DEPRECATED)
6968 Operates like tfields.
6970 .I NOTE:
6971 This option will possibly be removed in a future version.
6972 Use \-field\-dominance instead.
6974 .PD 1
6977 .B mcdeint=[mode[:parity[:qp]]]
6978 Motion compensating deinterlacer.
6979 It needs one field per frame as input and must thus be used together
6980 with tfields=1 or yadif=1/3 or equivalent.
6981 .PD 0
6982 .RSs
6983 .IPs <mode>
6984 0: fast
6986 1: medium
6988 2: slow, iterative motion estimation
6990 3: extra slow, like 2 plus multiple reference frames
6991 .IPs <parity>
6992 0 or 1 selects which field to use (note: no autodetection yet!).
6993 .IPs "<qp>\ "
6994 Higher values should result in a smoother motion vector
6995 field but less optimal individual vectors.
6997 .PD 1
7000 .B boxblur=radius:power[:radius:power]
7001 box blur
7002 .PD 0
7003 .RSs
7004 .IPs <radius>
7005 blur filter strength
7006 .IPs <power>
7007 number of filter applications
7009 .PD 1
7012 .B sab=radius:pf:colorDiff[:radius:pf:colorDiff]
7013 shape adaptive blur
7014 .PD 0
7015 .RSs
7016 .IPs <radius>
7017 blur filter strength (~0.1\-4.0) (slower if larger)
7018 .IPs "<pf>\ "
7019 prefilter strength (~0.1\-2.0)
7020 .IPs <colorDiff>
7021 maximum difference between pixels to still be considered (~0.1\-100.0)
7023 .PD 1
7026 .B smartblur=radius:strength:threshold[:radius:strength:threshold]
7027 smart blur
7028 .PD 0
7029 .RSs
7030 .IPs <radius>
7031 blur filter strength (~0.1\-5.0) (slower if larger)
7032 .IPs <strength>
7033 blur (0.0\-1.0) or sharpen (\-1.0\-0.0)
7034 .IPs <threshold>
7035 filter all (0), filter flat areas (0\-30) or filter edges (\-30\-0)
7037 .PD 1
7040 .B perspective=x0:y0:x1:y1:x2:y2:x3:y3:t
7041 Correct the perspective of movies not filmed perpendicular to the screen.
7042 .PD 0
7043 .RSs
7044 .IPs <x0>,<y0>,...
7045 coordinates of the top left, top right, bottom left, bottom right corners
7046 .IPs "<t>\ \ "
7047 linear (0) or cubic resampling (1)
7049 .PD 1
7052 .B "2xsai\ \ "
7053 Scale and smooth the image with the 2x scale and interpolate algorithm.
7056 .B "1bpp\ \ \ "
7057 1bpp bitmap to YUV/\:BGR 8/\:15/\:16/\:32 conversion
7060 .B down3dright[=lines]
7061 Reposition and resize stereoscopic images.
7062 Extracts both stereo fields and places them side by side, resizing
7063 them to maintain the original movie aspect.
7064 .PD 0
7065 .RSs
7066 .IPs <lines>
7067 number of lines to select from the middle of the image (default: 12)
7069 .PD 1
7072 .B bmovl=hidden:opaque:fifo
7073 The bitmap overlay filter reads bitmaps from a FIFO and displays them
7074 on top of the movie, allowing some transformations on the image.
7075 Also see TOOLS/bmovl-test.c for a small bmovl test program.
7076 .PD 0
7077 .RSs
7078 .IPs <hidden>
7079 Set the default value of the 'hidden' flag (0=visible, 1=hidden).
7080 .IPs <opaque>
7081 Set the default value of the 'opaque' flag (0=transparent, 1=opaque).
7082 .IPs <fifo>
7083 path/\:filename for the FIFO (named pipe connecting 'mplayer \-vf bmovl' to the
7084 controlling application)
7086 .PD 1
7087 .sp 1
7089 FIFO commands are:
7091 .PD 0
7092 .RSs
7093 .IPs "RGBA32 width height xpos ypos alpha clear"
7094 followed by width*height*4 Bytes of raw RGBA32 data.
7095 .IPs "ABGR32 width height xpos ypos alpha clear"
7096 followed by width*height*4 Bytes of raw ABGR32 data.
7097 .IPs "RGB24 width height xpos ypos alpha clear"
7098 followed by width*height*3 Bytes of raw RGB24 data.
7099 .IPs "BGR24 width height xpos ypos alpha clear"
7100 followed by width*height*3 Bytes of raw BGR24 data.
7101 .IPs "ALPHA width height xpos ypos alpha"
7102 Change alpha transparency of the specified area.
7103 .IPs "CLEAR width height xpos ypos"
7104 Clear area.
7105 .IPs OPAQUE
7106 Disable all alpha transparency.
7107 Send "ALPHA 0 0 0 0 0" to enable it again.
7108 .IPs "HIDE\ "
7109 Hide bitmap.
7110 .IPs "SHOW\ "
7111 Show bitmap.
7113 .PD 1
7114 .sp 1
7116 Arguments are:
7118 .PD 0
7119 .RSs
7120 .IPs "<width>, <height>"
7121 image/area size
7122 .IPs "<xpos>, <ypos>"
7123 Start blitting at position x/y.
7124 .IPs <alpha>
7125 Set alpha difference.
7126 If you set this to \-255 you can then send a sequence of ALPHA-commands to set
7127 the area to \-225, \-200, \-175 etc for a nice fade-in-effect! ;)
7128 .RSss
7129 0:    same as original
7131 255:  Make everything opaque.
7133 \-255: Make everything transparent.
7134 .REss
7135 .IPs <clear>
7136 Clear the framebuffer before blitting.
7137 .RSss
7138 0: The image will just be blitted on top of the old one, so you do not need to
7139 send 1.8MB of RGBA32 data every time a small part of the screen is updated.
7141 1: clear
7142 .REss
7144 .PD 1
7147 .B framestep=I|[i]step
7148 Renders only every nth frame or every intra frame (keyframe).
7149 .sp 1
7150 If you call the filter with I (uppercase) as the parameter, then
7151 .B only
7152 keyframes are rendered.
7153 For DVDs it generally means one in every 15/12 frames (IBBPBBPBBPBBPBB),
7154 for AVI it means every scene change or every keyint value.
7155 .sp 1
7156 When a keyframe is found, an 'I!' string followed by a newline character is
7157 printed, leaving the current line of MPlayer output on the screen, because it
7158 contains the time (in seconds) and frame number of the keyframe (You can use
7159 this information to split the AVI.).
7160 .sp 1
7161 If you call the filter with a numeric parameter 'step' then only one in
7162 every 'step' frames is rendered.
7163 .sp 1
7164 If you put an 'i' (lowercase) before the number then an 'I!' is printed
7165 (like the I parameter).
7166 .sp 1
7167 If you give only the i then nothing is done to the frames, only I! is
7168 printed.
7171 .B tile=xtiles:ytiles:output:start:delta
7172 Tile a series of images into a single, bigger image.
7173 If you omit a parameter or use a value less than 0, then the default
7174 value is used.
7175 You can also stop when you are satisfied (... \-vf tile=10:5 ...).
7176 It is probably a good idea to put the scale filter before the tile :-)
7177 .sp 1
7178 The parameters are:
7179 .sp 1
7180 .PD 0
7181 .RSs
7182 .IPs <xtiles>
7183 number of tiles on the x axis (default: 5)
7184 .IPs <ytiles>
7185 number of tiles on the y axis (default: 5)
7186 .IPs <output>
7187 Render the tile when 'output' number of frames are reached, where 'output'
7188 should be a number less than xtile * ytile.
7189 Missing tiles are left blank.
7190 You could, for example, write an 8 * 7 tile every 50 frames to have one
7191 image every 2 seconds @ 25 fps.
7192 .IPs <start>
7193 outer border thickness in pixels (default: 2)
7194 .IPs <delta>
7195 inner border thickness in pixels (default: 4)
7197 .PD 1
7200 .B delogo[=x:y:w:h:t]
7201 Suppresses a TV station logo by a simple interpolation of the
7202 surrounding pixels.
7203 Just set a rectangle covering the logo and watch it disappear (and
7204 sometimes something even uglier appear \- your mileage may vary).
7205 .PD 0
7206 .RSs
7207 .IPs <x>,<y>
7208 top left corner of the logo
7209 .IPs <w>,<h>
7210 width and height of the cleared rectangle
7211 .IPs <t>
7212 Thickness of the fuzzy edge of the rectangle (added to w and h).
7213 When set to \-1, a green rectangle is drawn on the screen to
7214 simplify finding the right x,y,w,h parameters.
7216 .PD 1
7219 .B remove\-logo=/path/to/logo_bitmap_file_name.pgm
7220 Suppresses a TV station logo, using a PGM or PPM image
7221 file to determine which pixels comprise the logo.
7222 The width and height of the image file must match
7223 those of the video stream being processed.
7224 Uses the filter image and a circular blur
7225 algorithm to remove the logo.
7226 .RSs
7227 .IPs /path/to/logo_bitmap_file_name.pgm
7228 [path] + filename of the filter image.
7232 .B screenshot
7233 Allows acquiring screenshots of the movie using slave mode
7234 commands that can be bound to keypresses.
7235 See the slave mode documentation and the INTERACTIVE CONTROL
7236 section for details.
7237 Files named 'shotNNNN.png' will be saved in the working directory,
7238 using the first available number \- no files will be overwritten.
7239 The filter has no overhead when not used and accepts an arbitrary
7240 colorspace, so it is safe to add it to the configuration file.
7241 Make sure that the screenshot filter is added after all other filters
7242 whose effect you want to record on the saved image.
7243 E.g.\& it should be the last filter if you want to have an exact
7244 screenshot of what you see on the monitor.
7248 .B "ass\ \ \ \ "
7249 Moves SSA/ASS subtitle rendering to an arbitrary point in the filter chain.
7250 Only useful with the \-ass option.
7251 .sp 1
7252 .I EXAMPLE:
7253 .PD 0
7254 .RSs
7255 .IPs "\-vf ass,screenshot"
7256 Moves SSA/ASS rendering before the screenshot filter.
7257 Screenshots taken this way will contain subtitles.
7259 .PD 1
7262 .B blackframe[=amount:threshold]
7263 Detect frames that are (almost) completely black.
7264 Can be useful to detect chapter transitions or commercials.
7265 Output lines consist of the frame number of the detected frame, the
7266 percentage of blackness, the frame type and the frame number of the last
7267 encountered keyframe.
7268 .RSs
7269 .IPs <amount>
7270 Percentage of the pixels that have to be below the threshold (default: 98).
7271 .IPs <threshold>
7272 Threshold below which a pixel value is considered black (default: 32).
7274 .PD 1
7277 .B stereo3d[=in:out]
7278 Stereo3d converts between different stereoscopic image formats.
7279 .RSs
7280 .IPs <in>
7281 Stereoscopic image format of input. Possible values:
7283 .B sbsl or side_by_side_left_first
7285 side by side parallel (left eye left, right eye right)
7287 .B sbsr or side_by_side_right_first
7289 side by side crosseye (right eye left, left eye right)
7291 .B abl or above_below_left_first
7293 above-below (left eye above, right eye below)
7295 .B abl or above_below_right_first
7297 above-below (right eye above, left eye below)
7299 .B ab2l or above_below_half_height_left_first
7301 above-below with half height resolution (left eye above, right eye below)
7303 .B ab2r or above_below_half_height_right_first
7305 above-below with half height resolution (right eye above, left eye below)
7308 .IPs <out>
7309 Stereoscopic image format of output. Possible values are all the input formats
7310 as well as:
7312 .B arcg or anaglyph_red_cyan_gray
7314 anaglyph red/cyan gray (red filter on left eye, cyan filter on right eye)
7316 .B arch or anaglyph_red_cyan_half_color
7318 anaglyph red/cyan half colored (red filter on left eye, cyan filter on right
7319 eye)
7321 .B arcc or anaglyph_red_cyan_color
7323 anaglyph red/cyan color (red filter on left eye, cyan filter on right eye)
7325 .B arcd or anaglyph_red_cyan_dubois
7327 anaglyph red/cyan color optimized with the least squares projection of dubois
7328 (red filter on left eye, cyan filter on right eye)
7330 .B agmg or anaglyph_green_magenta_gray
7332 anaglyph green/magenta gray (green filter on left eye, magenta filter on right
7333 eye)
7335 .B agmh or anaglyph_green_magenta_half_color
7337 anaglyph green/magenta half colored (green filter on left eye, magenta filter on
7338 right eye)
7340 .B agmc or anaglyph_green_magenta_color
7342 anaglyph green/magenta colored (green filter on left eye, magenta filter on
7343 right eye)
7345 .B aybg or anaglyph_yellow_blue_gray
7347 anaglyph yellow/blue gray (yellow filter on left eye, blue filter on right eye)
7349 .B aybh or anaglyph_yellow_blue_half_color
7351 anaglyph yellow/blue half colored (yellow filter on left eye, blue filter on
7352 right eye)
7354 .B aybc or anaglyph_yellow_blue_color
7356 anaglyph yellow/blue colored (yellow filter on left eye, blue filter on right
7357 eye)
7359 .B ml or mono_left
7361 mono output (left eye only)
7363 .B mr or mono_right
7365 mono output (right eye only)
7369 .PD 1
7372 .B gradfun[=strength[:radius]]
7373 Fix the banding artifacts that are sometimes introduced into nearly flat
7374 regions by truncation to 8bit colordepth.
7375 Interpolates the gradients that should go where the bands are, and
7376 dithers them.
7377 .sp 1
7378 This filter is designed for playback only.
7379 Do not use it prior to lossy compression, because compression tends
7380 to lose the dither and bring back the bands.
7381 .RSs
7382 .IPs <strength>
7383 Maximum amount by which the filter will change any one pixel.
7384 Also the threshold for detecting nearly flat regions (default: 1.2).
7385 .IPs <radius>
7386 Neighborhood to fit the gradient to.
7387 Larger radius makes for smoother gradients, but also prevents the filter
7388 from modifying pixels near detailed regions (default: 16).
7392 .B fixpts[=options]
7393 Fixes the presentation timestamps (PTS) of the frames.
7394 By default, the PTS passed to the next filter is dropped, but the following
7395 options can change that:
7396 .RSs
7397 .IPs print
7398 Print the incoming PTS.
7399 .IPs fps=<fps>
7400 Specify a frame per second value.
7401 .IPs start=<pts>
7402 Specify an initial value for the PTS.
7403 .IPs autostart=<n>
7404 Uses the
7405 .IR n th
7406 incoming PTS as the initial PTS.
7407 All previous PTS are kept, so setting a huge value or \-1 keeps the PTS
7408 intact.
7409 .IPs autofps=<n>
7410 Uses the
7411 .IR n th
7412 incoming PTS after the end of autostart to determine the framerate.
7414 .sp 1
7416 .I EXAMPLE:
7418 .PD 0
7419 .RSs
7420 .IPs "\-vf fixpts=fps=24000/1001,ass,fixpts"
7421 Generates a new sequence of PTS, uses it for ASS subtitles, then drops it.
7422 Generating a new sequence is useful when the timestamps are reset during the
7423 program; this is frequent on DVDs.
7424 Dropping it may be necessary to avoid confusing encoders.
7426 .PD 1
7427 .sp 1
7429 .I NOTE:
7430 Using this filter together with any sort of seeking (including -ss and EDLs)
7431 may make demons fly out of your nose.
7435 .\" --------------------------------------------------------------------------
7436 .\" environment variables
7437 .\" --------------------------------------------------------------------------
7439 .SH ENVIRONMENT VARIABLES
7441 There are a number of environment variables that can be used to
7442 control the behavior of MPlayer.
7445 .B MPLAYER_CHARSET (also see \-msgcharset)
7446 Convert console messages to the specified charset (default: autodetect).
7447 A value of "noconv" means no conversion.
7450 .B MPLAYER_HOME
7451 Directory where MPlayer looks for user settings.
7454 .B MPLAYER_LOCALEDIR
7455 Directory where MPlayer looks for gettext translation files (if enabled).
7458 .B MPLAYER_VERBOSE (also see \-v and \-msglevel)
7459 Set the initial verbosity level across all message modules (default: 0).
7460 The resulting verbosity corresponds to that of \-msglevel 5 plus the
7461 value of MPLAYER_VERBOSE.
7463 .SS libaf:
7466 .B LADSPA_PATH
7467 If LADSPA_PATH is set, it searches for the specified file.
7468 If it is not set, you must supply a fully specified pathname.
7469 FIXME: This is also mentioned in the ladspa section.
7471 .SS libdvdcss:
7474 .B DVDCSS_CACHE
7475 Specify a directory in which to store title key values.
7476 This will speed up descrambling of DVDs which are in the cache.
7477 The DVDCSS_CACHE directory is created if it does not exist,
7478 and a subdirectory is created named after the DVD's title
7479 or manufacturing date.
7480 If DVDCSS_CACHE is not set or is empty, libdvdcss will use
7481 the default value which is "${HOME}/.dvdcss/" under Unix and
7482 "C:\\Documents and Settings\\$USER\\Application Data\\dvdcss\\" under Win32.
7483 The special value "off" disables caching.
7486 .B DVDCSS_METHOD
7487 Sets the authentication and decryption method that
7488 libdvdcss will use to read scrambled discs.
7489 Can be one of title, key or disc.
7490 .PD 0
7491 .RSs
7492 .IPs "key\ \ "
7493 is the default method.
7494 libdvdcss will use a set of calculated player keys to try and get the disc key.
7495 This can fail if the drive does not recognize any of the player keys.
7496 .IPs "disc\ "
7497 is a fallback method when key has failed.
7498 Instead of using player keys, libdvdcss will crack the disc key using
7499 a brute force algorithm.
7500 This process is CPU intensive and requires 64 MB of memory to store
7501 temporary data.
7502 .IPs title
7503 is the fallback when all other methods have failed.
7504 It does not rely on a key exchange with the DVD drive, but rather uses
7505 a crypto attack to guess the title key.
7506 On rare cases this may fail because there is not enough encrypted data
7507 on the disc to perform a statistical attack, but in the other hand it
7508 is the only way to decrypt a DVD stored on a hard disc, or a DVD with
7509 the wrong region on an RPC2 drive.
7511 .PD 1
7514 .B DVDCSS_RAW_DEVICE
7515 Specify the raw device to use.
7516 Exact usage will depend on your operating system, the Linux
7517 utility to set up raw devices is raw(8) for instance.
7518 Please note that on most operating systems, using a raw device
7519 requires highly aligned buffers: Linux requires a 2048 bytes
7520 alignment (which is the size of a DVD sector).
7523 .B DVDCSS_VERBOSE
7524 Sets the libdvdcss verbosity level.
7525 .PD 0
7526 .RSs
7527 .IPs 0
7528 Outputs no messages at all.
7529 .IPs 1
7530 Outputs error messages to stderr.
7531 .IPs 2
7532 Outputs error messages and debug messages to stderr.
7534 .PD 1
7537 .B DVDREAD_NOKEYS
7538 Skip retrieving all keys on startup.
7539 Currently disabled.
7542 .B HOME
7543 FIXME: Document this.
7545 .SS libao2:
7548 .B AO_SUN_DISABLE_SAMPLE_TIMING
7549 FIXME: Document this.
7552 .B AUDIODEV
7553 FIXME: Document this.
7556 .B AUDIOSERVER
7557 Specifies the Network Audio System server to which the
7558 nas audio output driver should connect and the transport
7559 that should be used.
7560 If unset DISPLAY is used instead.
7561 The transport can be one of tcp and unix.
7562 Syntax is tcp/<somehost>:<someport>, <somehost>:<instancenumber>
7563 or [unix]:<instancenumber>.
7564 The NAS base port is 8000 and <instancenumber> is added to that.
7565 .sp 1
7567 .I EXAMPLES:
7569 .PD 0
7570 .RSs
7571 .IPs AUDIOSERVER=somehost:0
7572 Connect to NAS server on somehost using default port and transport.
7573 .IPs AUDIOSERVER=tcp/somehost:8000
7574 Connect to NAS server on somehost listening on TCP port 8000.
7575 .IPs AUDIOSERVER=(unix)?:0
7576 Connect to NAS server instance 0 on localhost using unix domain sockets.
7578 .PD 1
7581 .B DISPLAY
7582 FIXME: Document this.
7584 .SS osdep:
7587 .B TERM
7588 FIXME: Document this.
7590 .SS libvo:
7593 .B DISPLAY
7594 FIXME: Document this.
7597 .B FRAMEBUFFER
7598 FIXME: Document this.
7601 .B HOME
7602 FIXME: Document this.
7604 .SS libmpdemux:
7607 .B HOME
7608 FIXME: Document this.
7611 .B HOMEPATH
7612 FIXME: Document this.
7615 .B http_proxy
7616 FIXME: Document this.
7619 .B LOGNAME
7620 FIXME: Document this.
7623 .B USERPROFILE
7624 FIXME: Document this.
7626 .SS GUI:
7629 .B CHARSET
7630 FIXME: Document this.
7633 .B DISPLAY
7634 FIXME: Document this.
7637 .B HOME
7638 FIXME: Document this.
7640 .SS libavformat:
7643 .B AUDIO_FLIP_LEFT
7644 FIXME: Document this.
7647 .B BKTR_DEV
7648 FIXME: Document this.
7651 .B BKTR_FORMAT
7652 FIXME: Document this.
7655 .B BKTR_FREQUENCY
7656 FIXME: Document this.
7659 .B http_proxy
7660 FIXME: Document this.
7663 .B no_proxy
7664 FIXME: Document this.
7668 .\" --------------------------------------------------------------------------
7669 .\" Files
7670 .\" --------------------------------------------------------------------------
7672 .SH FILES
7675 /usr/\:local/\:etc/\:mplayer/\:mplayer.conf
7676 MPlayer system-wide settings
7679 ~/.mplayer/\:config
7680 MPlayer user settings
7683 ~/.mplayer/\:input.conf
7684 input bindings (see '\-input keylist' for the full list)
7687 ~/.mplayer/\:font/
7688 font directory (There must be a font.desc file and files with .RAW extension.)
7691 ~/.mplayer/\:DVDkeys/
7692 cached CSS keys
7694 .PD 1
7697 .\" --------------------------------------------------------------------------
7698 .\" Examples
7699 .\" --------------------------------------------------------------------------
7701 .SH EXAMPLES OF MPLAYER USAGE
7704 .B Quickstart Blu\-ray playing:
7706 mplayer br:////path/to/disc
7707 mplayer br:// \-bluray\-device /path/to/disc
7711 .B Quickstart DVD playing:
7713 mplayer dvd://1
7717 .B Play in Japanese with English subtitles:
7719 mplayer dvd://1 \-alang ja \-slang en
7723 .B Play only chapters 5, 6, 7:
7725 mplayer dvd://1 \-chapter 5\-7
7729 .B Play only titles 5, 6, 7:
7731 mplayer dvd://5\-7
7735 .B Play a multiangle DVD:
7737 mplayer dvd://1 \-dvdangle 2
7741 .B Play from a different DVD device:
7743 mplayer dvd://1 \-dvd\-device /dev/\:dvd2
7747 .B Play DVD video from a directory with VOB files:
7749 mplayer dvd://1 \-dvd\-device /path/\:to/\:directory/
7753 .B Copy a DVD title to hard disk, saving to file "title1.vob":
7755 mplayer dvd://1 \-dumpstream \-dumpfile title1.vob
7759 .B Play a DVD with dvdnav from path /dev/sr1:
7761 mplayer dvdnav:////dev/sr1
7765 .B Stream from HTTP:
7767 mplayer http://mplayer.hq/example.avi
7771 .B Stream using RTSP:
7773 mplayer rtsp://server.example.com/streamName
7777 .B Convert subtitles to MPsub format:
7779 mplayer dummy.avi \-sub source.sub \-dumpmpsub
7783 .B Convert subtitles to MPsub format without watching the movie:
7785 mplayer /dev/\:zero \-rawvideo pal:fps=xx \-demuxer rawvideo \-vc null \-vo null \-noframedrop \-benchmark \-sub source.sub \-dumpmpsub
7789 .B input from standard V4L:
7791 mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 \-vo xv
7795 .B Play DTS-CD with passthrough:
7797 mplayer \-ac hwdts \-rawaudio format=0x2001 \-cdrom\-device /dev/cdrom cdda://
7800 You can also use \-afm hwac3 instead of \-ac hwdts.
7801 Adjust '/dev/cdrom' to match the CD-ROM device on your system.
7802 If your external receiver supports decoding raw DTS streams,
7803 you can directly play it via cdda:// without setting format, hwac3 or hwdts.
7806 .B Play a 6-channel AAC file with only two speakers:
7808 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
7811 You might want to play a bit with the pan values (e.g multiply with a value) to
7812 increase volume or avoid clipping.
7815 .B checkerboard invert with geq filter:
7817 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'
7821 .\" --------------------------------------------------------------------------
7822 .\" Bugs, authors, standard disclaimer
7823 .\" --------------------------------------------------------------------------
7825 .SH AUTHORS
7826 MPlayer was initially written by Arpad Gereoffy.
7827 See the AUTHORS file for a list of some of the many other contributors.
7829 MPlayer is (C) 2000\-2011 The MPlayer Team
7831 This man page was written mainly by Gabucino, Jonas Jermann and Diego Biurrun.
7832 .\" end of file