Rename 'default-binds' input option to 'default-bindings'.
[mplayer/glamo.git] / DOCS / man / en / mplayer.1
blob92c7347fd3e45cb49788c7c6b318cbdf8b13a495
1 .\" $Revision$
2 .\" MPlayer (C) 2000-2009 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-01-05" "The MPlayer Project" "The Movie Player"
36 .SH NAME
37 mplayer  \- movie player
38 .br
39 mencoder \- movie encoder
41 .\" --------------------------------------------------------------------------
42 .\" Synopsis
43 .\" --------------------------------------------------------------------------
45 .SH SYNOPSIS
46 .na
47 .nh
48 .B mplayer
49 [options] [file|URL|playlist|\-]
51 .br
52 .B mplayer
53 [options] file1
54 [specific options] [file2] [specific options]
56 .br
57 .B mplayer
58 [options]
59 {group of files and options}
60 [group-specific options]
62 .br
63 .B mplayer
64 [dvd|dvdnav]://[title|[start_title]\-end_title][/device]
65 [options]
67 .br
68 .B mplayer
69 vcd://track[/device]
71 .br
72 .B mplayer
73 tv://[channel][/input_id]
74 [options]
76 .br
77 .B mplayer
78 radio://[channel|frequency][/capture]
79 [options]
81 .br
82 .B mplayer
83 pvr://
84 [options]
86 .br
87 .B mplayer
88 dvb://[card_number@]channel
89 [options]
91 .br
92 .B mplayer
93 mf://[filemask|@listfile]
94 [\-mf options] [options]
96 .br
97 .B mplayer
98 [cdda|cddb]://track[\-endtrack][:speed][/device]
99 [options]
102 .B mplayer
103 cue://file[:track]
104 [options]
107 .B mplayer
108 [file|mms[t]|http|http_proxy|rt[s]p|ftp|udp|unsv|icyx|noicyx|smb]://
109 [user:pass@]URL[:port] [options]
112 .B mplayer
113 sdp://file
114 [options]
117 .B mplayer
118 mpst://host[:port]/URL
119 [options]
122 .B mplayer
123 tivo://host/[list|llist|fsid]
124 [options]
127 .B gmplayer
128 [options]
129 [\-skin\ skin]
132 .B mencoder
133 [options] file
134 [file|URL|\-] [\-o file | file://file | smb://[user:pass@]host/filepath]
137 .B mencoder
138 [options] file1
139 [specific options] [file2] [specific options]
143 .\" --------------------------------------------------------------------------
144 .\" Description
145 .\" --------------------------------------------------------------------------
147 .SH DESCRIPTION
148 .B mplayer
149 is a movie player for Linux (runs on many other platforms and CPU
150 architectures, see the documentation).
151 It plays most MPEG/\:VOB, AVI, ASF/\:WMA/\:WMV, RM, QT/\:MOV/\:MP4, Ogg/\:OGM,
152 MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many
153 native and binary codecs.
154 You can watch VCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies,
155 too.
157 MPlayer supports a wide range of video and audio output drivers.
158 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, libcaca, DirectFB,
159 Quartz, Mac OS X CoreVideo, but you can also use GGI, SDL (and all their drivers),
160 VESA (on every VESA-compatible card, even without X11), some low-level
161 card-specific drivers (for Matrox, 3dfx and ATI) and some hardware MPEG decoder
162 boards, such as the Siemens DVB, Hauppauge PVR (IVTV), DXR2 and DXR3/\:Hollywood+.
163 Most of them support software or hardware scaling, so you can enjoy movies in
164 fullscreen mode.
166 MPlayer has an onscreen display (OSD) for status information, nice big
167 antialiased shaded subtitles and visual feedback for keyboard controls.
168 European/\:ISO8859-1,2 (Hungarian, English, Czech, etc), Cyrillic and Korean
169 fonts are supported along with 12 subtitle formats (MicroDVD, SubRip, OGM,
170 SubViewer, Sami, VPlayer, RT, SSA, AQTitle, JACOsub, PJS and our own: MPsub) and
171 DVD subtitles (SPU streams, VOBsub and Closed Captions).
173 .B mencoder
174 (MPlayer's Movie Encoder) is a simple movie encoder, designed to encode
175 MPlayer-playable movies (see above) to other MPlayer-playable formats (see
176 below).
177 It encodes to MPEG-4 (DivX/Xvid), one of the libavcodec codecs and
178 PCM/\:MP3/\:VBRMP3 audio in 1, 2 or 3 passes.
179 Furthermore it has stream copying abilities, a powerful filter system (crop,
180 expand, flip, postprocess, rotate, scale, noise, RGB/\:YUV conversion) and
181 more.
183 .B gmplayer
184 is MPlayer with a graphical user interface.
185 It has the same options as MPlayer.
187 Usage examples to get you started quickly can be found at the end
188 of this man page.
190 .B Also see the HTML documentation!
193 .\" --------------------------------------------------------------------------
194 .\" interactive control
195 .\" --------------------------------------------------------------------------
197 .SH "INTERACTIVE CONTROL"
198 MPlayer has a fully configurable, command-driven control layer
199 which allows you to control MPlayer using keyboard, mouse, joystick
200 or remote control (with LIRC).
201 See the \-input option for ways to customize it.
204 .B keyboard control
205 .PD 0
207 .IPs "<\- and \->"
208 Seek backward/\:forward 10 seconds.
209 .IPs "up and down"
210 Seek forward/\:backward 1 minute.
211 .IPs "pgup and pgdown"
212 Seek forward/\:backward 10 minutes.
213 .IPs "[ and ]"
214 Decrease/increase current playback speed by 10%.
215 .IPs "{ and }"
216 Halve/double current playback speed.
217 .IPs "backspace"
218 Reset playback speed to normal.
219 .IPs "< and >"
220 Go backward/\:forward in the playlist.
221 .IPs "ENTER"
222 Go forward in the playlist, even over the end.
223 .IPs "HOME and END"
224 next/\:previous playtree entry in the parent list
225 .IPs "INS and DEL (ASX playlist only)"
226 next/\:previous alternative source.
227 .IPs "p / SPACE"
228 Pause (pressing again unpauses).
229 .IPs ".\ \ \ \ "
230 Step forward.
231 Pressing once will pause movie, every consecutive press will play one frame
232 and then go into pause mode again (any other key unpauses).
233 .IPs "q / ESC"
234 Stop playing and quit.
235 .IPs "U\ \ \ \ "
236 Stop playing (and quit if \-idle is not used).
237 .IPs "+ and \-"
238 Adjust audio delay by +/\- 0.1 seconds.
239 .IPs "/ and *"
240 Decrease/\:increase volume.
241 .IPs "9 and 0"
242 Decrease/\:increase volume.
243 .IPs "( and )"
244 Adjust audio balance in favor of left/\:right channel.
245 .IPs "m\ \ \ \ "
246 Mute sound.
247 .IPs "_ (MPEG-TS, AVI and libavformat only)"
248 Cycle through the available video tracks.
249 .IPs "# (DVD, MPEG, Matroska, AVI and libavformat only)"
250 Cycle through the available audio tracks.
251 .IPs "TAB (MPEG-TS and libavformat only)"
252 Cycle through the available programs.
253 .IPs "f\ \ \ \ "
254 Toggle fullscreen (also see \-fs).
255 .IPs "T\ \ \ \ "
256 Toggle stay-on-top (also see \-ontop).
257 .IPs "w and e"
258 Decrease/\:increase pan-and-scan range.
259 .IPs "o\ \ \ \ "
260 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
261 .IPs "d\ \ \ \ "
262 Toggle frame dropping states: none / skip display / skip decoding
263 (see \-framedrop and \-hardframedrop).
264 .IPs "v\ \ \ \ "
265 Toggle subtitle visibility.
266 .IPs "j\ \ \ \ "
267 Cycle through the available subtitles.
268 .IPs "y and g"
269 Step forward/backward in the subtitle list.
270 .IPs "F\ \ \ \ "
271 Toggle displaying "forced subtitles".
272 .IPs "a\ \ \ \ "
273 Toggle subtitle alignment: top / middle / bottom.
274 .IPs "x and z"
275 Adjust subtitle delay by +/\- 0.1 seconds.
276 .IPs "r and t"
277 Move subtitles up/down.
278 .IPs "i (\-edlout mode only)"
279 Set start or end of an EDL skip and write it out to the given file.
280 .IPs "s (\-vf screenshot only)"
281 Take a screenshot.
282 .IPs "S (\-vf screenshot only)"
283 Start/stop taking screenshots.
284 .IPs "I\ \ \ \ "
285 Show filename on the OSD.
286 .IPs "! and @"
287 Seek to the beginning of the previous/next chapter.
288 .IPs "D (\-vo xvmc, \-vo vdpau, \-vf yadif, \-vf kerndeint only)"
289 Activate/deactivate deinterlacer.
290 .IPs "A"
291 Cycle through the available DVD angles.
293 .PD 1
296 (The following keys are valid only when using a hardware accelerated video
297 output (xv, (x)vidix, (x)mga, etc), the software equalizer
298 (\-vf eq or \-vf eq2) or hue filter (\-vf hue).)
301 .PD 0
303 .IPs "1 and 2"
304 Adjust contrast.
305 .IPs "3 and 4"
306 Adjust brightness.
307 .IPs "5 and 6"
308 Adjust hue.
309 .IPs "7 and 8"
310 Adjust saturation.
312 .PD 1
315 (The following keys are valid only when using the quartz or macosx
316 video output driver.)
319 .PD 0
321 .IPs "command + 0"
322 Resize movie window to half its original size.
323 .IPs "command + 1"
324 Resize movie window to its original size.
325 .IPs "command + 2"
326 Resize movie window to double its original size.
327 .IPs "command + f"
328 Toggle fullscreen (also see \-fs).
329 .IPs "command + [ and command + ]"
330 Set movie window alpha.
332 .PD 1
335 (The following keys are valid only when using the sdl
336 video output driver.)
339 .PD 0
341 .IPs "c\ \ \ \ "
342 Cycle through available fullscreen modes.
343 .IPs "n\ \ \ \ "
344 Restore original mode.
346 .PD 1
349 (The following keys are valid if you have a keyboard
350 with multimedia keys.)
353 .PD 0
355 .IPs PAUSE
356 Pause.
357 .IPs "STOP\ "
358 Stop playing and quit.
359 .IPs "PREVIOUS and NEXT"
360 Seek backward/\:forward 1 minute.
362 .PD 1
365 (The following keys are only valid if GUI support is compiled in
366 and will take precedence over the keys defined above.)
369 .PD 0
371 .IPs ENTER
372 Start playing.
373 .IPs "ESC\ \ "
374 Stop playing.
375 .IPs "l\ \ \ \ "
376 Load file.
377 .IPs "t\ \ \ \ "
378 Load subtitle.
379 .IPs "c\ \ \ \ "
380 Open skin browser.
381 .IPs "p\ \ \ \ "
382 Open playlist.
383 .IPs "r\ \ \ \ "
384 Open preferences.
386 .PD 1
389 (The following keys are only valid if you compiled with TV or DVB input
390 support and will take precedence over the keys defined above.)
393 .PD 0
395 .IPs "h and k"
396 Select previous/\:next channel.
397 .IPs "n\ \ \ \ "
398 Change norm.
399 .IPs "u\ \ \ \ "
400 Change channel list.
402 .PD 1
405 (The following keys are only valid if you compiled with dvdnav
406 support: They are used to navigate the menus.)
409 .PD 0
411 .IPs "keypad 8"
412 Select button up.
413 .IPs "keypad 2"
414 Select button down.
415 .IPs "keypad 4"
416 Select button left.
417 .IPs "keypad 6"
418 Select button right.
419 .IPs "keypad 5"
420 Return to main menu.
421 .IPs "keypad 7"
422 Return to nearest menu (the order of preference is: chapter->title->root).
423 .IPs "keypad ENTER"
424 Confirm choice.
426 .PD 1
430 (The following keys are only valid if teletext support is enabled during
431 compilation: They are used for controlling TV teletext.)
434 .PD 0
436 .IPs "X\ \ \ \ "
437 Switch teletext on/\:off.
438 .IPs "Q and W"
439 Go to next/\:prev teletext page.
441 .PD 1
446 .B mouse control
447 .PD 0
449 .IPs "button 3 and button 4"
450 Seek backward/\:forward 1 minute.
451 .IPs "button 5 and button 6"
452 Decrease/\:increase volume.
454 .PD 1
457 .B joystick control
458 .PD 0
460 .IPs "left and right"
461 Seek backward/\:forward 10 seconds.
462 .IPs "up and down"
463 Seek forward/\:backward 1 minute.
464 .IPs "button 1"
465 Pause.
466 .IPs "button 2"
467 Toggle OSD states: none / seek / seek + timer / seek + timer + total time.
468 .IPs "button 3 and button 4"
469 Decrease/\:increase volume.
471 .PD 1
474 .\" --------------------------------------------------------------------------
475 .\" Usage
476 .\" --------------------------------------------------------------------------
478 .SH "USAGE"
479 Every 'flag' option has a 'noflag' counterpart, e.g.\& the opposite of the
480 \-fs option is \-nofs.
482 If an option is marked as (XXX only), it will only work in combination with
483 the XXX option or if XXX is compiled in.
485 .I NOTE:
486 The suboption parser (used for example for \-ao pcm suboptions) supports
487 a special kind of string-escaping intended for use with external GUIs.
489 It has the following format:
491 %n%string_of_length_n
493 .I EXAMPLES:
495 mplayer \-ao pcm:file=%10%C:test.wav test.avi
497 Or in a script:
499 mplayer \-ao pcm:file=%`expr length "$NAME"`%"$NAME" test.avi
502 .\" --------------------------------------------------------------------------
503 .\" Configuration files
504 .\" --------------------------------------------------------------------------
506 .SH "CONFIGURATION FILES"
507 You can put all of the options in configuration files which will be read
508 every time MPlayer/MEncoder is run.
509 The system-wide configuration file 'mplayer.conf' is in your configuration
510 directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the user
511 specific one is '~/\:.mplayer/\:config'.
512 The configuration file for MEncoder is 'mencoder.conf' in your configuration
513 directory (e.g.\& /etc/\:mplayer or /usr/\:local/\:etc/\:mplayer), the
514 user specific one is '~/\:.mplayer/\:mencoder.conf'.
515 User specific options override system-wide options and options given on the
516 command line override either.
517 The syntax of the configuration files is 'option=<value>', everything after
518 a '#' is considered a comment.
519 Options that work without values can be enabled by setting them to 'yes'
520 or '1' or 'true' and disabled by setting them to 'no' or '0' or 'false'.
521 Even suboptions can be specified in this way.
523 You can also write file-specific configuration files.
524 If you wish to have a configuration file for a file called 'movie.avi', create a file
525 named 'movie.avi.conf' with the file-specific options in it and put it in
526 ~/.mplayer/.
527 You can also put the configuration file in the same directory as the file to
528 be played, as long as you give the \-use\-filedir\-conf option (either on the
529 command line or in your global config file).
531 .I EXAMPLE MPLAYER CONFIGURATION FILE:
532 .sp 1
534 # Use Matrox driver by default.
535 vo=xmga
536 # I love practicing handstands while watching videos.
537 flip=yes
538 # Decode/encode multiple files from PNG,
539 # start with mf://filemask
540 mf=type=png:fps=25
541 # Eerie negative images are cool.
542 vf=eq2=1.0:\-0.8
545 .I "EXAMPLE MENCODER CONFIGURATION FILE:"
546 .sp 1
548 # Make MEncoder output to a default filename.
549 o=encoded.avi
550 # The next 4 lines allow mencoder tv:// to start capturing immediately.
551 oac=pcm=yes
552 ovc=lavc=yes
553 lavcopts=vcodec=mjpeg
554 tv=driver=v4l2:input=1:width=768:height=576:device=/dev/video0:audiorate=48000
555 # more complex default encoding option set
556 lavcopts=vcodec=mpeg4:autoaspect=1
557 lameopts=aq=2:vbr=4
558 ovc=lavc=1
559 oac=lavc=1
560 passlogfile=pass1stats.log
561 noautoexpand=1
562 subfont-autoscale=3
563 subfont-osd-scale=6
564 subfont-text-scale=4
565 subalign=2
566 subpos=96
567 spuaa=20
570 .\" --------------------------------------------------------------------------
571 .\" Profiles
572 .\" --------------------------------------------------------------------------
574 .SH "PROFILES"
575 To ease working with different configurations profiles can be defined in the
576 configuration files.
577 A profile starts with its name between square brackets, e.g.\& '[my-profile]'.
578 All following options will be part of the profile.
579 A description (shown by \-profile help) can be defined with the profile-desc
580 option.
581 To end the profile, start another one or use the profile name 'default'
582 to continue with normal options.
585 .I "EXAMPLE MPLAYER PROFILE:"
586 .sp 1
589 [protocol.dvd]
590 profile-desc="profile for dvd:// streams"
591 vf=pp=hb/vb/dr/al/fd
592 alang=en
594 [protocol.dvdnav]
595 profile-desc="profile for dvdnav:// streams"
596 profile=protocol.dvd
597 mouse-movements=yes
598 nocache=yes
600 [extension.flv]
601 profile-desc="profile for .flv files"
602 flip=yes
604 [vo.pnm]
605 outdir=/tmp
607 [ao.alsa]
608 device=spdif
611 .I "EXAMPLE MENCODER PROFILE:"
612 .sp 1
615 [mpeg4]
616 profile-desc="MPEG4 encoding"
617 ovc=lacv=yes
618 lavcopts=vcodec=mpeg4:vbitrate=1200
620 [mpeg4\-hq]
621 profile-desc="HQ MPEG4 encoding"
622 profile=mpeg4
623 lavcopts=mbd=2:trell=yes:v4mv=yes
626 .\" --------------------------------------------------------------------------
627 .\" Options
628 .\" --------------------------------------------------------------------------
630 .SH "GENERAL OPTIONS"
633 .B \-codecs\-file <filename> (also see \-afm, \-ac, \-vfm, \-vc)
634 Override the standard search path and use the specified file
635 instead of the builtin codecs.conf.
638 .B \-include <configuration file>
639 Specify configuration file to be parsed after the default ones.
642 .B \-list\-options
643 Prints all available options.
646 .B \-msgcharset <charset>
647 Convert console messages to the specified character set (default: autodetect).
648 Text will be in the encoding specified with the \-\-charset configure option.
649 Set this to "noconv" to disable conversion (for e.g.\& iconv problems).
651 .I NOTE:
652 The option takes effect after command line parsing has finished.
653 The MPLAYER_CHARSET environment variable can help you get rid of
654 the first lines of garbled output.
657 .B \-msgcolor
658 Enable colorful console output on terminals that support ANSI color.
661 .B \-msglevel <all=<level>:<module>=<level>:...>
662 Control verbosity directly for each module.
663 The 'all' module changes the verbosity of all the modules not
664 explicitly specified on the command line.
665 See '\-msglevel help' for a list of all modules.
667 .I NOTE:
668 Some messages are printed before the command line is parsed and are
669 therefore not affected by \-msglevel.
670 To control these messages you have to use the MPLAYER_VERBOSE environment
671 variable, see its description below for details.
673 Available levels:
674 .PD 0
675 .RSs
676 .IPs "\-1"
677 complete silence
678 .IPs " 0"
679 fatal messages only
680 .IPs " 1"
681 error messages
682 .IPs " 2"
683 warning messages
684 .IPs " 3"
685 short hints
686 .IPs " 4"
687 informational messages
688 .IPs " 5"
689 status messages (default)
690 .IPs " 6"
691 verbose messages
692 .IPs " 7"
693 debug level 2
694 .IPs " 8"
695 debug level 3
696 .IPs " 9"
697 debug level 4
699 .PD 1
702 .B \-msgmodule
703 Prepend module name in front of each console message.
706 .B \-noconfig <options>
707 Do not parse selected configuration files.
709 .I NOTE:
710 If \-include or \-use\-filedir\-conf options are
711 specified at the command line, they will be honoured.
712 .sp 1
713 Available options are:
714 .PD 0
715 .RSs
716 .IPs "all\ \ "
717 all configuration files
718 .IPs "gui (GUI only)"
719 GUI configuration file
720 .IPs system
721 system configuration file
722 .IPs "user\ "
723 user configuration file
725 .PD 1
728 .B "\-quiet\ "
729 Make console output less verbose; in particular, prevents the status line
730 (i.e.\& A:   0.7 V:   0.6 A-V:  0.068 ...) from being displayed.
731 Particularly useful on slow terminals or broken ones which do not properly
732 handle carriage return (i.e.\& \\r).
735 .B \-priority <prio> (Windows and OS/2 only)
736 Set process priority for MPlayer according to the predefined
737 priorities available under Windows and OS/2.
738 Possible values of <prio>:
739 .RSs
740 idle|belownormal|normal|abovenormal|high|realtime
742 .sp 1
744 .I WARNING:
745 Using realtime priority can cause system lockup.
749 .B \-profile <profile1,profile2,...>
750 Use the given profile(s), \-profile help displays a list of the defined profiles.
753 .B \-really\-quiet (also see \-quiet)
754 Display even less output and status messages than with \-quiet.
755 Also suppresses the GUI error message boxes.
758 .B \-show\-profile <profile>
759 Show the description and content of a profile.
762 .B \-use\-filedir\-conf
763 Look for a file-specific configuration file in the same directory as
764 the file that is being played.
766 .I WARNING:
767 May be dangerous if playing from untrusted media.
770 .B "\-v\ \ \ \ \ "
771 Increment verbosity level, one level for each \-v
772 found on the command line.
776 .SH "PLAYER OPTIONS (MPLAYER ONLY)"
779 .B \-autoq <quality> (use with \-vf [s]pp)
780 Dynamically changes the level of postprocessing depending on the available spare
781 CPU time.
782 The number you specify will be the maximum level used.
783 Usually you can use some big number.
784 You have to use \-vf [s]pp without parameters in order for this to work.
787 .B \-autosync <factor>
788 Gradually adjusts the A/V sync based on audio delay measurements.
789 Specifying \-autosync 0, the default, will cause frame timing to be based
790 entirely on audio delay measurements.
791 Specifying \-autosync 1 will do the same, but will subtly change the A/V
792 correction algorithm.
793 An uneven video framerate in a movie which plays fine with \-nosound can
794 often be helped by setting this to an integer value greater than 1.
795 The higher the value, the closer the timing will be to \-nosound.
796 Try \-autosync 30 to smooth out problems with sound drivers which do
797 not implement a perfect audio delay measurement.
798 With this value, if large A/V sync offsets occur, they will only take about
799 1 or 2 seconds to settle out.
800 This delay in reaction time to sudden A/V offsets should be the only
801 side-effect of turning this option on, for all sound drivers.
804 .B \-benchmark
805 Prints some statistics on CPU usage and dropped frames at the end of playback.
806 Use in combination with \-nosound and \-vo null for benchmarking only the
807 video codec.
809 .I NOTE:
810 With this option MPlayer will also ignore frame duration when playing
811 only video (you can think of that as infinite fps).
814 .B \-colorkey <number>
815 Changes the colorkey to an RGB value of your choice.
816 0x000000 is black and 0xffffff is white.
817 Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix,
818 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
819 drivers.
822 .B \-nocolorkey
823 Disables colorkeying.
824 Only supported by the cvidix, fbdev, svga, vesa, winvidix, xmga, xvidix,
825 xover, xv (see \-vo xv:ck), xvmc (see \-vo xv:ck) and directx video output
826 drivers.
829 .B \-correct\-pts (EXPERIMENTAL)
830 Switches MPlayer to an experimental mode where timestamps for video frames
831 are calculated differently and video filters which add new frames or
832 modify timestamps of existing ones are supported.
833 The more accurate timestamps can be visible for example when playing
834 subtitles timed to scene changes with the \-ass option.
835 Without \-correct\-pts the subtitle timing will typically be off by some frames.
836 This option does not work correctly with some demuxers and codecs.
839 .B \-crash\-debug (DEBUG CODE)
840 Automatically attaches gdb upon crash or SIGTRAP.
841 Support must be compiled in by configuring with \-\-enable\-crash\-debug.
844 .B \-doubleclick\-time
845 Time in milliseconds to recognize two consecutive button presses as
846 a double-click (default: 300).
847 Set to 0 to let your windowing system decide what a double-click is
848 (\-vo directx only).
850 .I NOTE:
851 You will get slightly different behaviour depending on whether you bind
852 MOUSE_BTN0_DBL or MOUSE_BTN0\-MOUSE_BTN0_DBL.
855 .B \-edlout <filename>
856 Creates a new file and writes edit decision list (EDL) records to it.
857 During playback, the user hits 'i' to mark the start or end of a skip block.
858 This provides a starting point from which the user can fine-tune EDL entries
859 later.
860 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details.
863 .B \-enqueue (GUI only)
864 Enqueue files given on the command line in the playlist instead of playing them
865 immediately.
868 .B \-fixed\-vo
869 Enforces a fixed video system for multiple files (one (un)initialization for
870 all files).
871 Therefore only one window will be opened for all files.
872 Currently the following drivers are fixed-vo compliant: gl, gl2, mga, svga, x11,
873 xmga, xv, xvidix and dfbmga.
876 .B \-framedrop (also see \-hardframedrop, experimental without \-nocorrect\-pts)
877 Skip displaying some frames to maintain A/V sync on slow systems.
878 Video filters are not applied to such frames.
879 For B-frames even decoding is skipped completely.
882 .B \-(no)gui
883 Enable or disable the GUI interface (default depends on binary name).
884 Only works as the first argument on the command line.
885 Does not work as a config-file option.
888 .B \-h, \-help, \-\-help
889 Show short summary of options.
892 .B \-hardframedrop (experimental without \-nocorrect\-pts)
893 More intense frame dropping (breaks decoding).
894 Leads to image distortion!
895 Note that especially the libmpeg2 decoder may crash with this,
896 so consider using "\-vc ffmpeg12,".
899 .B \-heartbeat\-cmd
900 Command that is executed every 30 seconds during playback via system() -
901 i.e.\& using the shell.
902 .sp 1
903 .I NOTE:
904 MPlayer uses this command without any checking, it is your responsibility
905 to ensure it does not cause security problems (e.g.\& make sure to use full
906 paths if "." is in your path like on Windows).
907 It also only works when playing video (i.e.\& not with \-novideo but works with \-vo null).
908 .sp 1
909 This can be "misused" to disable screensavers that do not support the proper
910 X API (also see \-stop\-xscreensaver).
911 If you think this is too complicated, ask the author of the screensaver
912 program to support the proper X APIs.
913 .sp 1
914 .I EXAMPLE for xscreensaver:
915 mplayer \-heartbeat\-cmd "xscreensaver\-command \-deactivate" file
916 .sp 1
917 .I EXAMPLE for GNOME screensaver:
918 mplayer \-heartbeat\-cmd "gnome\-screensaver\-command \-p" file
920 .PD 1
923 .B \-identify
924 Shorthand for \-msglevel identify=4.
925 Show file parameters in an easily parseable format.
926 Also prints more detailed information about subtitle and audio
927 track languages and IDs.
928 In some cases you can get more information by using \-msglevel identify=6.
929 For example, for a DVD it will list the chapters and time length of each title,
930 as well as a disk ID.
931 Combine this with \-frames 0 to suppress all output.
932 The wrapper script TOOLS/\:midentify.sh suppresses the other MPlayer output and
933 (hopefully) shellescapes the filenames.
936 .B \-idle (also see \-slave)
937 Makes MPlayer wait idly instead of quitting when there is no file to play.
938 Mostly useful in slave mode where MPlayer can be controlled
939 through input commands.
942 .B \-input <commands>
943 This option can be used to configure certain parts of the input system.
944 Paths are relative to ~/.mplayer/.
946 .I NOTE:
947 Autorepeat is currently only supported by joysticks.
948 .sp 1
949 Available commands are:
950 .sp 1
951 .PD 0
952 .RSs
953 .IPs conf=<filename>
954 Specify input configuration file other than the default
955 ~/\:.mplayer/\:input.conf.
956 ~/\:.mplayer/\:<filename> is assumed if no full path is given.
957 .IPs ar-dev=<device>
958 Device to be used for Apple IR Remote (default is autodetected, Linux only).
959 .IPs ar-delay
960 Delay in milliseconds before we start to autorepeat a key (0 to disable).
961 .IPs ar-rate
962 Number of key presses to generate per second on autorepeat.
963 .IPs (no)default-bindings
964 Use the key bindings that MPlayer ships with by default.
965 .IPs keylist
966 Prints all keys that can be bound to commands.
967 .IPs cmdlist
968 Prints all commands that can be bound to keys.
969 .IPs js-dev
970 Specifies the joystick device to use (default: /dev/\:input/\:js0).
971 .IPs file=<filename>
972 Read commands from the given file.
973 Mostly useful with a FIFO.
975 .I NOTE:
976 When the given file is a FIFO MPlayer opens both ends so you can do
977 several 'echo "seek 10" > mp_pipe' and the pipe will stay valid.
979 .PD 1
982 .B \-key\-fifo\-size <2\-65000>
983 Specify the size of the FIFO that buffers key events (default: 7).
984 A FIFO of size n can buffer (n\-1) events.
985 If it is too small some events may be lost
986 (leading to "stuck mouse buttons" and similar effects).
987 If it is too big, MPlayer may seem to hang while it
988 processes the buffered events.
989 To get the same behavior as before this option was introduced,
990 set it to 2 for Linux or 1024 for Windows.
993 .B \-lircconf <filename> (LIRC only)
994 Specifies a configuration file for LIRC (default: ~/.lircrc).
997 .B \-list\-properties
998 Print a list of the available properties.
1001 .B \-loop <number>
1002 Loops movie playback <number> times.
1003 0 means forever.
1006 .B \-menu (OSD menu only)
1007 Turn on OSD menu support.
1010 .B \-menu\-cfg <filename> (OSD menu only)
1011 Use an alternative menu.conf.
1014 .B \-menu\-chroot <path> (OSD menu only)
1015 Chroot the file selection menu to a specific location.
1016 .sp 1
1017 .I EXAMPLE:
1018 .PD 0
1019 .RSs
1020 .IPs "\-menu\-chroot /home"
1021 Will restrict the file selection menu to /\:home and downward (i.e.\& no
1022 access to / will be possible, but /home/user_name will).
1024 .PD 1
1027 .B \-menu\-keepdir (OSD menu only)
1028 File browser starts from the last known location instead of current directory.
1031 .B \-menu\-root <value> (OSD menu only)
1032 Specify the main menu.
1035 .B \-menu\-startup (OSD menu only)
1036 Display the main menu at MPlayer startup.
1039 .B \-mouse\-movements
1040 Permit MPlayer to receive pointer events reported by the video
1041 output driver.
1042 Necessary to select the buttons in DVD menus.
1043 Supported for X11 based VOs (x11, xv, xvmc, etc.) and the gl, gl2, direct3d and
1044 macosx VOs.
1047 .B \-noar
1048 Turns off AppleIR remote support.
1051 .B \-noconsolecontrols
1052 Prevent MPlayer from reading key events from standard input.
1053 Useful when reading data from standard input.
1054 This is automatically enabled when \- is found on the command line.
1055 There are situations where you have to set it manually, e.g.\&
1056 if you open /dev/\:stdin (or the equivalent on your system), use stdin
1057 in a playlist or intend to read from stdin later on via the loadfile or
1058 loadlist slave commands.
1061 .B \-nojoystick
1062 Turns off joystick support.
1065 .B \-nolirc
1066 Turns off LIRC support.
1069 .B \-nomouseinput
1070 Disable mouse button press/\:release input (mozplayerxp's context menu relies
1071 on this option).
1074 .B \-rtc (RTC only)
1075 Turns on usage of the Linux RTC (realtime clock \- /dev/\:rtc) as timing
1076 mechanism.
1077 This wakes up the process every 1/1024 seconds to check the current time.
1078 Useless with modern Linux kernels configured for desktop use as they already
1079 wake up the process with similar accuracy when using normal timed sleep.
1082 .B \-playing\-msg <string>
1083 Print out a string before starting playback.
1084 The following expansions are supported:
1085 .RSs
1086 .IPs ${NAME}
1087 Expand to the value of the property NAME.
1088 .IPs ?(NAME:TEXT)
1089 Expand TEXT only if the property NAME is available.
1090 .IPs ?(!NAME:TEXT)
1091 Expand TEXT only if the property NAME is not available.
1095 .B \-playlist <filename>
1096 Play files according to a playlist file (ASX, Winamp, SMIL, or
1097 one-file-per-line format).
1099 .I NOTE:
1100 This option is considered an entry so options found after it will apply
1101 only to the elements of this playlist.
1103 FIXME: This needs to be clarified and documented thoroughly.
1106 .B \-rtc\-device <device>
1107 Use the specified device for RTC timing.
1110 .B \-shuffle
1111 Play files in random order.
1114 .B \-skin <name> (GUI only)
1115 Loads a skin from the directory given as parameter below the default skin
1116 directories, /usr/\:local/\:share/\:mplayer/\:skins/\: and ~/.mplayer/\:skins/.
1117 .sp 1
1118 .I EXAMPLE:
1119 .PD 0
1120 .RSs
1121 .IPs "\-skin fittyfene"
1122 Tries /usr/\:local/\:share/\:mplayer/\:skins/\:fittyfene
1123 and afterwards ~/.mplayer/\:skins/\:fittyfene.
1125 .PD 1
1128 .B \-slave (also see \-input)
1129 Switches on slave mode, in which MPlayer works as a backend for other programs.
1130 Instead of intercepting keyboard events, MPlayer will read commands separated
1131 by a newline (\\n) from stdin.
1133 .I NOTE:
1134 See \-input cmdlist for a list of slave commands and DOCS/tech/slave.txt
1135 for their description.
1136 Also, this is not intended to disable other inputs, e.g.\& via the video window,
1137 use some other method like \-input nodefault\-binds:conf=/dev/null for that.
1140 .B \-softsleep
1141 Time frames by repeatedly checking the current time instead of asking the
1142 kernel to wake up MPlayer at the correct time.
1143 Useful if your kernel timing is imprecise and you cannot use the RTC either.
1144 Comes at the price of higher CPU consumption.
1147 .B \-sstep <sec>
1148 Skip <sec> seconds after every frame.
1149 The normal framerate of the movie is kept, so playback is accelerated.
1150 Since MPlayer can only seek to the next keyframe this may be inexact.
1154 .SH "DEMUXER/STREAM OPTIONS"
1157 .B \-a52drc <level>
1158 Select the Dynamic Range Compression level for AC-3 audio streams.
1159 <level> is a float value ranging from 0 to 1, where 0 means no compression
1160 and 1 (which is the default) means full compression (make loud passages more
1161 silent and vice versa).
1162 This option only shows an effect if the AC-3 stream contains the required range
1163 compression information.
1166 .B \-aid <ID> (also see \-alang)
1167 Select audio channel (MPEG: 0\-31, AVI/\:OGM: 1\-99, ASF/\:RM: 0\-127,
1168 VOB(AC-3): 128\-159, VOB(LPCM): 160\-191, MPEG-TS 17\-8190).
1169 MPlayer prints the available audio IDs when run in verbose (\-v) mode.
1170 When playing an MPEG-TS stream, MPlayer/\:MEncoder will use the first program
1171 (if present) with the chosen audio stream.
1174 .B \-ausid <ID> (also see \-alang)
1175 Select audio substream channel.
1176 Currently the valid range is 0x55..0x75 and applies only to MPEG-TS when handled
1177 by the native demuxer (not by libavformat).
1178 The format type may not be correctly identified because of how this information
1179 (or lack thereof) is embedded in the stream, but it will demux correctly the
1180 audio streams when multiple substreams are present.
1181 MPlayer prints the available substream IDs when run with \-identify.
1184 .B \-alang <language code[,language code,...]> (also see \-aid)
1185 Specify a priority list of audio languages to use.
1186 Different container formats employ different language codes.
1187 DVDs use ISO 639-1 two letter language codes, Matroska, MPEG-TS and NUT
1188 use ISO 639-2 three letter language codes while OGM uses a free-form identifier.
1189 MPlayer prints the available languages when run in verbose (\-v) mode.
1190 .sp 1
1191 .I EXAMPLE:
1192 .PD 0
1193 .RSs
1194 .IPs "mplayer dvd://1 \-alang hu,en"
1195 Chooses the Hungarian language track on a DVD and falls back on English if
1196 Hungarian is not available.
1197 .IPs "mplayer \-alang jpn example.mkv"
1198 Plays a Matroska file in Japanese.
1200 .PD 1
1203 .B \-audio\-demuxer <[+]name> (\-audiofile only)
1204 Force audio demuxer type for \-audiofile.
1205 Use a '+' before the name to force it, this will skip some checks!
1206 Give the demuxer name as printed by \-audio\-demuxer help.
1207 For backward compatibility it also accepts the demuxer ID as defined in
1208 libmpdemux/\:demuxer.h.
1209 \-audio\-demuxer audio or \-audio\-demuxer 17 forces MP3.
1212 .B \-audiofile <filename>
1213 Play audio from an external file (WAV, MP3 or Ogg Vorbis) while viewing a
1214 movie.
1217 .B \-audiofile\-cache <kBytes>
1218 Enables caching for the stream used by \-audiofile, using the specified
1219 amount of memory.
1222 .B \-reuse\-socket (udp:// only)
1223 Allows a socket to be reused by other processes as soon as it is closed.
1226 .B \-bandwidth <value> (network only)
1227 Specify the maximum bandwidth for network streaming (for servers that are
1228 able to send content in different bitrates).
1229 Useful if you want to watch live streamed media behind a slow connection.
1230 With Real RTSP streaming, it is also used to set the maximum delivery
1231 bandwidth allowing faster cache filling and stream dumping.
1234 .B \-cache <kBytes>
1235 This option specifies how much memory (in kBytes) to use when precaching a
1236 file or URL.
1237 Especially useful on slow media.
1240 .B \-nocache
1241 Turns off caching.
1244 .B \-cache\-min <percentage>
1245 Playback will start when the cache has been filled up to <percentage>
1246 of the total.
1249 .B \-cache\-seek\-min <percentage>
1250 If a seek is to be made to a position within <percentage> of the cache size
1251 from the current position, MPlayer will wait for the cache to be filled to
1252 this position rather than performing a stream seek (default: 50).
1255 .B \-cdda <option1:option2> (CDDA only)
1256 This option can be used to tune the CD Audio reading feature of MPlayer.
1257 .sp 1
1258 Available options are:
1259 .RSs
1260 .IPs speed=<value>
1261 Set CD spin speed.
1262 .IPs paranoia=<0\-2>
1263 Set paranoia level.
1264 Values other than 0 seem to break playback of anything but the first track.
1265 .RSss
1266 0: disable checking (default)
1268 1: overlap checking only
1270 2: full data correction and verification
1271 .REss
1272 .IPs generic-dev=<value>
1273 Use specified generic SCSI device.
1274 .IPs sector-size=<value>
1275 Set atomic read size.
1276 .IPs overlap=<value>
1277 Force minimum overlap search during verification to <value> sectors.
1278 .IPs toc-bias
1279 Assume that the beginning offset of track 1 as reported in the TOC will be
1280 addressed as LBA 0.
1281 Some Toshiba drives need this for getting track boundaries correct.
1282 .IPs toc-offset=<value>
1283 Add <value> sectors to the values reported when addressing tracks.
1284 May be negative.
1285 .IPs (no)skip
1286 (Never) accept imperfect data reconstruction.
1290 .B \-cdrom\-device <path to device>
1291 Specify the CD-ROM device (default: /dev/\:cdrom).
1294 .B \-channels <number> (also see \-af channels)
1295 Request the number of playback channels (default: 2).
1296 MPlayer asks the decoder to decode the audio into as many channels as
1297 specified.
1298 Then it is up to the decoder to fulfill the requirement.
1299 This is usually only important when playing videos with AC-3 audio (like DVDs).
1300 In that case liba52 does the decoding by default and correctly downmixes the
1301 audio into the requested number of channels.
1302 To directly control the number of output channels independently of how many
1303 channels are decoded, use the channels filter.
1305 .I NOTE:
1306 This option is honored by codecs (AC-3 only), filters (surround) and audio
1307 output drivers (OSS at least).
1308 .sp 1
1309 Available options are:
1310 .sp 1
1311 .PD 0
1312 .RSs
1313 .IPs 2
1314 stereo
1315 .IPs 4
1316 surround
1317 .IPs 6
1318 full 5.1
1320 .PD 1
1323 .B \-chapter <chapter ID>[\-<endchapter ID>] (dvd:// and dvdnav:// only)
1324 Specify which chapter to start playing at.
1325 Optionally specify which chapter to end playing at (default: 1).
1328 .B \-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.
1342 Note that this is the exact opposite of the \-audio\-delay MEncoder option.
1344 .I NOTE:
1345 When used with MEncoder, this is not guaranteed to work correctly
1346 with \-ovc copy; use \-audio\-delay instead.
1349 .B \-ignore\-start
1350 Ignore the specified starting time for streams in AVI files.
1351 In MPlayer, this nullifies stream delays in files encoded with
1352 the \-audio\-delay option.
1353 During encoding, this option prevents MEncoder from transferring
1354 original stream start times to the new file; the \-audio\-delay option is
1355 not affected.
1356 Note that MEncoder sometimes adjusts stream starting times
1357 automatically to compensate for anticipated decoding delays, so do not
1358 use this option for encoding without testing it first.
1361 .B \-demuxer <[+]name>
1362 Force demuxer type.
1363 Use a '+' before the name to force it, this will skip some checks!
1364 Give the demuxer name as printed by \-demuxer help.
1365 For backward compatibility it also accepts the demuxer ID as defined in
1366 libmpdemux/\:demuxer.h.
1369 .B \-dumpaudio (MPlayer only)
1370 Dumps raw compressed audio stream to ./stream.dump (useful with MPEG/\:AC-3,
1371 in most other cases the resulting file will not be playable).
1372 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1373 on the command line only the last one will work.
1376 .B \-dumpfile <filename> (MPlayer only)
1377 Specify which file MPlayer should dump to.
1378 Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream.
1381 .B \-dumpstream (MPlayer only)
1382 Dumps the raw stream to ./stream.dump.
1383 Useful when ripping from DVD or network.
1384 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1385 on the command line only the last one will work.
1388 .B \-dumpvideo (MPlayer only)
1389 Dump raw compressed video stream to ./stream.dump (not very usable).
1390 If you give more than one of \-dumpaudio, \-dumpvideo, \-dumpstream
1391 on the command line only the last one will work.
1394 .B \-dvbin <options> (DVB only)
1395 Pass the following parameters to the DVB input module, in order to override
1396 the default ones:
1397 .sp 1
1398 .PD 0
1399 .RSs
1400 .IPs card=<1\-4>
1401 Specifies using card number 1\-4 (default: 1).
1402 .IPs file=<filename>
1403 Instructs MPlayer to read the channels list from <filename>.
1404 Default is ~/.mplayer/\:channels.conf.{sat,ter,cbl,atsc} (based on your card type)
1405 or ~/.mplayer/\:channels.conf as a last resort.
1406 .IPs timeout=<1\-30>
1407 Maximum number of seconds to wait when trying to tune a
1408 frequency before giving up (default: 30).
1410 .PD 1
1413 .B \-dvd\-device <path to device> (DVD only)
1414 Specify the DVD device or .iso filename (default: /dev/\:dvd).
1415 You can also specify a directory that contains files previously copied directly
1416 from a DVD (with e.g.\& vobcopy).
1419 .B \-dvd\-speed <factor or speed in KB/s> (DVD only)
1420 Try to limit DVD speed (default: 0, no change).
1421 DVD base speed is about 1350KB/s, so a 8x drive can read at speeds up to
1422 10800KB/s.
1423 Slower speeds make the drive more quiet, for watching DVDs 2700KB/s should be
1424 quiet and fast enough.
1425 MPlayer resets the speed to the drive default value on close.
1426 Values less than 100 mean multiples of 1350KB/s, i.e.\& \-dvd\-speed 8 selects
1427 10800KB/s.
1429 .I NOTE:
1430 You need write access to the DVD device to change the speed.
1433 .B \-dvdangle <angle ID> (DVD only)
1434 Some DVD discs contain scenes that can be viewed from multiple angles.
1435 Here you can tell MPlayer which angles to use (default: 1).
1438 .B \-edl <filename>
1439 Enables edit decision list (EDL) actions during playback.
1440 Video will be skipped over and audio will be muted and unmuted according to
1441 the entries in the given file.
1442 See http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:edl.html for details
1443 on how to use this.
1446 .B \-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see \-ss and \-sb)
1447 Stop at given time or byte position.
1449 .I NOTE:
1450 Byte position is enabled only for MEncoder and will not be accurate, as it can
1451 only stop at a frame boundary.
1452 When used in conjunction with \-ss option, \-endpos time will shift forward by
1453 seconds specified with \-ss.
1454 .sp 1
1455 .I EXAMPLE:
1456 .PD 0
1457 .RSs
1458 .IPs "\-endpos 56"
1459 Stop at 56 seconds.
1460 .IPs "\-endpos 01:10:00"
1461 Stop at 1 hour 10 minutes.
1462 .IPs "\-ss 10 \-endpos 56"
1463 Stop at 1 minute 6 seconds.
1464 .IPs "\-endpos 100mb"
1465 Encode only 100 MB.
1467 .PD 1
1470 .B \-forceidx
1471 Force index rebuilding.
1472 Useful for files with broken index (A/V desync, etc).
1473 This will enable seeking in files where seeking was not possible.
1474 You can fix the index permanently with MEncoder (see the documentation).
1476 .I NOTE:
1477 This option only works if the underlying media supports seeking
1478 (i.e.\& not with stdin, pipe, etc).
1481 .B \-fps <float value>
1482 Override video framerate.
1483 Useful if the original value is wrong or missing.
1486 .B \-frames <number>
1487 Play/\:convert only first <number> frames, then quit.
1490 .B \-hr\-mp3\-seek (MP3 only)
1491 Hi-res MP3 seeking.
1492 Enabled when playing from an external MP3 file, as we need to seek
1493 to the very exact position to keep A/V sync.
1494 Can be slow especially when seeking backwards since it has to rewind
1495 to the beginning to find an exact frame position.
1498 .B \-idx (also see \-forceidx)
1499 Rebuilds index of files if no index was found, allowing seeking.
1500 Useful with broken/\:incomplete downloads, or badly created files.
1502 .I NOTE:
1503 This option only works if the underlying media supports seeking
1504 (i.e.\& not with stdin, pipe, etc).
1507 .B \-noidx
1508 Skip rebuilding index file.
1509 MEncoder skips writing the index with this option.
1512 .B \-ipv4\-only\-proxy (network only)
1513 Skip the proxy for IPv6 addresses.
1514 It will still be used for IPv4 connections.
1517 .B \-loadidx <index file>
1518 The file from which to read the video index data saved by \-saveidx.
1519 This index will be used for seeking, overriding any index data
1520 contained in the AVI itself.
1521 MPlayer will not prevent you from loading an index file generated
1522 from a different AVI, but this is sure to cause unfavorable results.
1524 .I NOTE:
1525 This option is obsolete now that MPlayer has OpenDML support.
1528 .B \-mc <seconds/frame>
1529 maximum A-V sync correction per frame (in seconds)
1532 .B \-mf <option1:option2:...>
1533 Used when decoding from multiple PNG or JPEG files.
1534 .sp 1
1535 Available options are:
1536 .sp 1
1537 .PD 0
1538 .RSs
1539 .IPs w=<value>
1540 input file width (default: autodetect)
1541 .IPs h=<value>
1542 input file height (default: autodetect)
1543 .IPs fps=<value>
1544 output fps (default: 25)
1545 .IPs type=<value>
1546 input file type (available: jpeg, png, tga, sgi)
1548 .PD 1
1551 .B \-ni (AVI only)
1552 Force usage of non-interleaved AVI parser (fixes playback
1553 of some bad AVI files).
1556 .B \-nobps (AVI only)
1557 Do not use average byte/\:second value for A-V sync.
1558 Helps with some AVI files with broken header.
1561 .B \-noextbased
1562 Disables extension-based demuxer selection.
1563 By default, when the file type (demuxer) cannot be detected reliably
1564 (the file has no header or it is not reliable enough), the filename
1565 extension is used to select the demuxer.
1566 Always falls back on content-based demuxer selection.
1569 .B \-passwd <password> (also see \-user) (network only)
1570 Specify password for HTTP authentication.
1573 .B \-prefer\-ipv4 (network only)
1574 Use IPv4 on network connections.
1575 Falls back on IPv6 automatically.
1578 .B \-prefer\-ipv6 (IPv6 network only)
1579 Use IPv6 on network connections.
1580 Falls back on IPv4 automatically.
1583 .B \-psprobe <byte position>
1584 When playing an MPEG-PS or MPEG-PES streams, this option lets you specify
1585 how many bytes in the stream you want MPlayer to scan in order to identify
1586 the video codec used.
1587 This option is needed to play EVO or VDR files containing H.264 streams.
1590 .B \-pvr <option1:option2:...> (PVR only)
1591 This option tunes various encoding properties of the PVR capture module.
1592 It has to be used with any hardware MPEG encoder based card supported by the
1593 V4L2 driver.
1594 The Hauppauge WinTV PVR\-150/250/350/500 and all IVTV based
1595 cards are known as PVR capture cards.
1596 Be aware that only Linux 2.6.18 kernel
1597 and above is able to handle MPEG stream through V4L2 layer.
1598 For hardware capture of an MPEG stream and watching it with
1599 MPlayer/MEncoder, use 'pvr://' as a movie URL.
1600 .sp 1
1601 Available options are:
1602 .RSs
1603 .IPs aspect=<0\-3>
1604 Specify input aspect ratio:
1605 .RSss
1606 0: 1:1
1608 1: 4:3 (default)
1610 2: 16:9
1612 3: 2.21:1
1613 .REss
1614 .IPs arate=<32000\-48000>
1615 Specify encoding audio rate (default: 48000 Hz, available: 32000, 44100
1616 and 48000 Hz).
1617 .IPs alayer=<1\-3>
1618 Specify MPEG audio layer encoding (default: 2).
1619 .IPs abitrate=<32\-448>
1620 Specify audio encoding bitrate in kbps (default: 384).
1621 .IPs amode=<value>
1622 Specify audio encoding mode.
1623 Available preset values are 'stereo', 'joint_stereo', 'dual' and 'mono' (default: stereo).
1624 .IPs vbitrate=<value>
1625 Specify average video bitrate encoding in Mbps (default: 6).
1626 .IPs vmode=<value>
1627 Specify video encoding mode:
1628 .RSss
1629 vbr: Variable BitRate (default)
1631 cbr: Constant BitRate
1632 .REss
1633 .IPs vpeak=<value>
1634 Specify peak video bitrate encoding in Mbps
1635 (only useful for VBR encoding, default: 9.6).
1636 .IPs fmt=<value>
1637 Choose an MPEG format for encoding:
1638 .RSss
1639 ps:    MPEG-2 Program Stream (default)
1641 ts:    MPEG-2 Transport Stream
1643 mpeg1: MPEG-1 System Stream
1645 vcd:   Video CD compatible stream
1647 svcd:  Super Video CD compatible stream
1649 dvd:   DVD compatible stream
1650 .REss
1652 .PD 1
1655 .B \-radio <option1:option2:...> (radio only)
1656 These options set various parameters of the radio capture module.
1657 For listening to radio with MPlayer use 'radio://<frequency>'
1658 (if channels option is not given) or 'radio://<channel_number>'
1659 (if channels option is given) as a movie URL.
1660 You can see allowed frequency range by running MPlayer with '\-v'.
1661 To start the grabbing subsystem, use 'radio://<frequency or channel>/capture'.
1662 If the capture keyword is not given you can listen to radio
1663 using the line-in cable only.
1664 Using capture to listen is not recommended due to synchronization
1665 problems, which makes this process uncomfortable.
1666 .sp 1
1667 Available options are:
1668 .RSs
1669 .IPs device=<value>
1670 Radio device to use (default: /dev/radio0 for Linux and /dev/tuner0 for *BSD).
1671 .IPs driver=<value>
1672 Radio driver to use (default: v4l2 if available, otherwise v4l).
1673 Currently, v4l and v4l2 drivers are supported.
1674 .IPs volume=<0..100>
1675 sound volume for radio device (default 100)
1676 .IPs "freq_min=<value> (*BSD BT848 only)"
1677 minimum allowed frequency (default: 87.50)
1678 .IPs "freq_max=<value> (*BSD BT848 only)"
1679 maximum allowed frequency (default: 108.00)
1680 .IPs channels=<frequency>\-<name>,<frequency>\-<name>,...
1681 Set channel list.
1682 Use _ for spaces in names (or play with quoting ;-).
1683 The channel names will then be written using OSD and the slave commands
1684 radio_step_channel and radio_set_channel will be usable for
1685 a remote control (see LIRC).
1686 If given, number in movie URL will be treated as channel position in
1687 channel list.
1689 .I EXAMPLE:
1690 radio://1, radio://104.4, radio_set_channel 1
1691 .IPs "adevice=<value> (radio capture only)"
1692 Name of device to capture sound from.
1693 Without such a name capture will be disabled,
1694 even if the capture keyword appears in the URL.
1695 For ALSA devices use it in the form hw=<card>.<device>.
1696 If the device name contains a '=', the module will use
1697 ALSA to capture, otherwise OSS.
1698 .IPs "arate=<value> (radio capture only)"
1699 Rate in samples per second (default: 44100).
1701 .I NOTE:
1702 When using audio capture set also \-rawaudio rate=<value> option
1703 with the same value as arate.
1704 If you have problems with sound speed (runs too quickly), try to play
1705 with different rate values (e.g.\& 48000,44100,32000,...).
1706 .IPs "achannels=<value> (radio capture only)"
1707 Number of audio channels to capture.
1711 .B \-rawaudio <option1:option2:...>
1712 This option lets you play raw audio files.
1713 You have to use \-demuxer rawaudio as well.
1714 It may also be used to play audio CDs which are not 44kHz 16-bit stereo.
1715 For playing raw AC-3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio.
1716 .sp 1
1717 Available options are:
1718 .sp 1
1719 .PD 0
1720 .RSs
1721 .IPs channels=<value>
1722 number of channels
1723 .IPs rate=<value>
1724 rate in samples per second
1725 .IPs samplesize=<value>
1726 sample size in bytes
1727 .IPs bitrate=<value>
1728 bitrate for rawaudio files
1729 .IPs format=<value>
1730 fourcc in hex
1732 .PD 1
1735 .B \-rawvideo <option1:option2:...>
1736 This option lets you play raw video files.
1737 You have to use \-demuxer rawvideo as well.
1738 .sp 1
1739 Available options are:
1740 .sp 1
1741 .PD 0
1742 .RSs
1743 .IPs fps=<value>
1744 rate in frames per second (default: 25.0)
1745 .IPs sqcif|qcif|cif|4cif|pal|ntsc
1746 set standard image size
1747 .IPs w=<value>
1748 image width in pixels
1749 .IPs h=<value>
1750 image height in pixels
1751 .IPs i420|yv12|yuy2|y8
1752 set colorspace
1753 .IPs format=<value>
1754 colorspace (fourcc) in hex or string constant.
1755 Use \-rawvideo format=help for a list of possible strings.
1756 .IPs size=<value>
1757 frame size in Bytes
1758 .REss
1759 .sp 1
1761 .I EXAMPLE:
1763 .PD 0
1764 .RSs
1765 .IPs "mplayer foreman.qcif -demuxer rawvideo -rawvideo qcif"
1766 Play the famous "foreman" sample video.
1767 .IPs "mplayer sample-720x576.yuv -demuxer rawvideo -rawvideo w=720:h=576"
1768 Play a raw YUV sample.
1770 .PD 1
1773 .B \-rtsp\-port
1774 Used with 'rtsp://' URLs to force the client's port number.
1775 This option may be useful if you are behind a router and want to forward
1776 the RTSP stream from the server to a specific client.
1779 .B \-rtsp\-destination
1780 Used with 'rtsp://' URLs to force the destination IP address to be bound.
1781 This option may be useful with some RTSP server which do not
1782 send RTP packets to the right interface.
1783 If the connection to the RTSP server fails, use \-v to see
1784 which IP address MPlayer tries to bind to and try to force
1785 it to one assigned to your computer instead.
1788 .B \-rtsp\-stream\-over\-tcp (LIVE555 and NEMESI only)
1789 Used with 'rtsp://' URLs to specify that the resulting incoming RTP and RTCP
1790 packets be streamed over TCP (using the same TCP connection as RTSP).
1791 This option may be useful if you have a broken internet connection that does
1792 not pass incoming UDP packets (see http://www.live555.com/\:mplayer/).
1795 .B \-saveidx <filename>
1796 Force index rebuilding and dump the index to <filename>.
1797 Currently this only works with AVI files.
1799 .I NOTE:
1800 This option is obsolete now that MPlayer has OpenDML support.
1803 .B \-sb <byte position> (also see \-ss)
1804 Seek to byte position.
1805 Useful for playback from CD-ROM images or VOB files with junk at the beginning.
1808 .B \-speed <0.01\-100>
1809 Slow down or speed up playback by the factor given as parameter.
1810 Not guaranteed to work correctly with \-oac copy.
1813 .B \-srate <Hz>
1814 Selects the output sample rate to be used
1815 (of course sound cards have limits on this).
1816 If the sample frequency selected is different from that
1817 of the current media, the resample or lavcresample audio filter will be inserted
1818 into the audio filter layer to compensate for the difference.
1819 The type of resampling can be controlled by the \-af\-adv option.
1820 The default is fast resampling that may cause distortion.
1823 .B \-ss <time> (also see \-sb)
1824 Seek to given time position.
1825 .sp 1
1826 .I EXAMPLE:
1827 .PD 0
1828 .RSs
1829 .IPs "\-ss 56"
1830 Seeks to 56 seconds.
1831 .IPs "\-ss 01:10:00"
1832 Seeks to 1 hour 10 min.
1834 .PD 1
1837 .B \-tskeepbroken
1838 Tells MPlayer not to discard TS packets reported as broken in the stream.
1839 Sometimes needed to play corrupted MPEG-TS files.
1842 .B \-tsprobe <byte position>
1843 When playing an MPEG-TS stream, this option lets you specify how many
1844 bytes in the stream you want MPlayer to search for the desired
1845 audio and video IDs.
1848 .B \-tsprog <1\-65534>
1849 When playing an MPEG-TS stream, you can specify with this option which
1850 program (if present) you want to play.
1851 Can be used with \-vid and \-aid.
1854 .B \-tv <option1:option2:...> (TV/\:PVR only)
1855 This option tunes various properties of the TV capture module.
1856 For watching TV with MPlayer, use 'tv://' or 'tv://<channel_number>'
1857 or even 'tv://<channel_name> (see option channels for channel_name below)
1858 as a movie URL.
1859 You can also use 'tv:///<input_id>' to start watching a
1860 movie from a composite or S-Video input (see option input for details).
1861 .sp 1
1862 Available options are:
1863 .RSs
1864 .IPs noaudio
1865 no sound
1866 .IPs "automute=<0\-255> (v4l and v4l2 only)"
1867 If signal strength reported by device is less than this value,
1868 audio and video will be muted.
1869 In most cases automute=100 will be enough.
1870 Default is 0 (automute disabled).
1871 .IPs driver=<value>
1872 See \-tv driver=help for a list of compiled-in TV input drivers.
1873 available: dummy, v4l, v4l2, bsdbt848 (default: autodetect)
1874 .IPs device=<value>
1875 Specify TV device (default: /dev/\:video0).
1876 .I NOTE:
1877 For the bsdbt848 driver you can provide both bktr and tuner device
1878 names separating them with a comma, tuner after
1879 bktr (e.g.\& -tv device=/dev/bktr1,/dev/tuner1).
1880 .IPs input=<value>
1881 Specify input (default: 0 (TV), see console output for available inputs).
1882 .IPs freq=<value>
1883 Specify the frequency to set the tuner to (e.g.\& 511.250).
1884 Not compatible with the channels parameter.
1885 .IPs outfmt=<value>
1886 Specify the output format of the tuner with a preset value supported by the
1887 V4L driver (yv12, rgb32, rgb24, rgb16, rgb15, uyvy, yuy2, i420) or an
1888 arbitrary format given as hex value.
1889 Try outfmt=help for a list of all available formats.
1890 .IPs width=<value>
1891 output window width
1892 .IPs height=<value>
1893 output window height
1894 .IPs fps=<value>
1895 framerate at which to capture video (frames per second)
1896 .IPs buffersize=<value>
1897 maximum size of the capture buffer in megabytes (default: dynamical)
1898 .IPs norm=<value>
1899 For bsdbt848 and v4l, PAL, SECAM, NTSC are available.
1900 For v4l2, see the console output for a list of all available norms,
1901 also see the normid option below.
1902 .IPs "normid=<value> (v4l2 only)"
1903 Sets the TV norm to the given numeric ID.
1904 The TV norm depends on the capture card.
1905 See the console output for a list of available TV norms.
1906 .IPs channel=<value>
1907 Set tuner to <value> channel.
1908 .IPs chanlist=<value>
1909 available: europe-east, europe-west, us-bcast, us-cable, etc
1910 .IPs channels=<chan>\-<name>[=<norm>],<chan>\-<name>[=<norm>],...
1911 Set names for channels.
1912 .I NOTE:
1913 If <chan> is an integer greater than 1000, it will be treated as frequency (in kHz)
1914 rather than channel name from frequency table.
1916 Use _ for spaces in names (or play with quoting ;-).
1917 The channel names will then be written using OSD, and the slave commands
1918 tv_step_channel, tv_set_channel and tv_last_channel will be usable for
1919 a remote control (see LIRC).
1920 Not compatible with the frequency parameter.
1922 .I NOTE:
1923 The channel number will then be the position in the 'channels' list,
1924 beginning with 1.
1926 .I EXAMPLE:
1927 tv://1, tv://TV1, tv_set_channel 1, tv_set_channel TV1
1928 .IPs [brightness|contrast|hue|saturation]=<\-100\-100>
1929 Set the image equalizer on the card.
1930 .IPs audiorate=<value>
1931 Set audio capture bitrate.
1932 .IPs forceaudio
1933 Capture audio even if there are no audio sources reported by v4l.
1934 .IPs "alsa\ "
1935 Capture from ALSA.
1936 .IPs amode=<0\-3>
1937 Choose an audio mode:
1938 .RSss
1939 0: mono
1941 1: stereo
1943 2: language 1
1945 3: language 2
1946 .REss
1947 .IPs forcechan=<1\-2>
1948 By default, the count of recorded audio channels is determined automatically
1949 by querying the audio mode from the TV card.
1950 This option allows forcing stereo/\:mono recording regardless of the amode
1951 option and the values returned by v4l.
1952 This can be used for troubleshooting when the TV card is unable to report the
1953 current audio mode.
1954 .IPs adevice=<value>
1955 Set an audio device.
1956 <value> should be /dev/\:xxx for OSS and a hardware ID for ALSA.
1957 You must replace any ':' by a '.' in the hardware ID for ALSA.
1958 .IPs audioid=<value>
1959 Choose an audio output of the capture card, if it has more than one.
1960 .IPs "[volume|bass|treble|balance]=<0\-65535> (v4l1)"
1961 .IPs "[volume|bass|treble|balance]=<0\-100> (v4l2)"
1962 These options set parameters of the mixer on the video capture card.
1963 They will have no effect, if your card does not have one.
1964 For v4l2 50 maps to the default value of the
1965 control, as reported by the driver.
1966 .IPs "gain=<0\-100> (v4l2)"
1967 Set gain control for video devices (usually webcams) to the desired
1968 value and switch off automatic control.
1969 A value of 0 enables automatic control.
1970 If this option is omitted, gain control will not be modified.
1971 .IPs immediatemode=<bool>
1972 A value of 0 means capture and buffer audio and video together
1973 (default for MEncoder).
1974 A value of 1 (default for MPlayer) means to do video capture only and let the
1975 audio go through a loopback cable from the TV card to the sound card.
1976 .IPs mjpeg
1977 Use hardware MJPEG compression (if the card supports it).
1978 When using this option, you do not need to specify the width and height
1979 of the output window, because MPlayer will determine it automatically
1980 from the decimation value (see below).
1981 .IPs decimation=<1|2|4>
1982 choose the size of the picture that will be compressed by hardware
1983 MJPEG compression:
1984 .RSss
1985 1: full size
1986     704x576    PAL
1987     704x480    NTSC
1989 2: medium size
1990     352x288    PAL
1991     352x240    NTSC
1993 4: small size
1994     176x144    PAL
1995     176x120    NTSC
1996 .REss
1997 .IPs quality=<0\-100>
1998 Choose the quality of the JPEG compression
1999 (< 60 recommended for full size).
2000 .IPs tdevice=<value>
2001 Specify TV teletext device (example: /dev/\:vbi0) (default: none).
2002 .IPs tformat=<format>
2003 Specify TV teletext display format (default: 0):
2004 .RSss
2005 0: opaque
2007 1: transparent
2009 2: opaque with inverted colors
2011 3: transparent with inverted colors
2012 .REss
2013 .IPs tpage=<100\-899>
2014 Specify initial TV teletext page number (default: 100).
2015 .IPs tlang=<\-1\-127>
2016 Specify default teletext language code (default: 0), which will be used
2017 as primary language until a type 28 packet is received.
2018 Useful when the teletext system uses a non-latin character set, but language
2019 codes are not transmitted via teletext type 28 packets for some reason.
2020 To see a list of supported language codes set this option to \-1.
2021 .IPs "hidden_video_renderer (dshow only)"
2022 Terminate stream with video renderer instead of Null renderer (default: off).
2023 Will help if video freezes but audio does not.
2024 .I NOTE:
2025 May not work with \-vo directx and \-vf crop combination.
2026 .IPs "hidden_vp_renderer (dshow only)"
2027 Terminate VideoPort pin stream with video renderer
2028 instead of removing it from the graph (default: off).
2029 Useful if your card has a VideoPort pin and video is choppy.
2030 .I NOTE:
2031 May not work with \-vo directx and \-vf crop combination.
2032 .IPs "system_clock (dshow only)"
2033 Use the system clock as sync source instead of the default graph clock
2034 (usually the clock from one of the live sources in graph).
2035 .IPs "normalize_audio_chunks (dshow only)"
2036 Create audio chunks with a time length equal to
2037 video frame time length (default: off).
2038 Some audio cards create audio chunks about 0.5s in size, resulting in
2039 choppy video when using immediatemode=0.
2043 .B \-tvscan <option1:option2:...> (TV and MPlayer only)
2044 Tune the TV channel scanner.
2045 MPlayer will also print value for "-tv channels=" option,
2046 including existing and just found channels.
2047 .sp 1
2048 Available suboptions are:
2049 .RSs
2050 .IPs autostart
2051 Begin channel scanning immediately after startup (default: disabled).
2052 .IPs period=<0.1\-2.0>
2053 Specify delay in seconds before switching to next channel (default: 0.5).
2054 Lower values will cause faster scanning, but can detect
2055 inactive TV channels as active.
2056 .IPs threshold=<1\-100>
2057 Threshold value for the signal strength (in percent), as reported
2058 by the device (default: 50).
2059 A signal strength higher than this value will indicate that the
2060 currently scanning channel is active.
2064 .B \-user <username> (also see \-passwd) (network only)
2065 Specify username for HTTP authentication.
2068 .B \-user\-agent <string>
2069 Use <string> as user agent for HTTP streaming.
2072 .B \-vid <ID>
2073 Select video channel (MPG: 0\-15, ASF: 0\-255, MPEG-TS: 17\-8190).
2074 When playing an MPEG-TS stream, MPlayer/\:MEncoder will use the first program
2075 (if present) with the chosen video stream.
2078 .B \-vivo <suboption> (DEBUG CODE)
2079 Force audio parameters for the VIVO demuxer (for debugging purposes).
2080 FIXME: Document this.
2084 .SH "OSD/SUBTITLE OPTIONS"
2085 .I NOTE:
2086 Also see \-vf expand.
2089 .B \-ass (FreeType only)
2090 Turn on SSA/ASS subtitle rendering.
2091 With this option, libass will be used for SSA/ASS
2092 external subtitles and Matroska tracks.
2093 You may also want to use \-embeddedfonts.
2095 .I NOTE:
2096 Unlike normal OSD, libass uses fontconfig by default. To disable it, use
2097 \-nofontconfig.
2100 .B \-ass\-border\-color <value>
2101 Sets the border (outline) color for text subtitles.
2102 The color format is RRGGBBAA.
2105 .B \-ass\-bottom\-margin <value>
2106 Adds a black band at the bottom of the frame.
2107 The SSA/ASS renderer can place subtitles there (with \-ass\-use\-margins).
2110 .B \-ass\-color <value>
2111 Sets the color for text subtitles.
2112 The color format is RRGGBBAA.
2115 .B \-ass\-font\-scale <value>
2116 Set the scale coefficient to be used for fonts in the SSA/ASS renderer.
2119 .B \-ass\-force\-style <[Style.]Param=Value[,...]>
2120 Override some style or script info parameters.
2122 .I EXAMPLE:
2123 .PD 0
2124 .RSs
2125 \-ass\-force\-style FontName=Arial,Default.Bold=1
2127 \-ass\-force\-style PlayResY=768
2129 .PD 1
2132 .B \-ass\-hinting <type>
2133 Set hinting type.
2134 <type> can be:
2135 .PD 0
2136 .RSs
2137 .IPs 0
2138 no hinting
2139 .IPs 1
2140 FreeType autohinter, light mode
2141 .IPs 2
2142 FreeType autohinter, normal mode
2143 .IPs 3
2144 font native hinter
2145 .IPs "0-3 + 4"
2146 The same, but hinting will only be performed if the OSD is rendered at
2147 screen resolution and will therefore not be scaled.
2149 .RSs
2150 The default value is 7 (use native hinter for unscaled OSD and no hinting otherwise).
2152 .PD 1
2155 .B \-ass\-line\-spacing <value>
2156 Set line spacing value for SSA/ASS renderer.
2159 .B \-ass\-styles <filename>
2160 Load all SSA/ASS styles found in the specified file and use them for
2161 rendering text subtitles.
2162 The syntax of the file is exactly like the
2163 [V4 Styles] / [V4+ Styles] section of SSA/ASS.
2166 .B \-ass\-top\-margin <value>
2167 Adds a black band at the top of the frame.
2168 The SSA/ASS renderer can place toptitles there (with \-ass\-use\-margins).
2171 .B \-ass\-use\-margins
2172 Enables placing toptitles and subtitles in black borders when they
2173 are available.
2176 .B \-dumpjacosub (MPlayer only)
2177 Convert the given subtitle (specified with the \-sub option) to the time-based
2178 JACOsub subtitle format.
2179 Creates a dumpsub.js file in the current directory.
2182 .B \-dumpmicrodvdsub (MPlayer only)
2183 Convert the given subtitle (specified with the \-sub option) to the
2184 MicroDVD subtitle format.
2185 Creates a dumpsub.sub file in the current directory.
2188 .B \-dumpmpsub (MPlayer only)
2189 Convert the given subtitle (specified with the \-sub option) to MPlayer's
2190 subtitle format, MPsub.
2191 Creates a dump.mpsub file in the current directory.
2194 .B \-dumpsami (MPlayer only)
2195 Convert the given subtitle (specified with the \-sub option) to the time-based
2196 SAMI subtitle format.
2197 Creates a dumpsub.smi file in the current directory.
2200 .B \-dumpsrtsub (MPlayer only)
2201 Convert the given subtitle (specified with the \-sub option) to the time-based
2202 SubViewer (SRT) subtitle format.
2203 Creates a dumpsub.srt file in the current directory.
2205 .I NOTE:
2206 Some broken hardware players choke on SRT subtitle files with Unix
2207 line endings.
2208 If you are unlucky enough to have such a box, pass your subtitle
2209 files through unix2dos or a similar program to replace Unix line
2210 endings with DOS/Windows line endings.
2213 .B \-dumpsub (MPlayer only) (BETA CODE)
2214 Dumps the subtitle substream from VOB streams.
2215 Also see the \-dump*sub and \-vobsubout* options.
2218 .B \-embeddedfonts (FreeType only)
2219 Enables extraction of Matroska embedded fonts (default: disabled).
2220 These fonts can be used for SSA/ASS subtitle
2221 rendering (\-ass option).
2222 Font files are created in the ~/.mplayer/\:fonts directory.
2224 .I NOTE:
2225 With FontConfig 2.4.2 or newer, embedded fonts are opened directly from memory,
2226 and this option is enabled by default.
2229 .B \-ffactor <number>
2230 Resample the font alphamap.
2231 Can be:
2232 .PD 0
2233 .RSs
2234 .IPs 0
2235 plain white fonts
2236 .IPs 0.75
2237 very narrow black outline (default)
2238 .IPs 1
2239 narrow black outline
2240 .IPs 10
2241 bold black outline
2243 .PD 1
2246 .B \-flip\-hebrew (FriBiDi only)
2247 Turns on flipping subtitles using FriBiDi.
2250 .B \-noflip\-hebrew\-commas
2251 Change FriBiDi's assumptions about the placements of commas in subtitles.
2252 Use this if commas in subtitles are shown at the start of a sentence
2253 instead of at the end.
2256 .B \-font <path to font.desc file, path to font (FreeType), font pattern (Fontconfig)>
2257 Search for the OSD/\:SUB fonts in an alternative directory (default for normal
2258 fonts: ~/\:.mplayer/\:font/\:font.desc, default for FreeType fonts:
2259 ~/.mplayer/\:subfont.ttf).
2261 .I NOTE:
2262 With FreeType, this option determines the path to the text font file.
2263 With Fontconfig, this option determines the Fontconfig font pattern.
2264 .sp 1
2265 .I EXAMPLE:
2266 .PD 0
2267 .RSs
2268 \-font ~/\:.mplayer/\:arial-14/\:font.desc
2270 \-font ~/\:.mplayer/\:arialuni.ttf
2272 \-font 'Bitstream Vera Sans'
2274 \-font 'Bitstream Vera Sans:style=Bold'
2276 .PD 1
2279 .B \-fontconfig (fontconfig only)
2280 Enables the usage of fontconfig managed fonts.
2282 .I NOTE:
2283 By default fontconfig is used for libass-rendered subtitles and not used for
2284 OSD. With \-fontconfig it is used for both libass and OSD, with \-nofontconfig
2285 it is not used at all.
2288 .B \-forcedsubsonly
2289 Display only forced subtitles for the DVD subtitle stream selected by e.g.\&
2290 \-slang.
2293 .B \-fribidi\-charset <charset name> (FriBiDi only)
2294 Specifies the character set that will be passed to FriBiDi when
2295 decoding non-UTF-8 subtitles (default: ISO8859-8).
2298 .B \-ifo <VOBsub IFO file>
2299 Indicate the file that will be used to load palette and frame size for VOBsub
2300 subtitles.
2303 .B \-noautosub
2304 Turns off automatic subtitle file loading.
2307 .B \-osd\-duration <time>
2308 Set the duration of the OSD messages in ms (default: 1000).
2311 .B \-osdlevel <0\-3> (MPlayer only)
2312 Specifies which mode the OSD should start in.
2313 .PD 0
2314 .RSs
2315 .IPs 0
2316 subtitles only
2317 .IPs 1
2318 volume + seek (default)
2319 .IPs 2
2320 volume + seek + timer + percentage
2321 .IPs 3
2322 volume + seek + timer + percentage + total time
2324 .PD 1
2327 .B \-overlapsub
2328 Allows the next subtitle to be displayed while the current one is
2329 still visible (default is to enable the support only for specific
2330 formats).
2333 .B \-sid <ID> (also see \-slang, \-vobsubid)
2334 Display the subtitle stream specified by <ID> (0\-31).
2335 MPlayer prints the available subtitle IDs when run in verbose (\-v) mode.
2336 If you cannot select one of the subtitles on a DVD, also try \-vobsubid.
2339 .B \-slang <language code[,language code,...]> (also see \-sid)
2340 Specify a priority list of subtitle languages to use.
2341 Different container formats employ different language codes.
2342 DVDs use ISO 639-1 two letter language codes, Matroska uses ISO 639-2
2343 three letter language codes while OGM uses a free-form identifier.
2344 MPlayer prints the available languages when run in verbose (\-v) mode.
2345 .sp 1
2346 .I EXAMPLE:
2347 .PD 0
2348 .RSs
2349 .IPs "mplayer dvd://1 \-slang hu,en"
2350 Chooses the Hungarian subtitle track on a DVD and falls back on English if
2351 Hungarian is not available.
2352 .IPs "mplayer \-slang jpn example.mkv"
2353 Plays a Matroska file with Japanese subtitles.
2355 .PD 1
2358 .B \-spuaa <mode>
2359 Antialiasing/\:scaling mode for DVD/\:VOBsub.
2360 A value of 16 may be added to <mode> in order to force scaling even
2361 when original and scaled frame size already match.
2362 This can be employed to e.g.\& smooth subtitles with gaussian blur.
2363 Available modes are:
2364 .PD 0
2365 .RSs
2366 .IPs 0
2367 none (fastest, very ugly)
2368 .IPs 1
2369 approximate (broken?)
2370 .IPs 2
2371 full (slow)
2372 .IPs 3
2373 bilinear (default, fast and not too bad)
2374 .IPs 4
2375 uses swscaler gaussian blur (looks very good)
2377 .PD 1
2380 .B \-spualign <\-1\-2>
2381 Specify how SPU (DVD/\:VOBsub) subtitles should be aligned.
2382 .PD 0
2383 .RSs
2384 .IPs "\-1"
2385 original position
2386 .IPs " 0"
2387 Align at top (original behavior, default).
2388 .IPs " 1"
2389 Align at center.
2390 .IPs " 2"
2391 Align at bottom.
2393 .PD 1
2396 .B \-spugauss <0.0\-3.0>
2397 Variance parameter of gaussian used by \-spuaa 4.
2398 Higher means more blur (default: 1.0).
2401 .B \-sub <subtitlefile1,subtitlefile2,...>
2402 Use/\:display these subtitle files.
2403 Only one file can be displayed at the same time.
2406 .B \-sub\-bg\-alpha <0\-255>
2407 Specify the alpha channel value for subtitles and OSD backgrounds.
2408 Big values mean more transparency.
2409 0 means completely transparent.
2412 .B \-sub\-bg\-color <0\-255>
2413 Specify the color value for subtitles and OSD backgrounds.
2414 Currently subtitles are grayscale so this value is equivalent to the
2415 intensity of the color.
2416 255 means white and 0 black.
2419 .B \-sub\-demuxer <[+]name> (\-subfile only) (BETA CODE)
2420 Force subtitle demuxer type for \-subfile.
2421 Use a '+' before the name to force it, this will skip some checks!
2422 Give the demuxer name as printed by \-sub\-demuxer help.
2423 For backward compatibility it also accepts the demuxer ID as defined in
2424 subreader.h.
2427 .B \-sub\-fuzziness <mode>
2428 Adjust matching fuzziness when searching for subtitles:
2429 .PD 0
2430 .RSs
2431 .IPs 0
2432 exact match
2433 .IPs 1
2434 Load all subs containing movie name.
2435 .IPs 2
2436 Load all subs in the current directory.
2438 .PD 1
2441 .B \-sub\-no\-text\-pp
2442 Disables any kind of text post processing done after loading the subtitles.
2443 Used for debug purposes.
2446 .B \-subalign <0\-2>
2447 Specify which edge of the subtitles should be aligned at the height
2448 given by \-subpos.
2449 .PD 0
2450 .RSs
2451 .IPs 0
2452 Align subtitle top edge (original behavior).
2453 .IPs 1
2454 Align subtitle center.
2455 .IPs 2
2456 Align subtitle bottom edge (default).
2458 .PD 1
2461 .B "\-subcc \ "
2462 Display DVD Closed Caption (CC) subtitles.
2463 These are
2464 .B not
2465 the VOB subtitles, these are special ASCII subtitles for the
2466 hearing impaired encoded in the VOB userdata stream on most region 1 DVDs.
2467 CC subtitles have not been spotted on DVDs from other regions so far.
2470 .B \-subcp <codepage> (iconv only)
2471 If your system supports iconv(3), you can use this option to
2472 specify the subtitle codepage.
2473 .sp 1
2474 .I EXAMPLE:
2475 .PD 0
2476 .RSs
2477 \-subcp latin2
2479 \-subcp cp1250
2481 .PD 1
2484 .B \-subcp enca:<language>:<fallback codepage> (ENCA only)
2485 You can specify your language using a two letter language code to
2486 make ENCA detect the codepage automatically.
2487 If unsure, enter anything and watch mplayer \-v output for available
2488 languages.
2489 Fallback codepage specifies the codepage to use, when autodetection fails.
2490 .sp 1
2491 .I EXAMPLE:
2492 .PD 0
2493 .RSs
2494 .IPs "\-subcp enca:cs:latin2"
2495 Guess the encoding, assuming the subtitles are Czech, fall back on
2496 latin 2, if the detection fails.
2497 .IPs "\-subcp enca:pl:cp1250"
2498 Guess the encoding for Polish, fall back on cp1250.
2500 .PD 1
2503 .B \-subdelay <sec>
2504 Delays subtitles by <sec> seconds.
2505 Can be negative.
2508 .B \-subfile <filename> (BETA CODE)
2509 Currently useless.
2510 Same as \-audiofile, but for subtitle streams (OggDS?).
2513 .B \-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only)
2514 Sets the subtitle font (see \-font).
2515 If no \-subfont is given, \-font is used.
2518 .B \-subfont\-autoscale <0\-3> (FreeType only)
2519 Sets the autoscale mode.
2521 .I NOTE:
2522 0 means that text scale and OSD scale are font heights in points.
2523 .sp 1
2524 The mode can be:
2525 .sp 1
2526 .PD 0
2527 .RSs
2528 .IPs 0
2529 no autoscale
2530 .IPs 1
2531 proportional to movie height
2532 .IPs 2
2533 proportional to movie width
2534 .IPs 3
2535 proportional to movie diagonal (default)
2537 .PD 1
2540 .B \-subfont\-blur <0\-8> (FreeType only)
2541 Sets the font blur radius (default: 2).
2544 .B \-subfont\-encoding <value> (FreeType only)
2545 Sets the font encoding.
2546 When set to 'unicode', all the glyphs from the font file will be rendered and
2547 unicode will be used (default: unicode).
2550 .B \-subfont\-osd\-scale <0\-100> (FreeType only)
2551 Sets the autoscale coefficient of the OSD elements (default: 6).
2554 .B \-subfont\-outline <0\-8> (FreeType only)
2555 Sets the font outline thickness (default: 2).
2558 .B \-subfont\-text\-scale <0\-100> (FreeType only)
2559 Sets the subtitle text autoscale coefficient as percentage of the
2560 screen size (default: 5).
2563 .B \-subfps <rate>
2564 Specify the framerate of the subtitle file (default: movie fps).
2566 .I NOTE:
2567 <rate> > movie fps speeds the subtitles up for frame-based subtitle files and
2568 slows them down for time-based ones.
2571 .B \-subpos <0\-100> (useful with \-vf expand)
2572 Specify the position of subtitles on the screen.
2573 The value is the vertical position of the subtitle in % of the screen height.
2576 .B \-subwidth <10\-100>
2577 Specify the maximum width of subtitles on the screen.
2578 Useful for TV-out.
2579 The value is the width of the subtitle in % of the screen width.
2582 .B \-noterm\-osd
2583 Disable the display of OSD messages on the console when no video output is
2584 available.
2587 .B \-term\-osd\-esc <escape sequence>
2588 Specify the escape sequence to use before writing an OSD message on the
2589 console.
2590 The escape sequence should move the pointer to the beginning of the line
2591 used for the OSD and clear it (default: ^[[A\\r^[[K).
2594 .B \-unicode
2595 Tells MPlayer to handle the subtitle file as unicode.
2598 .B \-unrarexec <path to unrar executable> (not supported on MingW)
2599 Specify the path to the unrar executable so MPlayer can use it to access
2600 rar-compressed VOBsub files (default: not set, so the feature is off).
2601 The path must include the executable's filename, i.e.\& /usr/local/bin/unrar.
2604 .B "\-utf8 \ \ "
2605 Tells MPlayer to handle the subtitle file as UTF-8.
2608 .B \-vobsub <VOBsub file without extension>
2609 Specify a VOBsub file to use for subtitles.
2610 Has to be the full pathname without extension, i.e.\& without
2611 the '.idx', '.ifo' or '.sub'.
2614 .B \-vobsubid <0\-31>
2615 Specify the VOBsub subtitle ID.
2619 .SH "AUDIO OUTPUT OPTIONS (MPLAYER ONLY)"
2622 .B \-abs <value> (\-ao oss only) (OBSOLETE)
2623 Override audio driver/\:card buffer size detection.
2626 .B \-format <format> (also see the format audio filter)
2627 Select the sample format used for output from the audio filter
2628 layer to the sound card.
2629 The values that <format> can adopt are listed below in the
2630 description of the format audio filter.
2633 .B \-mixer <device>
2634 Use a mixer device different from the default /dev/\:mixer.
2635 For ALSA this is the mixer name.
2638 .B \-mixer\-channel <mixer line>[,mixer index] (\-ao oss and \-ao alsa only)
2639 This option will tell MPlayer to use a different channel for controlling
2640 volume than the default PCM.
2641 Options for OSS include
2642 .B vol, pcm, line.
2643 For a complete list of options look for SOUND_DEVICE_NAMES in
2644 /usr/\:include/\:linux/\:soundcard.h.
2645 For ALSA you can use the names e.g.\& alsamixer displays, like
2646 .B Master, Line, PCM.
2648 .I NOTE:
2649 ALSA mixer channel names followed by a number must be specified in the
2650 <name,number> format, i.e.\& a channel labeled 'PCM 1' in alsamixer must
2651 be converted to
2652 .BR PCM,1 .
2655 .B \-softvol
2656 Force the use of the software mixer, instead of using the sound card
2657 mixer.
2660 .B \-softvol\-max <10.0\-10000.0>
2661 Set the maximum amplification level in percent (default: 110).
2662 A value of 200 will allow you to adjust the volume up to a maximum of
2663 double the current level.
2664 With values below 100 the initial volume (which is 100%) will be above
2665 the maximum, which e.g.\& the OSD cannot display correctly.
2668 .B \-volstep <0\-100>
2669 Set the step size of mixer volume changes in percent of the whole range
2670 (default: 3).
2673 .B \-volume <-1\-100> (also see \-af volume)
2674 Set the startup volume in the mixer, either hardware or software (if
2675 used with \-softvol).
2676 A value of -1 (the default) will not change the volume.
2680 .SH "AUDIO OUTPUT DRIVERS (MPLAYER ONLY)"
2681 Audio output drivers are interfaces to different audio output facilities.
2682 The syntax is:
2685 .B \-ao <driver1[:suboption1[=value]:...],driver2,...[,]>
2686 Specify a priority list of audio output drivers to be used.
2688 If the list has a trailing ',' MPlayer will fall back on drivers not
2689 contained in the list.
2690 Suboptions are optional and can mostly be omitted.
2692 .I NOTE:
2693 See \-ao help for a list of compiled-in audio output drivers.
2694 .sp 1
2695 .I EXAMPLE:
2696 .PD 0
2697 .RSs
2698 .IPs "\-ao alsa,oss,"
2699 Try the ALSA driver, then the OSS driver, then others.
2700 .IPs "\-ao alsa:noblock:device=hw=0.3"
2701 Sets noblock-mode and the device-name as first card, fourth device.
2703 .PD 1
2704 .sp 1
2705 Available audio output drivers are:
2708 .B "alsa\ \ \ "
2709 ALSA 0.9/1.x audio output driver
2710 .PD 0
2711 .RSs
2712 .IPs noblock
2713 Sets noblock-mode.
2714 .IPs device=<device>
2715 Sets the device name.
2716 Replace any ',' with '.' and any ':' with '=' in the ALSA device name.
2717 For hwac3 output via S/PDIF, use an "iec958" or "spdif" device, unless
2718 you really know how to set it correctly.
2720 .PD 1
2723 .B "alsa5\ \ "
2724 ALSA 0.5 audio output driver
2727 .B "oss\ \ \ \ "
2728 OSS audio output driver
2729 .PD 0
2730 .RSs
2731 .IPs <dsp-device>
2732 Sets the audio output device (default: /dev/\:dsp).
2733 .IPs <mixer-device>
2734 Sets the audio mixer device (default: /dev/\:mixer).
2735 .IPs <mixer-channel>
2736 Sets the audio mixer channel (default: pcm).
2738 .PD 1
2741 .B sdl (SDL only)
2742 highly platform independent SDL (Simple Directmedia Layer) library
2743 audio output driver
2744 .PD 0
2745 .RSs
2746 .IPs <driver>
2747 Explicitly choose the SDL audio driver to use (default: let SDL choose).
2749 .PD 1
2752 .B "arts\ \ \ "
2753 audio output through the aRts daemon
2756 .B "esd\ \ \ \ "
2757 audio output through the ESD daemon
2758 .PD 0
2759 .RSs
2760 .IPs <server>
2761 Explicitly choose the ESD server to use (default: localhost).
2763 .PD 1
2766 .B "jack\ \ \ \ "
2767 audio output through JACK (Jack Audio Connection Kit)
2768 .PD 0
2769 .RSs
2770 .IPs port=<name>
2771 Connects to the ports with the given name (default: physical ports).
2772 .IPs name=<client name>
2773 Client name that is passed to JACK (default: MPlayer [<PID>]).
2774 Useful if you want to have certain connections established automatically.
2775 .IPs (no)estimate
2776 Estimate the audio delay, supposed to make the video playback smoother
2777 (default: enabled).
2778 .IPs (no)autostart (default: disabled)
2779 Automatically start jackd if necessary.
2780 Note that this seems unreliable and will spam stdout with server messages.
2782 .PD 1
2785 .B "nas\ \ \ \ "
2786 audio output through NAS
2789 .B macosx (Mac OS X only)
2790 native Mac OS X audio output driver
2793 .B "openal\ "
2794 Experimental OpenAL audio output driver
2797 .B "pulse\ \ "
2798 PulseAudio audio output driver
2799 .PD 0
2800 .RSs
2801 .IPs "[<host>][:<output sink>]"
2802 Specify the host and optionally output sink to use.
2803 An empty <host> string uses a local connection, "localhost"
2804 uses network transfer (most likely not what you want).
2806 .PD 1
2809 .B sgi (SGI only)
2810 native SGI audio output driver
2811 .PD 0
2812 .RSs
2813 .IPs "<output device name>"
2814 Explicitly choose the output device/\:interface to use
2815 (default: system-wide default).
2816 For example, 'Analog Out' or 'Digital Out'.
2818 .PD 1
2821 .B sun (Sun only)
2822 native Sun audio output driver
2823 .PD 0
2824 .RSs
2825 .IPs <device>
2826 Explicitly choose the audio device to use (default: /dev/\:audio).
2828 .PD 1
2831 .B win32 (Windows only)
2832 native Windows waveout audio output driver
2835 .B dsound (Windows only)
2836 DirectX DirectSound audio output driver
2837 .PD 0
2838 .RSs
2839 .IPs device=<devicenum>
2840 Sets the device number to use.
2841 Playing a file with \-v will show a list of available devices.
2843 .PD 1
2846 .B dart (OS/2 only)
2847 OS/2 DART audio output driver
2848 .PD 0
2849 .RSs
2850 .IPs (no)share
2851 Open DART in shareable or exclusive mode.
2852 .IPs bufsize=<size>
2853 Set buffer size to <size> in samples (default: 2048).
2855 .PD 1
2858 .B dxr2 (also see \-dxr2) (DXR2 only)
2859 Creative DXR2 specific output driver
2862 .B ivtv (IVTV only)
2863 IVTV specific MPEG audio output driver.
2864 Works with \-ac hwmpa only.
2867 .B v4l2 (requires Linux 2.6.22+ kernel)
2868 Audio output driver for V4L2 cards with hardware MPEG decoder.
2871 .B mpegpes (DVB only)
2872 Audio output driver for DVB cards that writes the output to an MPEG-PES
2873 file if no DVB card is installed.
2874 .PD 0
2875 .RSs
2876 .IPs card=<1\-4>
2877 DVB card to use if more than one card is present.
2878 If not specified MPlayer will search the first usable card.
2879 .IPs file=<filename>
2880 output filename
2882 .PD 1
2885 .B "null\ \ \ "
2886 Produces no audio output but maintains video playback speed.
2887 Use \-nosound for benchmarking.
2890 .B "pcm\ \ \ \ "
2891 raw PCM/wave file writer audio output
2892 .PD 0
2893 .RSs
2894 .IPs (no)waveheader
2895 Include or do not include the wave header (default: included).
2896 When not included, raw PCM will be generated.
2897 .IPs file=<filename>
2898 Write the sound to <filename> instead of the default
2899 audiodump.wav.
2900 If nowaveheader is specified, the default is audiodump.pcm.
2901 .IPs "fast\ "
2902 Try to dump faster than realtime.
2903 Make sure the output does not get truncated (usually with
2904 "Too many video packets in buffer" message).
2905 It is normal that you get a "Your system is too SLOW to play this!" message.
2907 .PD 1
2910 .B "plugin\ \ "
2911 plugin audio output driver
2915 .SH "VIDEO OUTPUT OPTIONS (MPLAYER ONLY)"
2918 .B \-adapter <value>
2919 Set the graphics card that will receive the image.
2920 You can get a list of available cards when you run this option with \-v.
2921 Currently only works with the directx video output driver.
2924 .B \-bpp <depth>
2925 Override the autodetected color depth.
2926 Only supported by the fbdev, dga, svga, vesa video output drivers.
2929 .B \-border
2930 Play movie with window border and decorations.
2931 Since this is on by default, use \-noborder to disable the standard window
2932 decorations.
2935 .B \-brightness <\-100\-100>
2936 Adjust the brightness of the video signal (default: 0).
2937 Not supported by all video output drivers.
2940 .B \-contrast <\-100\-100>
2941 Adjust the contrast of the video signal (default: 0).
2942 Not supported by all video output drivers.
2945 .B \-display <name> (X11 only)
2946 Specify the hostname and display number of the X server you want to display
2948 .sp 1
2949 .I EXAMPLE:
2950 .PD 0
2951 .RSs
2952 \-display xtest.localdomain:0
2954 .PD 1
2957 .B "\-dr \ \ \ "
2958 Turns on direct rendering (not supported by all codecs and video outputs)
2960 .I WARNING:
2961 May cause OSD/SUB corruption!
2964 .B \-dxr2 <option1:option2:...>
2965 This option is used to control the dxr2 video output driver.
2966 .RSs
2967 .IPs ar-mode=<value>
2968 aspect ratio mode (0 = normal, 1 = pan-and-scan, 2 = letterbox (default))
2969 .IPs iec958-encoded
2970 Set iec958 output mode to encoded.
2971 .IPs iec958-decoded
2972 Set iec958 output mode to decoded (default).
2973 .IPs macrovision=<value>
2974 macrovision mode (0 = off (default), 1 = agc, 2 = agc 2 colorstripe,
2975 3 = agc 4 colorstripe)
2976 .IPs "mute\ "
2977 mute sound output
2978 .IPs unmute
2979 unmute sound output
2980 .IPs ucode=<value>
2981 path to the microcode
2984 .sp 1
2985 .I TV output
2987 .RSs
2988 .IPs 75ire
2989 enable 7.5 IRE output mode
2990 .IPs no75ire
2991 disable 7.5 IRE output mode (default)
2992 .IPs "bw\ \ \ "
2993 b/w TV output
2994 .IPs color
2995 color TV output (default)
2996 .IPs interlaced
2997 interlaced TV output (default)
2998 .IPs nointerlaced
2999 disable interlaced TV output
3000 .IPs norm=<value>
3001 TV norm (ntsc (default), pal, pal60, palm, paln, palnc)
3002 .IPs square-pixel
3003 set pixel mode to square
3004 .IPs ccir601-pixel
3005 set pixel mode to ccir601
3008 .sp 1
3009 .I overlay
3011 .RSs
3012 .IPs cr-left=<0\-500>
3013 Set the left cropping value (default: 50).
3014 .IPs cr-right=<0\-500>
3015 Set the right cropping value (default: 300).
3016 .IPs cr-top=<0\-500>
3017 Set the top cropping value (default: 0).
3018 .IPs cr-bottom=<0\-500>
3019 Set the bottom cropping value (default: 0).
3020 .IPs ck-[r|g|b]=<0\-255>
3021 Set the r(ed), g(reen) or b(lue) gain of the overlay color-key.
3022 .IPs ck-[r|g|b]min=<0\-255>
3023 minimum value for the respective color key
3024 .IPs ck-[r|g|b]max=<0\-255>
3025 maximum value for the respective color key
3026 .IPs ignore-cache
3027 Ignore cached overlay settings.
3028 .IPs update-cache
3029 Update cached overlay settings.
3030 .IPs ol-osd
3031 Enable overlay onscreen display.
3032 .IPs nool-osd
3033 Disable overlay onscreen display (default).
3034 .IPs ol[h|w|x|y]-cor=<\-20\-20>
3035 Adjust the overlay size (h,w) and position (x,y) in case it does not
3036 match the window perfectly (default: 0).
3037 .IPs overlay
3038 Activate overlay (default).
3039 .IPs nooverlay
3040 Activate TV-out.
3041 .IPs overlay-ratio=<1\-2500>
3042 Tune the overlay (default: 1000).
3046 .B \-fbmode <modename> (\-vo fbdev only)
3047 Change video mode to the one that is labeled as <modename> in
3048 /etc/\:fb.modes.
3050 .I NOTE:
3051 VESA framebuffer does not support mode changing.
3054 .B \-fbmodeconfig <filename> (\-vo fbdev only)
3055 Override framebuffer mode configuration file (default: /etc/\:fb.modes).
3058 .B \-fs (also see \-zoom)
3059 Fullscreen playback (centers movie, and paints black bands around it).
3060 Not supported by all video output drivers.
3063 .B \-fsmode\-dontuse <0\-31> (OBSOLETE, use the \-fs option)
3064 Try this option if you still experience fullscreen problems.
3067 .B \-fstype <type1,type2,...> (X11 only)
3068 Specify a priority list of fullscreen modes to be used.
3069 You can negate the modes by prefixing them with '\-'.
3070 If you experience problems like the fullscreen window being covered
3071 by other windows try using a different order.
3073 .I NOTE:
3074 See \-fstype help for a full list of available modes.
3075 .sp 1
3076 The available types are:
3077 .sp 1
3078 .PD 0
3079 .RSs
3080 .IPs above
3081 Use the _NETWM_STATE_ABOVE hint if available.
3082 .IPs below
3083 Use the _NETWM_STATE_BELOW hint if available.
3084 .IPs fullscreen
3085 Use the _NETWM_STATE_FULLSCREEN hint if available.
3086 .IPs layer
3087 Use the _WIN_LAYER hint with the default layer.
3088 .IPs layer=<0...15>
3089 Use the _WIN_LAYER hint with the given layer number.
3090 .IPs netwm
3091 Force NETWM style.
3092 .IPs "none\ "
3093 Do not set fullscreen window layer.
3094 .IPs stays_on_top
3095 Use _NETWM_STATE_STAYS_ON_TOP hint if available.
3096 .REss
3097 .sp 1
3099 .I EXAMPLE:
3101 .PD 0
3102 .RSs
3103 .IPs layer,stays_on_top,above,fullscreen
3104 Default order, will be used as a fallback if incorrect or
3105 unsupported modes are specified.
3106 .IPs \-fullscreen
3107 Fixes fullscreen switching on OpenBox 1.x.
3109 .PD 1
3112 .B \-geometry x[%][:y[%]] or [WxH][+x+y]
3113 Adjust where the output is on the screen initially.
3114 The x and y specifications are in pixels measured from the top-left of the
3115 screen to the top-left of the image being displayed, however if a percentage
3116 sign is given after the argument it turns the value into a percentage of the
3117 screen size in that direction.
3118 It also supports the standard X11 \-geometry option format.
3119 If an external window is specified using the \-wid option, then the x and
3120 y coordinates are relative to the top-left corner of the window rather
3121 than the screen.
3123 .I NOTE:
3124 This option is only supported by the x11, xmga, xv, xvmc, xvidix,
3125 gl, gl2, directx, fbdev and tdfxfb video output drivers.
3126 .sp 1
3127 .I EXAMPLE:
3128 .PD 0
3129 .RSs
3130 .IPs 50:40
3131 Places the window at x=50, y=40.
3132 .IPs 50%:50%
3133 Places the window in the middle of the screen.
3134 .IPs "100%\ "
3135 Places the window at the middle of the right edge of the screen.
3136 .IPs 100%:100%
3137 Places the window at the bottom right corner of the screen.
3139 .PD 1
3142 .B \-guiwid <window ID> (also see \-wid) (GUI only)
3143 This tells the GUI to also use an X11 window and stick itself to the bottom
3144 of the video, which is useful to embed a mini-GUI in a browser (with the
3145 MPlayer plugin for instance).
3148 .B \-hue <\-100\-100>
3149 Adjust the hue of the video signal (default: 0).
3150 You can get a colored negative of the image with this option.
3151 Not supported by all video output drivers.
3154 .B \-monitor\-dotclock <range[,range,...]> (\-vo fbdev and vesa only)
3155 Specify the dotclock or pixelclock range of the monitor.
3158 .B \-monitor\-hfreq <range[,range,...]> (\-vo fbdev and vesa only)
3159 Specify the horizontal frequency range of the monitor.
3162 .B \-monitor\-vfreq <range[,range,...]> (\-vo fbdev and vesa only)
3163 Specify the vertical frequency range of the monitor.
3166 .B \-monitoraspect <ratio> (also see \-aspect)
3167 Set the aspect ratio of your monitor or TV screen.
3168 A value of 0 disables a previous setting (e.g.\& in the config file).
3169 Overrides the \-monitorpixelaspect setting if enabled.
3170 .sp 1
3171 .I EXAMPLE:
3172 .PD 0
3173 .RSs
3174 \-monitoraspect 4:3  or 1.3333
3176 \-monitoraspect 16:9 or 1.7777
3178 .PD 1
3181 .B \-monitorpixelaspect <ratio> (also see \-aspect)
3182 Set the aspect of a single pixel of your monitor or TV screen (default: 1).
3183 A value of 1 means square pixels
3184 (correct for (almost?) all LCDs).
3187 .B \-nodouble
3188 Disables double buffering, mostly for debugging purposes.
3189 Double buffering fixes flicker by storing two frames in memory, and
3190 displaying one while decoding another.
3191 It can affect OSD negatively, but often removes OSD flickering.
3194 .B \-nograbpointer
3195 Do not grab the mouse pointer after a video mode change (\-vm).
3196 Useful for multihead setups.
3199 .B \-nokeepaspect
3200 Do not keep window aspect ratio when resizing windows.
3201 Only works with the x11, xv, xmga, xvidix, directx video output drivers.
3202 Furthermore under X11 your window manager has to honor window aspect hints.
3205 .B "\-ontop\ "
3206 Makes the player window stay on top of other windows.
3207 Supported by video output drivers which use X11, except SDL,
3208 as well as directx, macosx, quartz, ggi and gl2.
3211 .B \-panscan <0.0\-1.0>
3212 Enables pan-and-scan functionality (cropping the sides of e.g.\& a 16:9
3213 movie to make it fit a 4:3 display without black bands).
3214 The range controls how much of the image is cropped.
3215 Only works with the xv, xmga, mga, gl, gl2, quartz, macosx and xvidix
3216 video output drivers.
3218 .I NOTE:
3219 Values between \-1 and 0 are allowed as well, but highly experimental
3220 and may crash or worse.
3221 Use at your own risk!
3224 .B \-panscanrange <\-19.0\-99.0> (experimental)
3225 Change the range of the pan-and-scan functionality (default: 1).
3226 Positive values mean multiples of the default range.
3227 Negative numbers mean you can zoom in up to a factor of \-panscanrange+1.
3228 E.g.\& \-panscanrange \-3 allows a zoom factor of up to 4.
3229 This feature is experimental.
3230 Do not report bugs unless you are using \-vo gl.
3233 .B \-refreshrate <Hz>
3234 Set the monitor refreshrate in Hz.
3235 Currently only supported by \-vo directx combined with the \-vm option.
3238 .B \-rootwin
3239 Play movie in the root window (desktop background).
3240 Desktop background images may cover the movie window, though.
3241 Only works with the x11, xv, xmga, xvidix, quartz, macosx and directx video output drivers.
3244 .B \-saturation <\-100\-100>
3245 Adjust the saturation of the video signal (default: 0).
3246 You can get grayscale output with this option.
3247 Not supported by all video output drivers.
3250 .B \-screenh <pixels>
3251 Specify the screen height for video output drivers which
3252 do not know the screen resolution like fbdev, x11 and TV-out.
3255 .B \-screenw <pixels>
3256 Specify the screen width for video output drivers which
3257 do not know the screen resolution like fbdev, x11 and TV-out.
3260 .B \-stop\-xscreensaver (X11 only)
3261 Turns off xscreensaver at startup and turns it on again on exit.
3262 If your screensaver supports neither the XSS nor XResetScreenSaver
3263 API please use \-heartbeat\-cmd instead.
3266 .B "\-vm \ \ \ "
3267 Try to change to a different video mode.
3268 Supported by the dga, x11, xv, sdl and directx video output drivers.
3269 If used with the directx video output driver the \-screenw,
3270 \-screenh, \-bpp and \-refreshrate options can be used to set
3271 the new display mode.
3274 .B "\-vsync \ \ "
3275 Enables VBI for the vesa, dfbmga and svga video output drivers.
3278 .B \-wid <window ID> (also see \-guiwid) (X11, OpenGL and DirectX only)
3279 This tells MPlayer to attach to an existing window.
3280 Useful to embed MPlayer in a browser (e.g.\& the plugger extension).
3283 .B \-xineramascreen <\-2\-...>
3284 In Xinerama configurations (i.e.\& a single desktop that spans across multiple
3285 displays) this option tells MPlayer which screen to display the movie on.
3286 A value of \-2 means fullscreen across the whole virtual display (in this case
3287 Xinerama information is completely ignored), \-1 means
3288 fullscreen on the display the window currently is on.
3289 The initial position set via the \-geometry option is relative to the
3290 specified screen.
3291 Will usually only work with "\-fstype \-fullscreen" or "\-fstype none".
3292 This option is not suitable to only set the startup screen (because
3293 it will always display on the given screen in fullscreen mode),
3294 \-geometry is the best that is available for that purpose
3295 currently.
3296 Supported by the gl, gl2, x11, and xv video output drivers.
3299 .B \-zrbw (\-vo zr only)
3300 Display in black and white.
3301 For optimal performance, this can be combined with '\-lavdopts gray'.
3304 .B \-zrcrop <[width]x[height]+[x offset]+[y offset]> (\-vo zr only)
3305 Select a part of the input image to display, multiple occurrences
3306 of this option switch on cinerama mode.
3307 In cinerama mode the movie is distributed over more than one TV
3308 (or beamer) to create a larger image.
3309 Options appearing after the n-th \-zrcrop apply to the n-th MJPEG card, each
3310 card should at least have a \-zrdev in addition to the \-zrcrop.
3311 For examples, see the output of \-zrhelp and the Zr section of the
3312 documentation.
3315 .B \-zrdev <device> (\-vo zr only)
3316 Specify the device special file that belongs to your MJPEG card, by default
3317 the zr video output driver takes the first v4l device it can find.
3320 .B \-zrfd (\-vo zr only)
3321 Force decimation: Decimation, as specified by \-zrhdec and \-zrvdec, only
3322 happens if the hardware scaler can stretch the image to its original size.
3323 Use this option to force decimation.
3326 .B \-zrhdec <1|2|4> (\-vo zr only)
3327 Horizontal decimation: Ask the driver to send only every 2nd or 4th
3328 line/\:pixel of the input image to the MJPEG card and use the scaler
3329 of the MJPEG card to stretch the image to its original size.
3332 .B \-zrhelp (\-vo zr only)
3333 Display a list of all \-zr* options, their default values and a
3334 cinerama mode example.
3337 .B \-zrnorm <norm> (\-vo zr only)
3338 Specify the TV norm as PAL or NTSC (default: no change).
3341 .B \-zrquality <1\-20> (\-vo zr only)
3342 A number from 1 (best) to 20 (worst) representing the JPEG encoding quality.
3345 .B \-zrvdec <1|2|4> (\-vo zr only)
3346 Vertical decimation: Ask the driver to send only every 2nd or 4th
3347 line/\:pixel of the input image to the MJPEG card and use the scaler
3348 of the MJPEG card to stretch the image to its original size.
3351 .B \-zrxdoff <x display offset> (\-vo zr only)
3352 If the movie is smaller than the TV screen, this option specifies the x
3353 offset from the upper-left corner of the TV screen (default: centered).
3356 .B \-zrydoff <y display offset> (\-vo zr only)
3357 If the movie is smaller than the TV screen, this option specifies the y
3358 offset from the upper-left corner of the TV screen (default: centered).
3362 .SH "VIDEO OUTPUT DRIVERS (MPLAYER ONLY)"
3363 Video output drivers are interfaces to different video output facilities.
3364 The syntax is:
3367 .B \-vo <driver1[:suboption1[=value]:...],driver2,...[,]>
3368 Specify a priority list of video output drivers to be used.
3370 If the list has a trailing ',' MPlayer will fall back on drivers not
3371 contained in the list.
3372 Suboptions are optional and can mostly be omitted.
3374 .I NOTE:
3375 See \-vo help for a list of compiled-in video output drivers.
3376 .sp 1
3377 .I EXAMPLE:
3378 .PD 0
3379 .RSs
3380 .IPs "\-vo xmga,xv,"
3381 Try the Matrox X11 driver, then the Xv driver, then others.
3382 .IPs "\-vo directx:noaccel"
3383 Uses the DirectX driver with acceleration features turned off.
3385 .PD 1
3386 .sp 1
3387 Available video output drivers are:
3390 .B xv (X11 only)
3391 Uses the XVideo extension of XFree86 4.x to enable hardware
3392 accelerated playback.
3393 If you cannot use a hardware specific driver, this is probably
3394 the best option.
3395 For information about what colorkey is used and how it is drawn run MPlayer
3396 with \-v option and look out for the lines tagged with [xv common] at the
3397 beginning.
3398 .PD 0
3399 .RSs
3400 .IPs adaptor=<number>
3401 Select a specific XVideo adaptor (check xvinfo results).
3402 .IPs port=<number>
3403 Select a specific XVideo port.
3404 .IPs ck=<cur|use|set>
3405 Select the source from which the colorkey is taken (default: cur).
3406 .RSss
3407 .IPs cur
3408 The default takes the colorkey currently set in Xv.
3409 .IPs use
3410 Use but do not set the colorkey from MPlayer (use \-colorkey option to change
3411 it).
3412 .IPs set
3413 Same as use but also sets the supplied colorkey.
3415 .IPs ck-method=<man|bg|auto>
3416 Sets the colorkey drawing method (default: man).
3417 .RSss
3418 .IPs man
3419 Draw the colorkey manually (reduces flicker in some cases).
3420 .IPs bg
3421 Set the colorkey as window background.
3422 .IPs auto
3423 Let Xv draw the colorkey.
3426 .PD 1
3429 .B x11 (X11 only)
3430 Shared memory video output driver without hardware acceleration that
3431 works whenever X11 is present.
3434 .B xover (X11 only)
3435 Adds X11 support to all overlay based video output drivers.
3436 Currently only supported by tdfx_vid.
3437 .PD 0
3438 .RSs
3439 .IPs <vo_driver>
3440 Select the driver to use as source to overlay on top of X11.
3442 .PD 1
3445 .B vdpau (with \-vc ffmpeg12vdpau, ffwmv3vdpau, ffvc1vdpau or ffh264vdpau)
3446 Video output that uses VDPAU to decode video via hardware.
3447 Also supports displaying of software-decoded video.
3448 .PD 0
3449 .RSs
3450 .IPs sharpen=<\-1\-1>
3451 For positive values, apply a sharpening algorithm to the video,
3452 for negative values a blurring algorithm (default: 0).
3453 .IPs denoise=<0\-1>
3454 Apply a noise reduction algorithm to the video (default: 0, no noise reduction).
3455 .IPs deint=<0\-4>
3456 Chooses the deinterlacer (default: 0).
3457 All modes > 0 respect \-field\-dominance.
3458 .RSss
3459 .IPs 0
3460 No deinterlacing.
3461 .IPs 1
3462 Show only first field, similar to \-vf field.
3463 .IPs 2
3464 Bob deinterlacing, similar to \-vf tfields=1.
3465 .IPs 3
3466 Motion adaptive temporal deinterlacing.
3467 May lead to A/V desync with slow video hardware and/or high resolution.
3468 This is the default if "D" is used to enable deinterlacing.
3469 .IPs 4
3470 Motion adaptive temporal deinterlacing with edge-guided spatial interpolation.
3471 Needs fast video hardware.
3473 .IPs chroma\-deint
3474 Makes temporal deinterlacers operate both on luma and chroma (default).
3475 Use nochroma\-deint to solely use luma and speed up advanced deinterlacing.
3476 Useful with slow video memory.
3477 .IPs pullup
3478 Try to apply inverse telecine, needs motion adaptive temporal deinterlacing.
3480 .PD 1 
3483 .B xvmc (X11 with \-vc ffmpeg12mc only)
3484 Video output driver that uses the XvMC (X Video Motion Compensation)
3485 extension of XFree86 4.x to speed up MPEG-1/2 and VCR2 decoding.
3486 .PD 0
3487 .RSs
3488 .IPs adaptor=<number>
3489 Select a specific XVideo adaptor (check xvinfo results).
3490 .IPs port=<number>
3491 Select a specific XVideo port.
3492 .IPs (no)benchmark
3493 Disables image display.
3494 Necessary for proper benchmarking of drivers that change
3495 image buffers on monitor retrace only (nVidia).
3496 Default is not to disable image display (nobenchmark).
3497 .IPs (no)bobdeint
3498 Very simple deinterlacer.
3499 Might not look better than \-vf tfields=1,
3500 but it is the only deinterlacer for xvmc (default: nobobdeint).
3501 .IPs (no)queue
3502 Queue frames for display to allow more parallel work of the video hardware.
3503 May add a small (not noticeable) constant A/V desync (default: noqueue).
3504 .IPs (no)sleep
3505 Use sleep function while waiting for rendering to finish
3506 (not recommended on Linux) (default: nosleep).
3507 .IPs ck=cur|use|set
3508 Same as \-vo xv:ck (see \-vo xv).
3509 .IPs ck-method=man|bg|auto
3510 Same as \-vo xv:ck-method (see \-vo xv).
3512 .PD 1
3515 .B dga (X11 only)
3516 Play video through the XFree86 Direct Graphics Access extension.
3517 Considered obsolete.
3520 .B sdl (SDL only, buggy/outdated)
3521 Highly platform independent SDL (Simple Directmedia Layer) library
3522 video output driver.
3523 Since SDL uses its own X11 layer, MPlayer X11 options do not have
3524 any effect on SDL.
3525 Note that it has several minor bugs (\-vm/\-novm is mostly ignored,
3526 \-fs behaves like \-novm should, window is in top-left corner when
3527 returning from fullscreen, panscan is not supported, ...)
3528 .PD 0
3529 .RSs
3530 .IPs driver=<driver>
3531 Explicitly choose the SDL driver to use.
3532 .IPs (no)forcexv
3533 Use XVideo through the sdl video output driver (default: forcexv).
3534 .IPs (no)hwaccel
3535 Use hardware accelerated scaler (default: hwaccel).
3537 .PD 1
3540 .B "vidix\ \ "
3541 VIDIX (VIDeo Interface for *niX) is an interface to the
3542 video acceleration features of different graphics cards.
3543 Very fast video output driver on cards that support it.
3544 .PD 0
3545 .RSs
3546 .IPs <subdevice>
3547 Explicitly choose the VIDIX subdevice driver to use.
3548 Available subdevice drivers are cyberblade, ivtv, mach64,
3549 mga_crtc2, mga, nvidia, pm2, pm3, radeon, rage128, s3, sh_veu,
3550 sis_vid and unichrome.
3552 .PD 1
3555 .B xvidix (X11 only)
3556 X11 frontend for VIDIX
3557 .PD 0
3558 .RSs
3559 .IPs <subdevice>
3560 same as vidix
3562 .PD 1
3565 .B "cvidix\ "
3566 Generic and platform independent VIDIX frontend, can even run in a
3567 text console with nVidia cards.
3568 .PD 0
3569 .RSs
3570 .IPs <subdevice>
3571 same as vidix
3573 .PD 1
3576 .B winvidix (Windows only)
3577 Windows frontend for VIDIX
3578 .PD 0
3579 .RSs
3580 .IPs <subdevice>
3581 same as vidix
3583 .PD 1
3586 .B direct3d (Windows only) (BETA CODE!)
3587 Video output driver that uses the Direct3D interface (useful for Vista).
3590 .B directx (Windows only)
3591 Video output driver that uses the DirectX interface.
3592 .PD 0
3593 .RSs
3594 .IPs noaccel
3595 Turns off hardware acceleration.
3596 Try this option if you have display problems.
3598 .PD 1
3601 .B kva (OS/2 only)
3602 Video output driver that uses the libkva interface.
3603 .PD 0
3604 .RSs
3605 .IPs snap
3606 Force SNAP mode.
3607 .IPs wo
3608 Force WarpOverlay! mode.
3609 .IPs dive
3610 Force DIVE mode.
3611 .IPs (no)t23
3612 Enable/disable workaround for T23 laptop (default: \-not23).
3613 Try to enable this option if your video card supports upscaling only.
3615 .PD 1
3618 .B quartz (Mac OS X only)
3619 Mac OS X Quartz video output driver.
3620 Under some circumstances, it might be more efficient to force a
3621 packed YUV output format, with e.g.\& \-vf format=yuy2.
3622 .PD 0
3623 .RSs
3624 .IPs device_id=<number>
3625 Choose the display device to use in fullscreen.
3626 .IPs fs_res=<width>:<height>
3627 Specify the fullscreen resolution (useful on slow systems).
3629 .PD 1
3632 .B macosx (Mac OS X 10.4 or 10.3.9 with QuickTime 7)
3633 Mac OS X CoreVideo video output driver
3634 .PD 0
3635 .RSs
3636 .IPs device_id=<number>
3637 Choose the display device to use for fullscreen or set it to \-1 to
3638 always use the same screen the video window is on (default: \-1 \- auto).
3639 .IPs shared_buffer
3640 Write output to a shared memory buffer instead of displaying it and
3641 try to open an existing NSConnection for communication with a GUI.
3642 .IPs buffer_name=<name>
3643 Name of the shared buffer created with shm_open as well as the name of
3644 the NSConnection MPlayer will try to open (default: "mplayerosx").
3645 Setting buffer_name implicitly enables shared_buffer.
3647 .PD 1
3650 .B fbdev (Linux only)
3651 Uses the kernel framebuffer to play video.
3652 .PD 0
3653 .RSs
3654 .IPs <device>
3655 Explicitly choose the fbdev device name to use (e.g.\& /dev/\:fb0) or the
3656 name of the VIDIX subdevice if the device name starts with 'vidix'
3657 (e.g.\& 'vidixsis_vid' for the sis driver).
3659 .PD 1
3662 .B fbdev2 (Linux only)
3663 Uses the kernel framebuffer to play video,
3664 alternative implementation.
3665 .PD 0
3666 .RSs
3667 .IPs <device>
3668 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
3670 .PD 1
3673 .B "vesa\ \ \ "
3674 Very general video output driver that should work on any VESA VBE 2.0
3675 compatible card.
3676 .PD 0
3677 .RSs
3678 .IPs (no)dga
3679 Turns DGA mode on or off (default: on).
3680 .IPs neotv_pal
3681 Activate the NeoMagic TV out and set it to PAL norm.
3682 .IPs neotv_ntsc
3683 Activate the NeoMagic TV out and set it to NTSC norm.
3684 .IPs vidix
3685 Use the VIDIX driver.
3686 .IPs "lvo:\ \ \ "
3687 Activate the Linux Video Overlay on top of VESA mode.
3689 .PD 1
3692 .B "svga\ \ \ "
3693 Play video using the SVGA library.
3694 .PD 0
3695 .RSs
3696 .IPs "<video mode>"
3697 Specify video mode to use.
3698 The mode can be given in a <width>x<height>x<colors> format,
3699 e.g.\& 640x480x16M or be a graphics mode number, e.g.\& 84.
3700 .IPs bbosd
3701 Draw OSD into black bands below the movie (slower).
3702 .IPs native
3703 Use only native drawing functions.
3704 This avoids direct rendering, OSD and hardware acceleration.
3705 .IPs retrace
3706 Force frame switch on vertical retrace.
3707 Usable only with \-double.
3708 It has the same effect as the \-vsync option.
3709 .IPs "sq\ \ \ "
3710 Try to select a video mode with square pixels.
3711 .IPs vidix
3712 Use svga with VIDIX.
3714 .PD 1
3717 .B "gl\ \ \ \ \ "
3718 OpenGL video output driver, simple version.
3719 Video size must be smaller than
3720 the maximum texture size of your OpenGL implementation.
3721 Intended to work even with the most basic OpenGL implementations,
3722 but also makes use of newer extensions, which allow support for more
3723 colorspaces and direct rendering.
3724 For optimal speed try something similar to
3726 \-vo gl:yuv=2:rectangle=2:force\-pbo:ati\-hack \-dr \-noslices
3728 The code performs very few checks, so if a feature does not work, this
3729 might be because it is not supported by your card/OpenGL implementation
3730 even if you do not get any error message.
3731 Use glxinfo or a similar tool to display the supported OpenGL extensions.
3732 .PD 0
3733 .RSs
3734 .IPs (no)ati\-hack
3735 ATI drivers may give a corrupted image when PBOs are used (when using \-dr
3736 or force\-pbo).
3737 This option fixes this, at the expense of using a bit more memory.
3738 .IPs (no)force\-pbo
3739 Always uses PBOs to transfer textures even if this involves an extra copy.
3740 Currently this gives a little extra speed with NVidia drivers and a lot more
3741 speed with ATI drivers.
3742 May need \-noslices and the ati\-hack suboption to work correctly.
3743 .IPs (no)scaled-osd
3744 Changes the way the OSD behaves when the size of the
3745 window changes (default: disabled).
3746 When enabled behaves more like the other video output drivers,
3747 which is better for fixed-size fonts.
3748 Disabled looks much better with FreeType fonts and uses the
3749 borders in fullscreen mode.
3750 Does not work correctly with ass subtitles (see \-ass), you can instead
3751 render them without OpenGL support via \-vf ass.
3752 .IPs osdcolor=<0xAARRGGBB>
3753 Color for OSD (default: 0x00ffffff, corresponds to non-transparent white).
3754 .IPs rectangle=<0,1,2>
3755 Select usage of rectangular textures which saves video RAM, but often is
3756 slower (default: 0).
3757 .RSss
3758 0: Use power-of-two textures (default).
3760 1: Use the GL_ARB_texture_rectangle extension.
3762 2: Use the GL_ARB_texture_non_power_of_two extension.
3763 In some cases only supported in software and thus very slow.
3765 .IPs swapinterval=<n>
3766 Minimum interval between two buffer swaps, counted in
3767 displayed frames (default: 1).
3768 1 is equivalent to enabling VSYNC, 0 to disabling VSYNC.
3769 Values below 0 will leave it at the system default.
3770 This limits the framerate to (horizontal refresh rate / n).
3771 Requires GLX_SGI_swap_control support to work.
3772 With some (most/all?) implementations this only works in fullscreen mode.
3773 .IPs yuv=<n>
3774 Select the type of YUV to RGB conversion.
3775 .RSss
3776 0: Use software conversion (default).
3777 Compatible with all OpenGL versions.
3778 Provides brightness, contrast and saturation control.
3780 1: Use register combiners.
3781 This uses an nVidia-specific extension (GL_NV_register_combiners).
3782 At least three texture units are needed.
3783 Provides saturation and hue control.
3784 This method is fast but inexact.
3786 2: Use a fragment program.
3787 Needs the GL_ARB_fragment_program extension and at least three texture units.
3788 Provides brightness, contrast, saturation and hue control.
3790 3: Use a fragment program using the POW instruction.
3791 Needs the GL_ARB_fragment_program extension and at least three texture units.
3792 Provides brightness, contrast, saturation, hue and gamma control.
3793 Gamma can also be set independently for red, green and blue.
3794 Method 4 is usually faster.
3796 4: Use a fragment program with additional lookup.
3797 Needs the GL_ARB_fragment_program extension and at least four texture units.
3798 Provides brightness, contrast, saturation, hue and gamma control.
3799 Gamma can also be set independently for red, green and blue.
3801 5: Use ATI-specific method (for older cards).
3802 This uses an ATI-specific extension (GL_ATI_fragment_shader \- not
3803 GL_ARB_fragment_shader!).
3804 At least three texture units are needed.
3805 Provides saturation and hue control.
3806 This method is fast but inexact.
3808 6: Use a 3D texture to do conversion via lookup.
3809 Needs the GL_ARB_fragment_program extension and at least four texture units.
3810 Extremely slow (software emulation) on some (all?) ATI cards since it uses
3811 a texture with border pixels.
3812 Provides brightness, contrast, saturation, hue and gamma control.
3813 Gamma can also be set independently for red, green and blue.
3814 Speed depends more on GPU memory bandwidth than other methods.
3816 .IPs ycbcr
3817 Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB.
3818 In most cases this is probably slower than doing software conversion to RGB.
3819 .IPs lscale=<n>
3820 Select the scaling function to use for luminance scaling.
3821 Only valid for yuv modes 2, 3, 4 and 6.
3822 .RSss
3823 0: Use simple linear filtering (default).
3825 1: Use bicubic B-spline filtering (better quality).
3826 Needs one additional texture unit.
3827 Older cards will not be able to handle this for chroma at least in fullscreen mode.
3829 2: Use cubic filtering in horizontal, linear filtering in vertical direction.
3830 Works on a few more cards than method 1.
3832 3: Same as 1 but does not use a lookup texture.
3833 Might be faster on some cards.
3835 4: Use experimental unsharp masking with 3x3 support and a default strength of 0.5 (see filter-strength).
3837 5: Use experimental unsharp masking with 5x5 support and a default strength of 0.5 (see filter-strength).
3839 .IPs cscale=<n>
3840 Select the scaling function to use for chrominance scaling.
3841 For details see lscale.
3842 .IPs filter-strength=<value>
3843 Set the effect strength for the lscale/cscale filters that support it.
3844 .IPs customprog=<filename>
3845 Load a custom fragment program from <filename>.
3846 See TOOLS/edgedect.fp for an example.
3847 .IPs customtex=<filename>
3848 Load a custom "gamma ramp" texture from <filename>.
3849 This can be used in combination with yuv=4 or with the customprog option.
3850 .IPs (no)customtlin
3851 If enabled (default) use GL_LINEAR interpolation, otherwise use GL_NEAREST
3852 for customtex texture.
3853 .IPs (no)customtrect
3854 If enabled, use texture_rectangle for customtex texture.
3855 Default is disabled.
3857 .sp 1
3859 Normally there is no reason to use the following options, they mostly
3860 exist for testing purposes.
3862 .sp 1
3863 .RSs
3864 .IPs (no)glfinish
3865 Call glFinish() before swapping buffers.
3866 Slower but in some cases more correct output (default: disabled).
3867 .IPs (no)manyfmts
3868 Enables support for more (RGB and BGR) color formats (default: enabled).
3869 Needs OpenGL version >= 1.2.
3870 .IPs slice-height=<0\-...>
3871 Number of lines copied to texture in one piece (default: 0).
3872 0 for whole image.
3874 .I NOTE:
3875 If YUV colorspace is used (see yuv suboption), special rules apply:
3876 .RSss
3877 If the decoder uses slice rendering (see \-noslices), this setting
3878 has no effect, the size of the slices as provided by the decoder is used.
3880 If the decoder does not use slice rendering, the default is 16.
3882 .IPs (no)osd
3883 Enable or disable support for OSD rendering via OpenGL (default: enabled).
3884 This option is for testing; to disable the OSD use \-osdlevel 0 instead.
3885 .IPs (no)aspect
3886 Enable or disable aspect scaling and pan-and-scan support (default: enabled).
3887 Disabling might increase speed.
3888 .REss
3890 .PD 1
3893 .B "gl2\ \ \ \ "
3894 Variant of the OpenGL video output driver.
3895 Supports videos larger than the maximum texture size but lacks many of the
3896 advanced features and optimizations of the gl driver and is unlikely to be
3897 extended further.
3898 .PD 0
3899 .RSs
3900 .IPs (no)glfinish
3901 same as gl (default: enabled)
3902 .IPs yuv=<n>
3903 Select the type of YUV to RGB conversion.
3904 If set to anything except 0 OSD will be disabled and brightness, contrast and
3905 gamma setting is only available via the global X server settings.
3906 Apart from this the values have the same meaning as for \-vo gl.
3907 .REss
3910 .B "null\ \ \ "
3911 Produces no video output.
3912 Useful for benchmarking.
3915 .B "aa\ \ \ \ \ "
3916 ASCII art video output driver that works on a text console.
3917 You can get a list and an explanation of available suboptions
3918 by executing 'mplayer \-vo aa:help'.
3920 .I NOTE:
3921 The driver does not handle \-aspect correctly.
3923 .I HINT:
3924 You probably have to specify \-monitorpixelaspect.
3925 Try 'mplayer \-vo aa \-monitorpixelaspect 0.5'.
3928 .B "caca\ \ \ "
3929 Color ASCII art video output driver that works on a text console.
3932 .B "bl\ \ \ \ \ "
3933 Video playback using the Blinkenlights UDP protocol.
3934 This driver is highly hardware specific.
3935 .PD 0
3936 .RSs
3937 .IPs <subdevice>
3938 Explicitly choose the Blinkenlights subdevice driver to use.
3939 It is something like arcade:host=localhost:2323 or
3940 hdl:file=name1,file=name2.
3941 You must specify a subdevice.
3943 .PD 1
3946 .B "ggi\ \ \ \ "
3947 GGI graphics system video output driver
3948 .PD 0
3949 .RSs
3950 .IPs <driver>
3951 Explicitly choose the GGI driver to use.
3952 Replace any ',' that would appear in the driver string by a '.'.
3954 .PD 1
3957 .B directfb
3958 Play video using the DirectFB library.
3959 .PD 0
3960 .RSs
3961 .IPs (no)input
3962 Use the DirectFB instead of the MPlayer keyboard code (default: enabled).
3963 .IPs buffermode=single|double|triple
3964 Double and triple buffering give best results if you want to avoid tearing issues.
3965 Triple buffering is more efficient than double buffering as it does
3966 not block MPlayer while waiting for the vertical retrace.
3967 Single buffering should be avoided (default: single).
3968 .IPs fieldparity=top|bottom
3969 Control the output order for interlaced frames (default: disabled).
3970 Valid values are top = top fields first, bottom = bottom fields first.
3971 This option does not have any effect on progressive film material
3972 like most MPEG movies are.
3973 You need to enable this option if you have tearing issues or unsmooth
3974 motions watching interlaced film material.
3975 .IPs layer=N
3976 Will force layer with ID N for playback (default: \-1 \- auto).
3977 .IPs dfbopts=<list>
3978 Specify a parameter list for DirectFB.
3980 .PD 1
3983 .B "dfbmga\ "
3984 Matrox G400/\:G450/\:G550 specific video output driver that uses the
3985 DirectFB library to make use of special hardware features.
3986 Enables CRTC2 (second head), displaying video independently of the first head.
3987 .PD 0
3988 .RSs
3989 .IPs (no)input
3990 same as directfb (default: disabled)
3991 .IPs buffermode=single|double|triple
3992 same as directfb (default: triple)
3993 .IPs fieldparity=top|bottom
3994 same as directfb
3995 .IPs (no)bes
3996 Enable the use of the Matrox BES (backend scaler) (default: disabled).
3997 Gives very good results concerning speed and output quality as interpolated
3998 picture processing is done in hardware.
3999 Works only on the primary head.
4000 .IPs (no)spic
4001 Make use of the Matrox sub picture layer to display the OSD (default: enabled).
4002 .IPs (no)crtc2
4003 Turn on TV-out on the second head (default: enabled).
4004 The output quality is amazing as it is a full interlaced picture
4005 with proper sync to every odd/\:even field.
4006 .IPs tvnorm=pal|ntsc|auto
4007 Will set the TV norm of the Matrox card without the need
4008 for modifying /etc/\:directfbrc (default: disabled).
4009 Valid norms are pal = PAL, ntsc = NTSC.
4010 Special norm is auto (auto-adjust using PAL/\:NTSC) because it decides
4011 which norm to use by looking at the framerate of the movie.
4013 .PD 1
4016 .B mga (Linux only)
4017 Matrox specific video output driver that makes use of the YUV back
4018 end scaler on Gxxx cards through a kernel module.
4019 If you have a Matrox card, this is the fastest option.
4020 .PD 0
4021 .RSs
4022 .IPs <device>
4023 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4025 .PD 1
4028 .B xmga (Linux, X11 only)
4029 The mga video output driver, running in an X11 window.
4030 .PD 0
4031 .RSs
4032 .IPs <device>
4033 Explicitly choose the Matrox device name to use (default: /dev/\:mga_vid).
4035 .PD 1
4038 .B s3fb (Linux only) (also see \-vf yuv2 and \-dr)
4039 S3 Virge specific video output driver.
4040 This driver supports the card's YUV conversion and scaling, double
4041 buffering and direct rendering features.
4042 Use \-vf yuy2 to get hardware-accelerated YUY2 rendering, which is
4043 much faster than YV12 on this card.
4044 .PD 0
4045 .RSs
4046 .IPs <device>
4047 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4049 .PD 1
4052 .B wii (Linux only)
4053 Nintendo Wii/GameCube specific video output driver.
4056 .B 3dfx (Linux only)
4057 3dfx-specific video output driver that directly uses
4058 the hardware on top of X11.
4059 Only 16 bpp are supported.
4062 .B tdfxfb (Linux only)
4063 This driver employs the tdfxfb framebuffer driver to play movies with
4064 YUV acceleration on 3dfx cards.
4065 .PD 0
4066 .RSs
4067 .IPs <device>
4068 Explicitly choose the fbdev device name to use (default: /dev/\:fb0).
4070 .PD 1
4073 .B tdfx_vid (Linux only)
4074 3dfx-specific video output driver that works in combination with
4075 the tdfx_vid kernel module.
4076 .PD 0
4077 .RSs
4078 .IPs <device>
4079 Explicitly choose the device name to use (default: /dev/\:tdfx_vid).
4081 .PD 1
4084 .B dxr2 (also see \-dxr2) (DXR2 only)
4085 Creative DXR2 specific video output driver.
4086 .PD 0
4087 .RSs
4088 .IPs <vo_driver>
4089 Output video subdriver to use as overlay (x11, xv).
4091 .PD 1
4094 .B dxr3 (DXR3 only)
4095 Sigma Designs em8300 MPEG decoder chip (Creative DXR3, Sigma Designs
4096 Hollywood Plus) specific video output driver.
4097 Also see the lavc video filter.
4098 .PD 0
4099 .RSs
4100 .IPs overlay
4101 Activates the overlay instead of TV-out.
4102 .IPs prebuf
4103 Turns on prebuffering.
4104 .IPs "sync\ "
4105 Will turn on the new sync-engine.
4106 .IPs norm=<norm>
4107 Specifies the TV norm.
4108 .RSss
4109 0: Does not change current norm (default).
4111 1: Auto-adjust using PAL/\:NTSC.
4113 2: Auto-adjust using PAL/\:PAL-60.
4115 3: PAL
4117 4: PAL-60
4119 5: NTSC
4121 .IPs <0\-3>
4122 Specifies the device number to use if you have more than one em8300 card.
4124 .PD 1
4127 .B ivtv (IVTV only)
4128 Conexant CX23415 (iCompression iTVC15) or Conexant CX23416 (iCompression
4129 iTVC16) MPEG decoder chip (Hauppauge WinTV PVR-150/250/350/500)
4130 specific video output driver for TV-out.
4131 Also see the lavc video filter.
4132 .PD 0
4133 .RSs
4134 .IPs <device>
4135 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4136 .IPs <output>
4137 Explicitly choose the TV-out output to be used for the video signal.
4139 .PD 1
4142 .B v4l2 (requires Linux 2.6.22+ kernel)
4143 Video output driver for V4L2 compliant cards with built-in hardware MPEG decoder.
4144 Also see the lavc video filter.
4145 .PD 0
4146 .RSs
4147 .IPs <device>
4148 Explicitly choose the MPEG decoder device name to use (default: /dev/video16).
4149 .IPs <output>
4150 Explicitly choose the TV-out output to be used for the video signal.
4152 .PD 1
4155 .B mpegpes (DVB only)
4156 Video output driver for DVB cards that writes the output to an MPEG-PES file
4157 if no DVB card is installed.
4158 .PD 0
4159 .RSs
4160 .IPs card=<1\-4>
4161 Specifies the device number to use if you have more than one DVB output card
4162 (V3 API only, such as 1.x.y series drivers).
4163 If not specified MPlayer will search the first usable card.
4164 .IPs <filename>
4165 output filename (default: ./grab.mpg)
4167 .PD 1
4170 .B zr (also see \-zr* and \-zrhelp)
4171 Video output driver for a number of MJPEG capture/\:playback cards.
4174 .B zr2 (also see the zrmjpeg video filter)
4175 Video output driver for a number of MJPEG capture/\:playback cards,
4176 second generation.
4177 .PD 0
4178 .RSs
4179 .IPs dev=<device>
4180 Specifies the video device to use.
4181 .IPs norm=<PAL|NTSC|SECAM|auto>
4182 Specifies the video norm to use (default: auto).
4183 .IPs (no)prebuf
4184 (De)Activate prebuffering, not yet supported.
4186 .PD 1
4189 .B "md5sum\ "
4190 Calculate MD5 sums of each frame and write them to a file.
4191 Supports RGB24 and YV12 colorspaces.
4192 Useful for debugging.
4193 .PD 0
4194 .RSs
4195 .IPs outfile=<value>
4196 Specify the output filename (default: ./md5sums).
4198 .PD 1
4201 .B yuv4mpeg
4202 Transforms the video stream into a sequence of uncompressed YUV 4:2:0
4203 images and stores it in a file (default: ./stream.yuv).
4204 The format is the same as the one employed by mjpegtools, so this is
4205 useful if you want to process the video with the mjpegtools suite.
4206 It supports the YV12, RGB (24 bpp) and BGR (24 bpp) format.
4207 You can combine it with the \-fixed\-vo option to concatenate files
4208 with the same dimensions and fps value.
4209 .PD 0
4210 .RSs
4211 .IPs interlaced
4212 Write the output as interlaced frames, top field first.
4213 .IPs interlaced_bf
4214 Write the output as interlaced frames, bottom field first.
4215 .IPs file=<filename>
4216 Write the output to <filename> instead of the default stream.yuv.
4217 .REss
4218 .PD 1
4220 .sp 1
4221 .I NOTE:
4222 If you do not specify any option the output is progressive
4223 (i.e.\& not interlaced).
4227 .B "gif89a\ "
4228 Output each frame into a single animated GIF file in the current directory.
4229 It supports only RGB format with 24 bpp and the output is converted to 256
4230 colors.
4231 .PD 0
4232 .RSs
4233 .IPs <fps>
4234 Float value to specify framerate (default: 5.0).
4235 .IPs <output>
4236 Specify the output filename (default: ./out.gif).
4237 .REss
4238 .PD 1
4240 .sp 1
4241 .I NOTE:
4242 You must specify the framerate before the filename or the framerate will
4243 be part of the filename.
4244 .sp 1
4245 .I EXAMPLE:
4247 .PD 0
4248 .RSs
4249 mplayer video.nut \-vo gif89a:fps=15:output=test.gif
4251 .PD 1
4254 .B "jpeg\ \ \ "
4255 Output each frame into a JPEG file in the current directory.
4256 Each file takes the frame number padded with leading zeros as name.
4257 .PD 0
4258 .RSs
4259 .IPs [no]progressive
4260 Specify standard or progressive JPEG (default: noprogressive).
4261 .IPs [no]baseline
4262 Specify use of baseline or not (default: baseline).
4263 .IPs optimize=<0\-100>
4264 optimization factor (default: 100)
4265 .IPs smooth=<0\-100>
4266 smooth factor (default: 0)
4267 .IPs quality=<0\-100>
4268 quality factor (default: 75)
4269 .IPs outdir=<dirname>
4270 Specify the directory to save the JPEG files to (default: ./).
4271 .IPs subdirs=<prefix>
4272 Create numbered subdirectories with the specified prefix to
4273 save the files in instead of the current directory.
4274 .IPs "maxfiles=<value> (subdirs only)"
4275 Maximum number of files to be saved per subdirectory.
4276 Must be equal to or larger than 1 (default: 1000).
4278 .PD 1
4281 .B "pnm\ \ \ \ "
4282 Output each frame into a PNM file in the current directory.
4283 Each file takes the frame number padded with leading zeros as name.
4284 It supports PPM, PGM and PGMYUV files in both raw and ASCII mode.
4285 Also see pnm(5), ppm(5) and pgm(5).
4286 .PD 0
4287 .RSs
4288 .IPs "ppm\ \ "
4289 Write PPM files (default).
4290 .IPs "pgm\ \ "
4291 Write PGM files.
4292 .IPs pgmyuv
4293 Write PGMYUV files.
4294 PGMYUV is like PGM, but it also contains the U and V plane, appended at the
4295 bottom of the picture.
4296 .IPs "raw\ \ "
4297 Write PNM files in raw mode (default).
4298 .IPs ascii
4299 Write PNM files in ASCII mode.
4300 .IPs outdir=<dirname>
4301 Specify the directory to save the PNM files to (default: ./).
4302 .IPs subdirs=<prefix>
4303 Create numbered subdirectories with the specified prefix to
4304 save the files in instead of the current directory.
4305 .IPs "maxfiles=<value> (subdirs only)"
4306 Maximum number of files to be saved per subdirectory.
4307 Must be equal to or larger than 1 (default: 1000).
4309 .PD 1
4312 .B "png\ \ \ \ "
4313 Output each frame into a PNG file in the current directory.
4314 Each file takes the frame number padded with leading zeros as name.
4315 24bpp RGB and BGR formats are supported.
4316 .PD 0
4317 .RSs
4318 .IPs z=<0\-9>
4319 Specifies the compression level.
4320 0 is no compression, 9 is maximum compression.
4321 .IPs outdir=<dirname>
4322 Specify the directory to save the PNG files to (default: ./).
4323 .IPs alpha (default: noalpha)
4324 Create PNG files with an alpha channel.
4325 Note that MPlayer in general does not support alpha, so this will only
4326 be useful in some rare cases.
4328 .PD 1
4331 .B "tga\ \ \ \ "
4332 Output each frame into a Targa file in the current directory.
4333 Each file takes the frame number padded with leading zeros as name.
4334 The purpose of this video output driver is to have a simple lossless
4335 image writer to use without any external library.
4336 It supports the BGR[A] color format, with 15, 24 and 32 bpp.
4337 You can force a particular format with the format video filter.
4338 .sp 1
4339 .I EXAMPLE:
4341 .PD 0
4342 .RSs
4343 mplayer video.nut \-vf format=bgr15 \-vo tga
4345 .PD 1
4349 .SH "DECODING/FILTERING OPTIONS"
4352 .B \-ac <[\-|+]codec1,[\-|+]codec2,...[,]>
4353 Specify a priority list of audio codecs to be used, according to their codec
4354 name in codecs.conf.
4355 Use a '\-' before the codec name to omit it.
4356 Use a '+' before the codec name to force it, this will likely crash!
4357 If the list has a trailing ',' MPlayer will fall back on codecs not
4358 contained in the list.
4360 .I NOTE:
4361 See \-ac help for a full list of available codecs.
4362 .sp 1
4363 .I EXAMPLE:
4364 .PD 0
4365 .RSs
4366 .IPs "\-ac mp3acm"
4367 Force the l3codeca.acm MP3 codec.
4368 .IPs "\-ac mad,"
4369 Try libmad first, then fall back on others.
4370 .IPs "\-ac hwac3,a52,"
4371 Try hardware AC-3 passthrough, software AC-3, then others.
4372 .IPs "\-ac hwdts,"
4373 Try hardware DTS passthrough, then fall back on others.
4374 .IPs "\-ac \-ffmp3,"
4375 Skip FFmpeg's MP3 decoder.
4377 .PD 1
4380 .B \-af\-adv <force=(0\-7):list=(filters)> (also see \-af)
4381 Specify advanced audio filter options:
4382 .RSs
4383 .IPs force=<0\-7>
4384 Forces the insertion of audio filters to one of the following:
4385 .RSss
4386 0: Use completely automatic filter insertion.
4388 1: Optimize for accuracy (default).
4390 2: Optimize for speed.
4391 .I Warning:
4392 Some features in the audio filters may silently fail,
4393 and the sound quality may drop.
4395 3: Use no automatic insertion of filters and no optimization.
4396 .I Warning:
4397 It may be possible to crash MPlayer using this setting.
4399 4: Use automatic insertion of filters according to 0 above,
4400 but use floating point processing when possible.
4402 5: Use automatic insertion of filters according to 1 above,
4403 but use floating point processing when possible.
4405 6: Use automatic insertion of filters according to 2 above,
4406 but use floating point processing when possible.
4408 7: Use no automatic insertion of filters according to 3 above,
4409 and use floating point processing when possible.
4410 .REss
4411 .IPs list=<filters>
4412 Same as \-af.
4416 .B \-afm <driver1,driver2,...>
4417 Specify a priority list of audio codec families to be used, according
4418 to their codec name in codecs.conf.
4419 Falls back on the default codecs if none of the given codec families work.
4421 .I NOTE:
4422 See \-afm help for a full list of available codec families.
4423 .sp 1
4424 .I EXAMPLE:
4425 .PD 0
4426 .RSs
4427 .IPs "\-afm ffmpeg"
4428 Try FFmpeg's libavcodec codecs first.
4429 .IPs "\-afm acm,dshow"
4430 Try Win32 codecs first.
4432 .PD 1
4435 .B \-aspect <ratio> (also see \-zoom)
4436 Override movie aspect ratio, in case aspect information is
4437 incorrect or missing in the file being played.
4438 .sp 1
4439 .I EXAMPLE:
4440 .PD 0
4441 .RSs
4442 \-aspect 4:3  or \-aspect 1.3333
4444 \-aspect 16:9 or \-aspect 1.7777
4446 .PD 1
4449 .B \-noaspect
4450 Disable automatic movie aspect ratio compensation.
4453 .B "\-field\-dominance <\-1\-1>"
4454 Set first field for interlaced content.
4455 Useful for deinterlacers that double the framerate: \-vf tfields=1,
4456 \-vf yadif=1, \-vo vdpau:deint and \-vo xvmc:bobdeint.
4457 .PD 0
4458 .RSs
4459 .IPs \-1
4460 auto (default): If the decoder does not export the appropriate information,
4461 it falls back to 0 (top field first).
4462 .IPs 0
4463 top field first
4464 .IPs 1
4465 bottom field first
4467 .PD 1
4470 .B "\-flip \ "
4471 Flip image upside-down.
4474 .B \-lavdopts <option1:option2:...> (DEBUG CODE)
4475 Specify libavcodec decoding parameters.
4476 Separate multiple options with a colon.
4477 .sp 1
4478 .I EXAMPLE:
4479 .PD 0
4480 .RSs
4481 \-lavdopts gray:skiploopfilter=all:skipframe=nonref
4483 .PD 1
4484 .sp 1
4486 Available options are:
4488 .RSs
4489 .IPs bitexact
4490 Only use bit-exact algorithms in all decoding steps (for codec testing).
4491 .IPs bug=<value>
4492 Manually work around encoder bugs.
4493 .RSss
4494 0: nothing
4496 1: autodetect bugs (default)
4498 2 (msmpeg4v3): some old lavc generated msmpeg4v3 files (no autodetection)
4500 4 (mpeg4): Xvid interlacing bug (autodetected if fourcc==XVIX)
4502 8 (mpeg4): UMP4 (autodetected if fourcc==UMP4)
4504 16 (mpeg4): padding bug (autodetected)
4506 32 (mpeg4): illegal vlc bug (autodetected per fourcc)
4508 64 (mpeg4): Xvid and DivX qpel bug (autodetected per fourcc/\:version)
4510 128 (mpeg4): old standard qpel (autodetected per fourcc/\:version)
4512 256 (mpeg4): another qpel bug (autodetected per fourcc/\:version)
4514 512 (mpeg4): direct-qpel-blocksize bug (autodetected per fourcc/\:version)
4516 1024 (mpeg4): edge padding bug (autodetected per fourcc/\:version)
4517 .REss
4518 .IPs debug=<value>
4519 Display debugging information.
4520 .RSss
4522 0: disabled
4524 1: picture info
4526 2: rate control
4528 4: bitstream
4530 8: macroblock (MB) type
4532 16: per-block quantization parameter (QP)
4534 32: motion vector
4536 0x0040: motion vector visualization (use \-noslices)
4538 0x0080: macroblock (MB) skip
4540 0x0100: startcode
4542 0x0200: PTS
4544 0x0400: error resilience
4546 0x0800: memory management control operations (H.264)
4548 0x1000: bugs
4550 0x2000: Visualize quantization parameter (QP), lower QP are tinted greener.
4552 0x4000: Visualize block types.
4553 .REss
4554 .IPs ec=<value>
4555 Set error concealment strategy.
4556 .RSss
4557 1: Use strong deblock filter for damaged MBs.
4559 2: iterative motion vector (MV) search (slow)
4561 3: all (default)
4562 .REss
4563 .IPs er=<value>
4564 Set error resilience strategy.
4565 .RSss
4567 0: disabled
4569 1: careful (Should work with broken encoders.)
4571 2: normal (default) (Works with compliant encoders.)
4573 3: aggressive (More checks, but might cause problems even for valid bitstreams.)
4575 4: very aggressive
4576 .REss
4577 .IPs "fast (MPEG-2, MPEG-4, and H.264 only)"
4578 Enable optimizations which do not comply to the specification and might
4579 potentially cause problems, like simpler dequantization, simpler motion
4580 compensation, assuming use of the default quantization matrix, assuming
4581 YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.
4582 .IPs "gray\ "
4583 grayscale only decoding (a bit faster than with color)
4584 .IPs "idct=<0\-99> (see \-lavcopts)"
4585 For best decoding quality use the same IDCT algorithm for decoding and encoding.
4586 This may come at a price in accuracy, though.
4587 .IPs lowres=<number>[,<w>]
4588 Decode at lower resolutions.
4589 Low resolution decoding is not supported by all codecs, and it will
4590 often result in ugly artifacts.
4591 This is not a bug, but a side effect of not decoding at full resolution.
4592 .RSss
4594 0: disabled
4596 1: 1/2 resolution
4598 2: 1/4 resolution
4600 3: 1/8 resolution
4601 .REss
4603 If <w> is specified lowres decoding will be used only if the width of the
4604 video is major than or equal to <w>.
4606 .B o=<key>=<value>[,<key>=<value>[,...]]
4607 Pass AVOptions to libavcodec decoder.
4608 Note, a patch to make the o= unneeded and pass all unknown options through
4609 the AVOption system is welcome.
4610 A full list of AVOptions can be found in the FFmpeg manual.
4611 Note that some options may conflict with MEncoder options.
4612 .sp 1
4614 .I EXAMPLE:
4616 .RSs
4617 .PD 0
4618 .IPs o=debug=pict
4619 .PD 1
4621 .IPs "sb=<number> (MPEG-2 only)"
4622 Skip the given number of macroblock rows at the bottom.
4623 .IPs "st=<number> (MPEG-2 only)"
4624 Skip the given number of macroblock rows at the top.
4625 .IPs "skiploopfilter=<skipvalue> (H.264 only)"
4626 Skips the loop filter (AKA deblocking) during H.264 decoding.
4627 Since the filtered frame is supposed to be used as reference
4628 for decoding dependent frames this has a worse effect on quality
4629 than not doing deblocking on e.g.\& MPEG-2 video.
4630 But at least for high bitrate HDTV this provides a big speedup with
4631 no visible quality loss.
4632 .sp 1
4633 <skipvalue> can be either one of the following:
4634 .RSss
4636 none: Never skip.
4638 default: Skip useless processing steps (e.g.\& 0 size packets in AVI).
4640 nonref: Skip frames that are not referenced (i.e.\& not used for
4641 decoding other frames, the error cannot "build up").
4643 bidir: Skip B-Frames.
4645 nonkey: Skip all frames except keyframes.
4647 all: Skip all frames.
4648 .REss
4649 .IPs "skipidct=<skipvalue> (MPEG-1/2 only)"
4650 Skips the IDCT step.
4651 This degrades quality a lot of in almost all cases
4652 (see skiploopfilter for available skip values).
4653 .IPs skipframe=<skipvalue>
4654 Skips decoding of frames completely.
4655 Big speedup, but jerky motion and sometimes bad artifacts
4656 (see skiploopfilter for available skip values).
4657 .IPs "threads=<1\-8> (MPEG-1/2 and H.264 only)"
4658 number of threads to use for decoding (default: 1)
4659 .IPs vismv=<value>
4660 Visualize motion vectors.
4661 .RSss
4663 0: disabled
4665 1: Visualize forward predicted MVs of P-frames.
4667 2: Visualize forward predicted MVs of B-frames.
4669 4: Visualize backward predicted MVs of B-frames.
4670 .REss
4671 .IPs vstats
4672 Prints some statistics and stores them in ./vstats_*.log.
4676 .B \-noslices
4677 Disable drawing video by 16-pixel height slices/\:bands, instead draws the
4678 whole frame in a single run.
4679 May be faster or slower, depending on video card and available cache.
4680 It has effect only with libmpeg2 and libavcodec codecs.
4683 .B \-nosound
4684 Do not play/\:encode sound.
4685 Useful for benchmarking.
4688 .B \-novideo
4689 Do not play/\:encode video.
4690 In many cases this will not work, use \-vc null \-vo null instead.
4693 .B \-pp <quality> (also see \-vf pp)
4694 Set the DLL postprocess level.
4695 This option is no longer usable with \-vf pp.
4696 It only works with Win32 DirectShow DLLs with internal postprocessing routines.
4697 The valid range of \-pp values varies by codec, it is mostly
4698 0\-6, where 0=disable, 6=slowest/\:best.
4701 .B \-pphelp (also see \-vf pp)
4702 Show a summary about the available postprocess filters and their usage.
4705 .B \-ssf <mode>
4706 Specifies software scaler parameters.
4707 .sp 1
4708 .I EXAMPLE:
4709 .PD 0
4710 .RSs
4711 \-vf scale \-ssf lgb=3.0
4713 .PD 1
4714 .PD 0
4715 .RSs
4716 .IPs lgb=<0\-100>
4717 gaussian blur filter (luma)
4718 .IPs cgb=<0\-100>
4719 gaussian blur filter (chroma)
4720 .IPs ls=<\-100\-100>
4721 sharpen filter (luma)
4722 .IPs cs=<\-100\-100>
4723 sharpen filter (chroma)
4724 .IPs chs=<h>
4725 chroma horizontal shifting
4726 .IPs cvs=<v>
4727 chroma vertical shifting
4729 .PD 1
4732 .B \-stereo <mode>
4733 Select type of MP2/\:MP3 stereo output.
4734 .PD 0
4735 .RSs
4736 .IPs 0
4737 stereo
4738 .IPs 1
4739 left channel
4740 .IPs 2
4741 right channel
4743 .PD 1
4746 .B \-sws <software scaler type> (also see \-vf scale and \-zoom)
4747 Specify the software scaler algorithm to be used with the \-zoom option.
4748 This affects video output drivers which lack hardware acceleration, e.g.\& x11.
4749 .sp 1
4750 Available types are:
4751 .sp 1
4752 .PD 0
4753 .RSs
4754 .IPs 0
4755 fast bilinear
4756 .IPs 1
4757 bilinear
4758 .IPs 2
4759 bicubic (good quality) (default)
4760 .IPs 3
4761 experimental
4762 .IPs 4
4763 nearest neighbor (bad quality)
4764 .IPs 5
4765 area
4766 .IPs 6
4767 luma bicubic / chroma bilinear
4768 .IPs 7
4769 gauss
4770 .IPs 8
4771 sincR
4772 .IPs 9
4773 lanczos
4774 .IPs 10
4775 natural bicubic spline
4777 .PD 1
4778 .sp 1
4780 .I NOTE:
4781 Some \-sws options are tunable.
4782 The description of the scale video filter has further information.
4786 .B \-vc <[\-|+]codec1,[\-|+]codec2,...[,]>
4787 Specify a priority list of video codecs to be used, according to their codec
4788 name in codecs.conf.
4789 Use a '\-' before the codec name to omit it.
4790 Use a '+' before the codec name to force it, this will likely crash!
4791 If the list has a trailing ',' MPlayer will fall back on codecs not
4792 contained in the list.
4794 .I NOTE:
4795 See \-vc help for a full list of available codecs.
4796 .sp 1
4797 .I EXAMPLE:
4798 .PD 0
4799 .RSs
4800 .IPs "\-vc divx"
4801 Force Win32/\:VfW DivX codec, no fallback.
4802 .IPs "\-vc \-divxds,\-divx,"
4803 Skip Win32 DivX codecs.
4804 .IPs "\-vc ffmpeg12,mpeg12,"
4805 Try libavcodec's MPEG-1/2 codec, then libmpeg2, then others.
4807 .PD 1
4810 .B \-vfm <driver1,driver2,...>
4811 Specify a priority list of video codec families to be used, according
4812 to their names in codecs.conf.
4813 Falls back on the default codecs if none of the given codec families work.
4815 .I NOTE:
4816 See \-vfm help for a full list of available codec families.
4817 .sp 1
4818 .I EXAMPLE:
4819 .PD 0
4820 .RSs
4821 .IPs "\-vfm ffmpeg,dshow,vfw"
4822 Try the libavcodec, then Directshow, then VfW codecs and fall back
4823 on others, if they do not work.
4824 .IPs "\-vfm xanim"
4825 Try XAnim codecs first.
4827 .PD 1
4830 .B \-x <x> (also see \-zoom) (MPlayer only)
4831 Scale image to width <x> (if software/\:hardware scaling is available).
4832 Disables aspect calculations.
4835 .B \-xvidopts <option1:option2:...>
4836 Specify additional parameters when decoding with Xvid.
4838 .I NOTE:
4839 Since libavcodec is faster than Xvid you might want to use the libavcodec
4840 postprocessing filter (\-vf pp) and decoder (\-vfm ffmpeg) instead.
4841 .sp 1
4842 Xvid's internal postprocessing filters:
4843 .PD 0
4844 .RSs
4845 .IPs "deblock-chroma (also see \-vf pp)"
4846 chroma deblock filter
4847 .IPs "deblock-luma (also see \-vf pp)"
4848 luma deblock filter
4849 .IPs "dering-luma (also see \-vf pp)"
4850 luma deringing filter
4851 .IPs "dering-chroma (also see \-vf pp)"
4852 chroma deringing filter
4853 .IPs "filmeffect (also see \-vf noise)"
4854 Adds artificial film grain to the video.
4855 May increase perceived quality, while lowering true quality.
4857 .sp 1
4859 rendering methods:
4861 .PD 0
4862 .RSs
4863 .IPs "dr2\ \ "
4864 Activate direct rendering method 2.
4865 .IPs nodr2
4866 Deactivate direct rendering method 2.
4868 .PD 1
4871 .B \-xy <value> (also see \-zoom)
4872 .PD 0
4873 .RSs
4874 .IPs value<=8
4875 Scale image by factor <value>.
4876 .IPs value>8
4877 Set width to value and calculate height to keep correct aspect ratio.
4879 .PD 1
4882 .B \-y <y> (also see \-zoom) (MPlayer only)
4883 Scale image to height <y> (if software/\:hardware scaling is available).
4884 Disables aspect calculations.
4887 .B "\-zoom\ \ "
4888 Allow software scaling, where available.
4889 This will allow scaling with output drivers (like x11, fbdev) that
4890 do not support hardware scaling where MPlayer disables scaling by
4891 default for performance reasons.
4895 .SH "AUDIO FILTERS"
4896 Audio filters allow you to modify the audio stream and its properties.
4897 The syntax is:
4900 .B \-af <filter1[=parameter1:parameter2:...],filter2,...>
4901 Setup a chain of audio filters.
4903 .I NOTE:
4904 To get a full list of available audio filters, see \-af help.
4905 .sp 1
4906 Audio filters are managed in lists.
4907 There are a few commands to manage the filter list.
4910 .B \-af\-add <filter1[,filter2,...]>
4911 Appends the filters given as arguments to the filter list.
4914 .B \-af\-pre <filter1[,filter2,...]>
4915 Prepends the filters given as arguments to the filter list.
4918 .B \-af\-del <index1[,index2,...]>
4919 Deletes the filters at the given indexes.
4920 Index numbers start at 0, negative numbers address the end of the
4921 list (\-1 is the last).
4924 .B \-af\-clr
4925 Completely empties the filter list.
4927 Available filters are:
4930 .B resample[=srate[:sloppy[:type]]]
4931 Changes the sample rate of the audio stream.
4932 Can be used if you have a fixed frequency sound card or if you are
4933 stuck with an old sound card that is only capable of max 44.1kHz.
4934 This filter is automatically enabled if necessary.
4935 It only supports 16-bit integer and float in native-endian format as input.
4937 .I NOTE:
4938 With MEncoder, you need to also use \-srate <srate>.
4939 .PD 0
4940 .RSs
4941 .IPs <srate>
4942 output sample frequency in Hz.
4943 The valid range for this parameter is 8000 to 192000.
4944 If the input and output sample frequency are the same or if this
4945 parameter is omitted the filter is automatically unloaded.
4946 A high sample frequency normally improves the audio quality,
4947 especially when used in combination with other filters.
4948 .IPs <sloppy>
4949 Allow (1) or disallow (0) the output frequency to differ slightly
4950 from the frequency given by <srate> (default: 1).
4951 Can be used if the startup of the playback is extremely slow.
4952 .IPs <type>
4953 Selects which resampling method to use.
4954 .RSss
4955 0: linear interpolation (fast, poor quality especially when upsampling)
4957 1: polyphase filterbank and integer processing
4959 2: polyphase filterbank and floating point processing (slow, best quality)
4960 .REss
4961 .PD 1
4963 .sp 1
4965 .I EXAMPLE:
4967 .PD 0
4968 .RSs
4969 .IPs "mplayer \-af resample=44100:0:0"
4970 would set the output frequency of the resample filter to 44100Hz using
4971 exact output frequency scaling and linear interpolation.
4973 .PD 1
4976 .B lavcresample[=srate[:length[:linear[:count[:cutoff]]]]]
4977 Changes the sample rate of the audio stream to an integer <srate> in Hz.
4978 It only supports the 16-bit native-endian format.
4980 .I NOTE:
4981 With MEncoder, you need to also use \-srate <srate>.
4982 .PD 0
4983 .RSs
4984 .IPs <srate>
4985 the output sample rate
4986 .IPs <length>
4987 length of the filter with respect to the lower sampling rate (default: 16)
4988 .IPs <linear>
4989 if 1 then filters will be linearly interpolated between polyphase entries
4990 .IPs <count>
4991 log2 of the number of polyphase entries
4992 (..., 10->1024, 11->2048, 12->4096, ...)
4993 (default: 10->1024)
4994 .IPs <cutoff>
4995 cutoff frequency (0.0\-1.0), default set depending upon filter length
4997 .PD 1
5000 .B lavcac3enc[=tospdif[:bitrate[:minchn]]]
5001 Encode multi-channel audio to AC-3 at runtime using libavcodec.
5002 Supports 16-bit native-endian input format, maximum 6 channels.
5003 The output is big-endian when outputting a raw AC-3 stream,
5004 native-endian when outputting to S/PDIF.
5005 The output sample rate of this filter is same with the input sample rate.
5006 When input sample rate is 48kHz, 44.1kHz, or 32kHz, this filter directly use it.
5007 Otherwise a resampling filter is auto-inserted before this filter to make
5008 the input and output sample rate be 48kHz.
5009 You need to specify '\-channels N' to make the decoder decode audio into
5010 N-channel, then the filter can encode the N-channel input to AC-3.
5012 .PD 0
5013 .RSs
5014 .IPs <tospdif>
5015 Output raw AC-3 stream if zero or not set,
5016 output to S/PDIF for passthrough when <tospdif> is set non-zero.
5017 .IPs <bitrate>
5018 The bitrate to encode the AC-3 stream.
5019 Set it to either 384 or 384000 to get 384kbits.
5020 Valid values: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256,
5021               320, 384, 448, 512, 576, 640
5022 Default bitrate is based on the input channel number:
5023 1ch: 96,  2ch: 192,  3ch: 224,  4ch: 384,  5ch: 448,  6ch: 448
5024 .IPs <minchn>
5025 If the input channel number is less than <minchn>, the filter will
5026 detach itself (default: 5).
5028 .PD 1
5031 .B sweep[=speed]
5032 Produces a sine sweep.
5033 .PD 0
5034 .RSs
5035 .IPs <0.0\-1.0>
5036 Sine function delta, use very low values to hear the sweep.
5038 .PD 1
5041 .B sinesuppress[=freq:decay]
5042 Remove a sine at the specified frequency.
5043 Useful to get rid of the 50/60Hz noise on low quality audio equipment.
5044 It probably only works on mono input.
5045 .PD 0
5046 .RSs
5047 .IPs <freq>
5048 The frequency of the sine which should be removed (in Hz) (default: 50)
5049 .IPs <decay>
5050 Controls the adaptivity (a larger value will make the filter adapt to
5051 amplitude and phase changes quicker, a smaller value will make the
5052 adaptation slower) (default: 0.0001).
5053 Reasonable values are around 0.001.
5055 .PD 1
5058 .B hrtf[=flag]
5059 Head-related transfer function: Converts multichannel audio to
5060 2 channel output for headphones, preserving the spatiality of the sound.
5061 .sp 1
5062 .PD 0
5064 .IPs "Flag  Meaning"
5065 .IPs "m     matrix decoding of the rear channel"
5066 .IPs "s     2-channel matrix decoding"
5067 .IPs "0     no matrix decoding (default)"
5069 .PD 1
5072 .B equalizer=[g1:g2:g3:...:g10]
5073 10 octave band graphic equalizer, implemented using 10 IIR band pass filters.
5074 This means that it works regardless of what type of audio is being played back.
5075 The center frequencies for the 10 bands are:
5076 .sp 1
5077 .PD 0
5079 .IPs "No. frequency"
5080 .IPs "0    31.25 Hz"
5081 .IPs "1    62.50 Hz"
5082 .IPs "2   125.00 Hz"
5083 .IPs "3   250.00 Hz"
5084 .IPs "4   500.00 Hz"
5085 .IPs "5    1.00 kHz"
5086 .IPs "6    2.00 kHz"
5087 .IPs "7    4.00 kHz"
5088 .IPs "8    8.00 kHz"
5089 .IPs "9   16.00 kHz"
5091 .PD 1
5092 .sp 1
5094 If the sample rate of the sound being played is lower than the center
5095 frequency for a frequency band, then that band will be disabled.
5096 A known bug with this filter is that the characteristics for the
5097 uppermost band are not completely symmetric if the sample
5098 rate is close to the center frequency of that band.
5099 This problem can be worked around by upsampling the sound
5100 using the resample filter before it reaches this filter.
5102 .PD 0
5103 .RSs
5104 .IPs <g1>:<g2>:<g3>:...:<g10>
5105 floating point numbers representing the gain in dB
5106 for each frequency band (\-12\-12)
5108 .sp 1
5110 .I EXAMPLE:
5112 .RSs
5113 .IPs "mplayer \-af equalizer=11:11:10:5:0:\-12:0:5:12:12 media.avi"
5114 Would amplify the sound in the upper and lower frequency region
5115 while canceling it almost completely around 1kHz.
5117 .PD 1
5120 .B channels=nch[:nr:from1:to1:from2:to2:from3:to3:...]
5121 Can be used for adding, removing, routing and copying audio channels.
5122 If only <nch> is given the default routing is used, it works as
5123 follows: If the number of output channels is bigger than the number of
5124 input channels empty channels are inserted (except mixing from mono to
5125 stereo, then the mono channel is repeated in both of the output
5126 channels).
5127 If the number of output channels is smaller than the number
5128 of input channels the exceeding channels are truncated.
5129 .PD 0
5130 .RSs
5131 .IPs <nch>
5132 number of output channels (1\-6)
5133 .IPs "<nr>\ "
5134 number of routes (1\-6)
5135 .IPs <from1:to1:from2:to2:from3:to3:...>
5136 Pairs of numbers between 0 and 5 that define where to route each channel.
5138 .sp 1
5140 .I EXAMPLE:
5142 .RSs
5143 .IPs "mplayer \-af channels=4:4:0:1:1:0:2:2:3:3 media.avi"
5144 Would change the number of channels to 4 and set up 4 routes that
5145 swap channel 0 and channel 1 and leave channel 2 and 3 intact.
5146 Observe that if media containing two channels was played back, channels
5147 2 and 3 would contain silence but 0 and 1 would still be swapped.
5148 .IPs "mplayer \-af channels=6:4:0:0:0:1:0:2:0:3 media.avi"
5149 Would change the number of channels to 6 and set up 4 routes
5150 that copy channel 0 to channels 0 to 3.
5151 Channel 4 and 5 will contain silence.
5153 .PD 1
5156 .B format[=format] (also see \-format)
5157 Convert between different sample formats.
5158 Automatically enabled when needed by the sound card or another filter.
5159 .PD 0
5160 .RSs
5161 .IPs <format>
5162 Sets the desired format.
5163 The general form is 'sbe', where 's' denotes the sign (either 's' for signed
5164 or 'u' for unsigned), 'b' denotes the number of bits per sample (16, 24 or 32)
5165 and 'e' denotes the endianness ('le' means little-endian, 'be' big-endian
5166 and 'ne' the endianness of the computer MPlayer is running on).
5167 Valid values (amongst others) are: 's16le', 'u32be' and 'u24ne'.
5168 Exceptions to this rule that are also valid format specifiers: u8, s8,
5169 floatle, floatbe, floatne, mulaw, alaw, mpeg2, ac3 and imaadpcm.
5171 .PD 1
5174 .B volume[=v[:sc]]
5175 Implements software volume control.
5176 Use this filter with caution since it can reduce the signal
5177 to noise ratio of the sound.
5178 In most cases it is best to set the level for the PCM sound to max,
5179 leave this filter out and control the output level to your
5180 speakers with the master volume control of the mixer.
5181 In case your sound card has a digital PCM mixer instead of an analog
5182 one, and you hear distortion, use the MASTER mixer instead.
5183 If there is an external amplifier connected to the computer (this
5184 is almost always the case), the noise level can be minimized by
5185 adjusting the master level and the volume knob on the amplifier
5186 until the hissing noise in the background is gone.
5188 This filter has a second feature: It measures the overall maximum
5189 sound level and prints out that level when MPlayer exits.
5190 This volume estimate can be used for setting the sound level in
5191 MEncoder such that the maximum dynamic range is utilized.
5193 .I NOTE:
5194 This filter is not reentrant and can therefore only be enabled
5195 once for every audio stream.
5196 .PD 0
5197 .RSs
5198 .IPs "<v>\ \ "
5199 Sets the desired gain in dB for all channels in the stream
5200 from \-200dB to +60dB, where \-200dB mutes the sound
5201 completely and +60dB equals a gain of 1000 (default: 0).
5202 .IPs "<sc>\ "
5203 Turns soft clipping on (1) or off (0).
5204 Soft-clipping can make the sound more smooth if very
5205 high volume levels are used.
5206 Enable this option if the dynamic range of the
5207 loudspeakers is very low.
5209 .I WARNING:
5210 This feature creates distortion and should be considered a last resort.
5212 .sp 1
5214 .I EXAMPLE:
5216 .RSs
5217 .IPs "mplayer \-af volume=10.1:0 media.avi"
5218 Would amplify the sound by 10.1dB and hard-clip if the
5219 sound level is too high.
5221 .PD 1
5224 .B pan=n[:L00:L01:L02:...L10:L11:L12:...Ln0:Ln1:Ln2:...]
5225 Mixes channels arbitrarily.
5226 Basically a combination of the volume and the channels filter
5227 that can be used to down-mix many channels to only a few,
5228 e.g.\& stereo to mono or vary the "width" of the center
5229 speaker in a surround sound system.
5230 This filter is hard to use, and will require some tinkering
5231 before the desired result is obtained.
5232 The number of options for this filter depends on
5233 the number of output channels.
5234 An example how to downmix a six-channel file to two channels with
5235 this filter can be found in the examples section near the end.
5236 .PD 0
5237 .RSs
5238 .IPs "<n>\ \ "
5239 number of output channels (1\-6)
5240 .IPs <Lij>
5241 How much of input channel i is mixed into output channel j (0\-1).
5242 So in principle you first have n numbers saying what to do with the
5243 first input channel, then n numbers that act on the second input channel
5244 etc.
5245 If you do not specify any numbers for some input channels, 0 is assumed.
5247 .sp 1
5249 .I EXAMPLE:
5251 .RSs
5252 .IPs "mplayer \-af pan=1:0.5:0.5 media.avi"
5253 Would down-mix from stereo to mono.
5254 .IPs "mplayer \-af pan=3:1:0:0.5:0:1:0.5 media.avi"
5255 Would give 3 channel output leaving channels 0 and 1 intact,
5256 and mix channels 0 and 1 into output channel 2 (which could
5257 be sent to a subwoofer for example).
5259 .PD 1
5262 .B sub[=fc:ch]
5263 Adds a subwoofer channel to the audio stream.
5264 The audio data used for creating the subwoofer channel is
5265 an average of the sound in channel 0 and channel 1.
5266 The resulting sound is then low-pass filtered by a 4th order
5267 Butterworth filter with a default cutoff frequency of 60Hz
5268 and added to a separate channel in the audio stream.
5270 .I Warning:
5271 Disable this filter when you are playing DVDs with Dolby
5272 Digital 5.1 sound, otherwise this filter will disrupt
5273 the sound to the subwoofer.
5274 .PD 0
5275 .RSs
5276 .IPs "<fc>\ "
5277 cutoff frequency in Hz for the low-pass filter (20Hz to 300Hz) (default: 60Hz)
5278 For the best result try setting the cutoff frequency as low as possible.
5279 This will improve the stereo or surround sound experience.
5280 .IPs "<ch>\ "
5281 Determines the channel number in which to insert the sub-channel audio.
5282 Channel number can be between 0 and 5 (default: 5).
5283 Observe that the number of channels will automatically
5284 be increased to <ch> if necessary.
5286 .sp 1
5288 .I EXAMPLE:
5290 .RSs
5291 .IPs "mplayer \-af sub=100:4 \-channels 5 media.avi"
5292 Would add a sub-woofer channel with a cutoff frequency of
5293 100Hz to output channel 4.
5295 .PD 1
5298 .B "center\ "
5299 Creates a center channel from the front channels.
5300 May currently be low quality as it does not implement a
5301 high-pass filter for proper extraction yet, but averages and
5302 halves the channels instead.
5303 .PD 0
5304 .RSs
5305 .IPs "<ch>\ "
5306 Determines the channel number in which to insert the center channel.
5307 Channel number can be between 0 and 5 (default: 5).
5308 Observe that the number of channels will automatically
5309 be increased to <ch> if necessary.
5311 .PD 1
5314 .B surround[=delay]
5315 Decoder for matrix encoded surround sound like Dolby Surround.
5316 Many files with 2 channel audio actually contain matrixed surround sound.
5317 Requires a sound card supporting at least 4 channels.
5318 .PD 0
5319 .RSs
5320 .IPs <delay>
5321 delay time in ms for the rear speakers (0 to 1000) (default: 20)
5322 This delay should be set as follows: If d1 is the distance
5323 from the listening position to the front speakers and d2 is the distance
5324 from the listening position to the rear speakers, then the delay should
5325 be set to 15ms if d1 <= d2 and to 15 + 5*(d1-d2) if d1 > d2.
5327 .sp 1
5329 .I EXAMPLE:
5331 .RSs
5332 .IPs "mplayer \-af surround=15 \-channels 4 media.avi"
5333 Would add surround sound decoding with 15ms delay for the sound to the
5334 rear speakers.
5336 .PD 1
5339 .B delay[=ch1:ch2:...]
5340 Delays the sound to the loudspeakers such that the sound from the
5341 different channels arrives at the listening position simultaneously.
5342 It is only useful if you have more than 2 loudspeakers.
5343 .PD 0
5344 .RSs
5345 .IPs ch1,ch2,...
5346 The delay in ms that should be imposed on each channel
5347 (floating point number between 0 and 1000).
5349 .PD 1
5350 .sp 1
5352 To calculate the required delay for the different channels do as follows:
5353 .IP 1. 3
5354 Measure the distance to the loudspeakers in meters in relation
5355 to your listening position, giving you the distances s1 to s5
5356 (for a 5.1 system).
5357 There is no point in compensating for the subwoofer (you will not hear the
5358 difference anyway).
5359 .IP 2. 3
5360 Subtract the distances s1 to s5 from the maximum distance,
5361 i.e.\& s[i] = max(s) \- s[i]; i = 1...5.
5362 .IP 3.
5363 Calculate the required delays in ms as d[i] = 1000*s[i]/342; i = 1...5.
5365 .PD 0
5366 .sp 1
5368 .I EXAMPLE:
5370 .RSs
5371 .IPs "mplayer \-af delay=10.5:10.5:0:0:7:0 media.avi"
5372 Would delay front left and right by 10.5ms, the two rear channels
5373 and the sub by 0ms and the center channel by 7ms.
5375 .PD 1
5378 .B export[=mmapped_file[:nsamples]]
5379 Exports the incoming signal to other processes using memory mapping (mmap()).
5380 Memory mapped areas contain a header:
5381 .sp 1
5383 int nch                      /*number of channels*/
5384 int size                     /*buffer size*/
5385 unsigned long long counter   /*Used to keep sync, updated every
5386                                time new data is exported.*/
5388 .sp 1
5389 The rest is payload (non-interleaved) 16 bit data.
5390 .PD 0
5391 .RSs
5392 .IPs <mmapped_file>
5393 file to map data to (default: ~/.mplayer/\:mplayer-af_export)
5394 .IPs <nsamples>
5395 number of samples per channel (default: 512)
5397 .sp 1
5399 .I EXAMPLE:
5401 .RSs
5402 .IPs "mplayer \-af export=/tmp/mplayer-af_export:1024 media.avi"
5403 Would export 1024 samples per channel to '/tmp/mplayer-af_export'.
5405 .PD 1
5408 .B extrastereo[=mul]
5409 (Linearly) increases the difference between left and right channels
5410 which adds some sort of "live" effect to playback.
5411 .PD 0
5412 .RSs
5413 .IPs <mul>
5414 Sets the difference coefficient (default: 2.5).
5415 0.0 means mono sound (average of both channels), with 1.0 sound will be
5416 unchanged, with \-1.0 left and right channels will be swapped.
5418 .PD 1
5421 .B volnorm[=method:target]
5422 Maximizes the volume without distorting the sound.
5423 .PD 0
5424 .RSs
5425 .IPs <method>
5426 Sets the used method.
5427 .RSss
5428 1: Use a single sample to smooth the variations via the standard
5429 weighted mean over past samples (default).
5431 2: Use several samples to smooth the variations via the standard
5432 weighted mean over past samples.
5433 .REss
5434 .IPs <target>
5435 Sets the target amplitude as a fraction of the maximum for the
5436 sample type (default: 0.25).
5438 .PD 1
5441 .B ladspa=file:label[:controls...]
5442 Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.
5443 This filter is reentrant, so multiple LADSPA plugins can be used at once.
5444 .PD 0
5445 .RSs
5446 .IPs <file>
5447 Specifies the LADSPA plugin library file.
5448 If LADSPA_PATH is set, it searches for the specified file.
5449 If it is not set, you must supply a fully specified pathname.
5450 .IPs <label>
5451 Specifies the filter within the library.
5452 Some libraries contain only one filter, but others contain many of them.
5453 Entering 'help' here, will list all available filters within the specified
5454 library, which eliminates the use of 'listplugins' from the LADSPA SDK.
5455 .IPs <controls>
5456 Controls are zero or more floating point values that determine the
5457 behavior of the loaded plugin (for example delay, threshold or gain).
5458 In verbose mode (add \-v to the MPlayer command line), all available controls
5459 and their valid ranges are printed.
5460 This eliminates the use of 'analyseplugin' from the LADSPA SDK.
5462 .PD 1
5465 .B "comp\ \ \ "
5466 Compressor/expander filter usable for microphone input.
5467 Prevents artifacts on very loud sound and raises the volume on
5468 very low sound.
5469 This filter is untested, maybe even unusable.
5472 .B "gate\ \ \ "
5473 Noise gate filter similar to the comp audio filter.
5474 This filter is untested, maybe even unusable.
5477 .B karaoke
5478 Simple voice removal filter exploiting the fact that voice is
5479 usually recorded with mono gear and later 'center' mixed onto
5480 the final audio stream.
5481 Beware that this filter will turn your signal into mono.
5482 Works well for 2 channel tracks; do not bother trying it
5483 on anything but 2 channel stereo.
5486 .B scaletempo[=option1:option2:...]
5487 Scales audio tempo without altering pitch, optionally synced to playback
5488 speed (default).
5490 This works by playing \'stride\' ms of audio at normal speed then
5491 consuming \'stride*scale\' ms of input audio.
5492 It pieces the strides together by blending \'overlap\'% of stride with
5493 audio following the previous stride.
5494 It optionally performs a short statistical analysis on the next \'search\'
5495 ms of audio to determine the best overlap position.
5496 .PD 0
5497 .RSs
5498 .IPs scale=<amount>
5499 Nominal amount to scale tempo.
5500 Scales this amount in addition to speed.
5501 (default: 1.0)
5502 .IPs stride=<amount>
5503 Length in milliseconds to output each stride.
5504 Too high of value will cause noticable skips at high scale amounts and
5505 an echo at low scale amounts.
5506 Very low values will alter pitch.
5507 Increasing improves performance.
5508 (default: 60)
5509 .IPs overlap=<percent>
5510 Percentage of stride to overlap.
5511 Decreasing improves performance.
5512 (default: .20)
5513 .IPs search=<amount>
5514 Length in milliseconds to search for best overlap position.
5515 Decreasing improves performance greatly.
5516 On slow systems, you will probably want to set this very low.
5517 (default: 14)
5518 .IPs speed=<tempo|pitch|both|none>
5519 Set response to speed change.
5520 .RSss
5521 .IPs tempo
5522 Scale tempo in sync with speed (default).
5523 .IPs pitch
5524 Reverses effect of filter.
5525 Scales pitch without altering tempo.
5526 Add \'[ speed_mult 0.9438743126816935\' and \'] speed_mult 1.059463094352953\'
5527 to your input.conf to step by musical semi-tones.
5528 .I WARNING:
5529 Loses sync with video.
5530 .IPs both
5531 Scale both tempo and pitch.
5532 .IPs none
5533 Ignore speed changes.
5536 .sp 1
5538 .I EXAMPLE:
5540 .RSs
5541 .IPs "mplayer \-af scaletempo \-speed 1.2 media.ogg"
5542 Would playback media at 1.2x normal speed, with audio at normal pitch.
5543 Changing playback speed, would change audio tempo to match.
5544 .IPs "mplayer \-af scaletempo=scale=1.2:speed=none \-speed 1.2 media.ogg"
5545 Would playback media at 1.2x normal speed, with audio at normal pitch,
5546 but changing playback speed has no effect on audio tempo.
5547 .IPs "mplayer \-af scaletempo=stride=30:overlap=.50:search=10 media.ogg"
5548 Would tweak the quality and performace parameters.
5549 .IPs "mplayer \-af format=floatne,scaletempo media.ogg"
5550 Would make scaletempo use float code.
5551 Maybe faster on some platforms.
5552 .IPs "mplayer \-af scaletempo=scale=1.2:speed=pitch audio.ogg"
5553 Would playback audio file at 1.2x normal speed, with audio at normal pitch.
5554 Changing playback speed, would change pitch, leaving audio tempo at 1.2x.
5556 .PD 1
5559 .B "stats\ \ "
5560 Collects and prints statistics about the audio stream, especially the volume.
5561 These statistics are especially intended to help adjusting the volume while
5562 avoiding clipping.
5563 The volumes are printed in dB and compatible with the volume audio filter.
5567 .SH "VIDEO FILTERS"
5568 Video filters allow you to modify the video stream and its properties.
5569 The syntax is:
5572 .B \-vf <filter1[=parameter1:parameter2:...],filter2,...>
5573 Setup a chain of video filters.
5575 Many parameters are optional and set to default values if omitted.
5576 To explicitly use a default value set a parameter to '\-1'.
5577 Parameters w:h means width x height in pixels, x:y means x;y position counted
5578 from the upper left corner of the bigger image.
5580 .I NOTE:
5581 To get a full list of available video filters, see \-vf help.
5582 .sp 1
5583 Video filters are managed in lists.
5584 There are a few commands to manage the filter list.
5587 .B \-vf\-add <filter1[,filter2,...]>
5588 Appends the filters given as arguments to the filter list.
5591 .B \-vf\-pre <filter1[,filter2,...]>
5592 Prepends the filters given as arguments to the filter list.
5595 .B \-vf\-del <index1[,index2,...]>
5596 Deletes the filters at the given indexes.
5597 Index numbers start at 0, negative numbers address the end of the
5598 list (\-1 is the last).
5601 .B \-vf\-clr
5602 Completely empties the filter list.
5604 With filters that support it, you can access parameters by their name.
5607 .B \-vf <filter>=help
5608 Prints the parameter names and parameter value ranges for a particular
5609 filter.
5612 .B \-vf <filter=named_parameter1=value1[:named_parameter2=value2:...]>
5613 Sets a named parameter to the given value.
5614 Use on and off or yes and no to set flag parameters.
5616 Available filters are:
5619 .B crop[=w:h:x:y]
5620 Crops the given part of the image and discards the rest.
5621 Useful to remove black bands from widescreen movies.
5622 .PD 0
5623 .RSs
5624 .IPs <w>,<h>
5625 Cropped width and height, defaults to original width and height.
5626 .IPs <x>,<y>
5627 Position of the cropped picture, defaults to center.
5629 .PD 1
5632 .B cropdetect[=limit:round]
5633 Calculates necessary cropping parameters and prints the recommended parameters
5634 to stdout.
5635 .PD 0
5636 .RSs
5637 .IPs <limit>
5638 Threshold, which can be optionally specified from nothing (0) to
5639 everything (255) (default: 24).
5641 .IPs <round>
5642 Value which the width/\:height should be divisible by (default: 16).
5643 The offset is automatically adjusted to center the video.
5644 Use 2 to get only even dimensions (needed for 4:2:2 video).
5645 16 is best when encoding to most video codecs.
5647 .PD 1
5650 .B rectangle[=w:h:x:y]
5651 Draws a rectangle of the requested width and height at the specified
5652 coordinates over the image and prints current rectangle parameters
5653 to the console.
5654 This can be used to find optimal cropping parameters.
5655 If you bind the input.conf directive 'change_rectangle' to keystrokes,
5656 you can move and resize the rectangle on the fly.
5657 .PD 0
5658 .RSs
5659 .IPs <w>,<h>
5660 width and height (default: \-1, maximum possible width where boundaries
5661 are still visible.)
5662 .IPs <x>,<y>
5663 top left corner position (default: \-1, uppermost leftmost)
5665 .PD 1
5668 .B expand[=w:h:x:y:o:a:r]
5669 Expands (not scales) movie resolution to the given value and places the
5670 unscaled original at coordinates x, y.
5671 Can be used for placing subtitles/\:OSD in the resulting black bands.
5672 .RSs
5673 .IPs <w>,<h>
5674 Expanded width,height (default: original width,height).
5675 Negative values for w and h are treated as offsets to the original size.
5676 .sp 1
5677 .I EXAMPLE:
5678 .PD 0
5679 .RSs
5680 .IP expand=0:\-50:0:0
5681 Adds a 50 pixel border to the bottom of the picture.
5683 .PD 1
5684 .IPs <x>,<y>
5685 position of original image on the expanded image (default: center)
5686 .IPs "<o>\ \ "
5687 OSD/\:subtitle rendering
5688 .RSss
5689 0: disable (default)
5691 1: enable
5692 .REss
5693 .IPs "<a>\ \ "
5694 Expands to fit an aspect instead of a resolution (default: 0).
5695 .sp 1
5696 .I EXAMPLE:
5697 .PD 0
5698 .RSs
5699 .IP expand=800:::::4/3
5700 Expands to 800x600, unless the source is higher resolution, in which
5701 case it expands to fill a 4/3 aspect.
5703 .PD 1
5704 .IPs "<r>\ \ "
5705 Rounds up to make both width and height divisible by <r> (default: 1).
5709 .B flip (also see \-flip)
5710 Flips the image upside down.
5713 .B "mirror\ "
5714 Mirrors the image on the Y axis.
5717 .B rotate[=<0\-7>]
5718 Rotates the image by 90 degrees and optionally flips it.
5719 For values between 4\-7 rotation is only done if the movie geometry is
5720 portrait and not landscape.
5721 .RSs
5722 .IPs 0
5723 Rotate by 90 degrees clockwise and flip (default).
5724 .IPs 1
5725 Rotate by 90 degrees clockwise.
5726 .IPs 2
5727 Rotate by 90 degrees counterclockwise.
5728 .IPs 3
5729 Rotate by 90 degrees counterclockwise and flip.
5733 .B scale[=w:h[:ilaced[:chr_drop[:par[:par2[:presize[:noup[:arnd]]]]]]]]
5734 Scales the image with the software scaler (slow) and performs a YUV<\->RGB
5735 colorspace conversion (also see \-sws).
5736 .RSs
5737 .IPs <w>,<h>
5738 scaled width/\:height (default: original width/\:height)
5740 .I NOTE:
5741 If \-zoom is used, and underlying filters (including libvo) are
5742 incapable of scaling, it defaults to d_width/\:d_height!
5743 .RSss
5744  0:   scaled d_width/\:d_height
5746 \-1:   original width/\:height
5748 \-2:   Calculate w/h using the other dimension and the prescaled aspect ratio.
5750 \-3:   Calculate w/h using the other dimension and the original aspect ratio.
5752 \-(n+8): Like \-n above, but rounding the dimension to the closest multiple of 16.
5753 .REss
5754 .IPs <ilaced>
5755 Toggle interlaced scaling.
5756 .RSss
5757 0: off (default)
5759 1: on
5760 .REss
5761 .IPs <chr_drop>
5762 chroma skipping
5763 .RSss
5764 0: Use all available input lines for chroma.
5766 1: Use only every 2. input line for chroma.
5768 2: Use only every 4. input line for chroma.
5770 3: Use only every 8. input line for chroma.
5771 .REss
5772 .IPs "<par>[:<par2>] (also see \-sws)"
5773 Set some scaling parameters depending on the type of scaler selected
5774 with \-sws.
5775 .RSss
5776 \-sws 2 (bicubic):  B (blurring) and C (ringing)
5778 0.00:0.60 default
5780 0.00:0.75 VirtualDub's "precise bicubic"
5782 0.00:0.50 Catmull-Rom spline
5784 0.33:0.33 Mitchell-Netravali spline
5786 1.00:0.00 cubic B-spline
5788 \-sws 7 (gaussian): sharpness (0 (soft) \- 100 (sharp))
5790 \-sws 9 (lanczos):  filter length (1\-10)
5791 .REss
5792 .IPs <presize>
5793 Scale to preset sizes.
5794 .RSss
5795 qntsc:   352x240 (NTSC quarter screen)
5797 qpal:    352x288 (PAL quarter screen)
5799 ntsc:    720x480 (standard NTSC)
5801 pal:     720x576 (standard PAL)
5803 sntsc:   640x480 (square pixel NTSC)
5805 spal:    768x576 (square pixel PAL)
5806 .REss
5807 .IPs <noup>
5808 Disallow upscaling past the original dimensions.
5809 .RSss
5810 0: Allow upscaling (default).
5812 1: Disallow upscaling if one dimension exceeds its original value.
5814 2: Disallow upscaling if both dimensions exceed their original values.
5815 .REss
5816 .IPs <arnd>
5817 Accurate rounding for the vertical scaler, which may be faster
5818 or slower than the default rounding.
5819 .RSss
5820 0: Disable accurate rounding (default).
5822 1: Enable accurate rounding.
5823 .REss
5827 .B dsize[=aspect|w:h:aspect-method:r]
5828 Changes the intended display size/\:aspect at an arbitrary point in the
5829 filter chain.
5830 Aspect can be given as a fraction (4/3) or floating point number
5831 (1.33).
5832 Alternatively, you may specify the exact display width and height
5833 desired.
5834 Note that this filter does
5835 .B not
5836 do any scaling itself; it just affects
5837 what later scalers (software or hardware) will do when auto-scaling to
5838 correct aspect.
5839 .RSs
5840 .IPs <w>,<h>
5841 New display width and height.
5842 Can also be these special values:
5843 .RSss
5844  0:   original display width and height
5846 \-1:   original video width and height (default)
5848 \-2:   Calculate w/h using the other dimension and the original display
5849 aspect ratio.
5851 \-3:   Calculate w/h using the other dimension and the original video
5852 aspect ratio.
5853 .REss
5854 .sp 1
5855 .I EXAMPLE:
5856 .PD 0
5857 .RSs
5858 .IP dsize=800:\-2
5859 Specifies a display resolution of 800x600 for a 4/3 aspect video, or
5860 800x450 for a 16/9 aspect video.
5862 .IPs <aspect-method>
5863 Modifies width and height according to original aspect ratios.
5864 .RSss
5865 \-1: Ignore original aspect ratio (default).
5867  0: Keep display aspect ratio by using <w> and <h> as maximum
5868 resolution.
5870  1: Keep display aspect ratio by using <w> and <h> as minimum
5871 resolution.
5873  2: Keep video aspect ratio by using <w> and <h> as maximum
5874 resolution.
5876  3: Keep video aspect ratio by using <w> and <h> as minimum
5877 resolution.
5878 .REss
5879 .sp 1
5880 .I EXAMPLE:
5881 .PD 0
5882 .RSs
5883 .IP dsize=800:600:0
5884 Specifies a display resolution of at most 800x600, or smaller, in order
5885 to keep aspect.
5887 .PD 1
5888 .IPs "<r>\ \ "
5889 Rounds up to make both width and height divisible by <r> (default: 1).
5893 .B "yuy2\ \ \ "
5894 Forces software YV12/\:I420/\:422P to YUY2 conversion.
5895 Useful for video cards/\:drivers with slow YV12 but fast YUY2 support.
5898 .B "yvu9\ \ \ "
5899 Forces software YVU9 to YV12 colorspace conversion.
5900 Deprecated in favor of the software scaler.
5903 .B "yuvcsp\ "
5904 Clamps YUV color values to the CCIR 601 range without doing real conversion.
5907 .B rgb2bgr[=swap]
5908 RGB 24/32 <\-> BGR 24/32 colorspace conversion.
5909 .PD 0
5910 .RSs
5911 .IPs "swap\ "
5912 Also perform  R <\-> B swapping.
5914 .PD 1
5917 .B palette
5918 RGB/BGR 8 \-> 15/16/24/32bpp colorspace conversion using palette.
5921 .B format[=fourcc]
5922 Restricts the colorspace for the next filter without doing any conversion.
5923 Use together with the scale filter for a real conversion.
5925 .I NOTE:
5926 For a list of available formats see format=fmt=help.
5927 .PD 0
5928 .RSs
5929 .IPs <fourcc>
5930 format name like rgb15, bgr24, yv12, etc (default: yuy2)
5932 .PD 1
5935 .B noformat[=fourcc]
5936 Restricts the colorspace for the next filter without doing any conversion.
5937 Unlike the format filter, this will allow any colorspace
5938 .B except
5939 the one you specify.
5941 .I NOTE:
5942 For a list of available formats see noformat=fmt=help.
5943 .PD 0
5944 .RSs
5945 .IPs <fourcc>
5946 format name like rgb15, bgr24, yv12, etc (default: yv12)
5948 .PD 1
5951 .B pp[=filter1[:option1[:option2...]]/[\-]filter2...] (also see \-pphelp)
5952 Enables the specified chain of postprocessing subfilters.
5953 Subfilters must be separated by '/' and can be disabled by
5954 prepending a '\-'.
5955 Each subfilter and some options have a short and a long name that can be
5956 used interchangeably, i.e.\& dr/dering are the same.
5957 All subfilters share common options to determine their scope:
5958 .PD 0
5959 .RSs
5960 .IPs a/autoq
5961 Automatically switch the subfilter off if the CPU is too slow.
5962 .IPs c/chrom
5963 Do chrominance filtering, too (default).
5964 .IPs y/nochrom
5965 Do luminance filtering only (no chrominance).
5966 .IPs n/noluma
5967 Do chrominance filtering only (no luminance).
5969 .PD 1
5970 .sp 1
5973 .I NOTE:
5974 \-pphelp shows a list of available subfilters.
5975 .sp 1
5976 Available subfilters are
5978 .RSs
5979 .IPs hb/hdeblock[:difference[:flatness]]
5980 horizontal deblocking filter
5981 .RSss
5982 <difference>: Difference factor where higher values mean
5983 more deblocking (default: 32).
5985 <flatness>: Flatness threshold where lower values mean
5986 more deblocking (default: 39).
5987 .REss
5988 .IPs vb/vdeblock[:difference[:flatness]]
5989 vertical deblocking filter
5990 .RSss
5991 <difference>: Difference factor where higher values mean
5992 more deblocking (default: 32).
5994 <flatness>: Flatness threshold where lower values mean
5995 more deblocking (default: 39).
5996 .REss
5997 .IPs ha/hadeblock[:difference[:flatness]]
5998 accurate horizontal deblocking filter
5999 .RSss
6000 <difference>: Difference factor where higher values mean
6001 more deblocking (default: 32).
6003 <flatness>: Flatness threshold where lower values mean
6004 more deblocking (default: 39).
6005 .REss
6006 .IPs va/vadeblock[:difference[:flatness]]
6007 accurate vertical deblocking filter
6008 .RSss
6009 <difference>: Difference factor where higher values mean
6010 more deblocking (default: 32).
6012 <flatness>: Flatness threshold where lower values mean
6013 more deblocking (default: 39).
6014 .REss
6015 .sp 1
6016 The horizontal and vertical deblocking filters share the
6017 difference and flatness values so you cannot set
6018 different horizontal and vertical thresholds.
6019 .sp 1
6020 .IPs h1/x1hdeblock
6021 experimental horizontal deblocking filter
6022 .IPs v1/x1vdeblock
6023 experimental vertical deblocking filter
6024 .IPs dr/dering
6025 deringing filter
6026 .IPs tn/tmpnoise[:threshold1[:threshold2[:threshold3]]]
6027 temporal noise reducer
6028 .RSss
6029 <threshold1>: larger -> stronger filtering
6031 <threshold2>: larger -> stronger filtering
6033 <threshold3>: larger -> stronger filtering
6034 .REss
6035 .IPs al/autolevels[:f/fullyrange]
6036 automatic brightness / contrast correction
6037 .RSss
6038 f/fullyrange: Stretch luminance to (0\-255).
6039 .REss
6040 .IPs lb/linblenddeint
6041 Linear blend deinterlacing filter that deinterlaces the given block
6042 by filtering all lines with a (1 2 1) filter.
6043 .IPs li/linipoldeint
6044 Linear interpolating deinterlacing filter that deinterlaces the given block
6045 by linearly interpolating every second line.
6046 .IPs ci/cubicipoldeint
6047 Cubic interpolating deinterlacing filter deinterlaces the given block
6048 by cubically interpolating every second line.
6049 .IPs md/mediandeint
6050 Median deinterlacing filter that deinterlaces the given block
6051 by applying a median filter to every second line.
6052 .IPs fd/ffmpegdeint
6053 FFmpeg deinterlacing filter that deinterlaces the given block
6054 by filtering every second line with a (\-1 4 2 4 \-1) filter.
6055 .IPs l5/lowpass5
6056 Vertically applied FIR lowpass deinterlacing filter that deinterlaces
6057 the given block by filtering all lines with a (\-1 2 6 2 \-1) filter.
6058 .IPs fq/forceQuant[:quantizer]
6059 Overrides the quantizer table from the input with the constant
6060 quantizer you specify.
6061 .RSss
6062 <quantizer>: quantizer to use
6063 .REss
6064 .IPs de/default
6065 default pp filter combination (hb:a,vb:a,dr:a)
6066 .IPs fa/fast
6067 fast pp filter combination (h1:a,v1:a,dr:a)
6068 .IPs "ac\ \ \ "
6069 high quality pp filter combination (ha:a:128:7,va:a,dr:a)
6072 .sp 1
6073 .I EXAMPLE:
6075 .PD 0
6076 .RSs
6077 .IPs "\-vf pp=hb/vb/dr/al"
6078 horizontal and vertical deblocking, deringing and automatic
6079 brightness/\:contrast
6080 .IPs "\-vf pp=de/\-al"
6081 default filters without brightness/\:contrast correction
6082 .IPs "\-vf pp=default/tmpnoise:1:2:3"
6083 Enable default filters & temporal denoiser.
6084 .IPs "\-vf pp=hb:y/vb:a"
6085 Horizontal deblocking on luminance only, and switch vertical deblocking
6086 on or off automatically depending on available CPU time.
6088 .PD 1
6091 .B spp[=quality[:qp[:mode]]]
6092 Simple postprocessing filter that compresses and decompresses the
6093 image at several (or \- in the case of quality level 6 \- all)
6094 shifts and averages the results.
6095 .RSs
6096 .IPs <quality>
6097 0\-6 (default: 3)
6098 .IPs "<qp>\ "
6099 Force quantization parameter (default: 0, use QP from video).
6100 .IPs <mode>
6101 0: hard thresholding (default)
6103 1: soft thresholding (better deringing, but blurrier)
6105 4: like 0, but also use B-frames' QP (may cause flicker)
6107 5: like 1, but also use B-frames' QP (may cause flicker)
6111 .B uspp[=quality[:qp]]
6112 Ultra simple & slow postprocessing filter that compresses and
6113 decompresses the image at several (or \- in the case of quality
6114 level 8 \- all) shifts and averages the results.
6115 The way this differs from the behavior of spp is that uspp actually
6116 encodes & decodes each case with libavcodec Snow, whereas spp uses
6117 a simplified intra only 8x8 DCT similar to MJPEG.
6118 .RSs
6119 .IPs <quality>
6120 0\-8 (default: 3)
6121 .IPs "<qp>\ "
6122 Force quantization parameter (default: 0, use QP from video).
6126 .B fspp[=quality[:qp[:strength[:bframes]]]]
6127 faster version of the simple postprocessing filter
6128 .RSs
6129 .IPs <quality>
6130 4\-5 (equivalent to spp; default: 4)
6131 .IPs "<qp>\ "
6132 Force quantization parameter (default: 0, use QP from video).
6133 .IPs <\-15\-32>
6134 Filter strength, lower values mean more details but also more artifacts,
6135 while higher values make the image smoother but also blurrier (default:
6136 0 \- PSNR optimal).
6137 .IPs <bframes>
6138 0: do not use QP from B-frames (default)
6140 1: use QP from B-frames too (may cause flicker)
6144 .B pp7[=qp[:mode]]
6145 Variant of the spp filter, similar to spp=6 with 7 point DCT where
6146 only the center sample is used after IDCT.
6147 .RSs
6148 .IPs "<qp>\ "
6149 Force quantization parameter (default: 0, use QP from video).
6150 .IPs <mode>
6151 0: hard thresholding
6153 1: soft thresholding (better deringing, but blurrier)
6155 2: medium thresholding (default, good results)
6159 .B qp=equation
6160 quantization parameter (QP) change filter
6161 .RSs
6162 .IPs <equation>
6163 some equation like "2+2*sin(PI*qp)"
6167 .B geq=equation
6168 generic equation change filter
6169 .RSs
6170 .IPs <equation>
6171 Some equation, e.g.\&  'p(W-X\\,Y)' to flip the image horizontally.
6172 You can use whitespace to make the equation more readable.
6173 There are a couple of constants that can be used in the equation:
6174 .RSss
6175 PI: the number pi
6177 E: the number e
6179 X / Y: the coordinates of the current sample
6181 W / H: width and height of the image
6183 SW / SH: width/height scale depending on the currently filtered plane, e.g.\&
6184 1,1 and 0.5,0.5 for YUV 4:2:0.
6186 p(x,y): returns the value of the pixel at location x/y of the current plane.
6187 .REss
6191 .B "test\ \ \ "
6192 Generate various test patterns.
6195 .B rgbtest[=width:height]
6196 Generate an RGB test pattern useful for detecting RGB vs BGR issues.
6197 You should see a red, green and blue stripe from top to bottom.
6198 .RSs
6199 .IPs <width>
6200 Desired width of generated image (default: 0).
6201 0 means width of input image.
6203 .IPs <height>
6204 Desired height of generated image (default: 0).
6205 0 means height of input image.
6209 .B lavc[=quality:fps]
6210 Fast software YV12 to MPEG-1 conversion with libavcodec for use with DVB/\:DXR3/\:IVTV/\:V4L2.
6211 .RSs
6212 .IPs <quality>
6213 1\-31: fixed qscale
6215 32\-:  fixed bitrate in kbits
6216 .IPs <fps>
6217 force output fps (float value) (default: 0, autodetect based on height)
6221 .B dvbscale[=aspect]
6222 Set up optimal scaling for DVB cards, scaling the x axis in hardware and
6223 calculating the y axis scaling in software to keep aspect.
6224 Only useful together with expand and scale.
6225 .RSs
6226 .IPs <aspect>
6227 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default:
6228 576*4/3=768), set it to 576*(16/9)=1024 for a 16:9 TV.
6230 .sp 1
6232 .I EXAMPLE:
6234 .PD 0
6235 .RSs
6236 .IPs "\-vf dvbscale,scale=\-1:0,expand=\-1:576:\-1:\-1:1,lavc"
6237 FIXME: Explain what this does.
6239 .PD 1
6242 .B noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
6243 Adds noise.
6244 .PD 0
6245 .RSs
6246 .IPs <0\-100>
6247 luma noise
6248 .IPs <0\-100>
6249 chroma noise
6250 .IPs u
6251 uniform noise (gaussian otherwise)
6252 .IPs t
6253 temporal noise (noise pattern changes between frames)
6254 .IPs a
6255 averaged temporal noise (smoother, but a lot slower)
6256 .IPs h
6257 high quality (slightly better looking, slightly slower)
6258 .IPs p
6259 mix random noise with a (semi)regular pattern
6261 .PD 1
6264 .B denoise3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6265 This filter aims to reduce image noise producing smooth images and making still
6266 images really still (This should enhance compressibility.).
6267 .PD 0
6268 .RSs
6269 .IPs <luma_spatial>
6270 spatial luma strength (default: 4)
6271 .IPs <chroma_spatial>
6272 spatial chroma strength (default: 3)
6273 .IPs <luma_tmp>
6274 luma temporal strength (default: 6)
6275 .IPs <chroma_tmp>
6276 chroma temporal strength (default: luma_tmp*chroma_spatial/luma_spatial)
6278 .PD 1
6281 .B hqdn3d[=luma_spatial:chroma_spatial:luma_tmp:chroma_tmp]
6282 High precision/\:quality version of the denoise3d filter.
6283 Parameters and usage are the same.
6286 .B ow[=depth[:luma_strength[:chroma_strength]]]
6287 Overcomplete Wavelet denoiser.
6288 .PD 0
6289 .RSs
6290 .IPs <depth>
6291 Larger depth values will denoise lower frequency components more, but
6292 slow down filtering (default: 8).
6293 .IPs <luma_strength>
6294 luma strength (default: 1.0)
6295 .IPs <chroma_strength>
6296 chroma strength (default: 1.0)
6298 .PD 1
6301 .B eq[=brightness:contrast] (OBSOLETE)
6302 Software equalizer with interactive controls just like the hardware
6303 equalizer, for cards/\:drivers that do not support brightness and
6304 contrast controls in hardware.
6305 Might also be useful with MEncoder, either for fixing poorly captured
6306 movies, or for slightly reducing contrast to mask artifacts and get by
6307 with lower bitrates.
6308 .PD 0
6309 .RSs
6310 .IPs <\-100\-100>
6311 initial brightness
6312 .IPs <\-100\-100>
6313 initial contrast
6315 .PD 1
6318 .B eq2[=gamma:contrast:brightness:saturation:rg:gg:bg:weight]
6319 Alternative software equalizer that uses lookup tables (very slow),
6320 allowing gamma correction in addition to simple brightness
6321 and contrast adjustment.
6322 Note that it uses the same MMX optimized code as \-vf eq if all
6323 gamma values are 1.0.
6324 The parameters are given as floating point values.
6325 .PD 0
6326 .RSs
6327 .IPs <0.1\-10>
6328 initial gamma value (default: 1.0)
6329 .IPs <\-2\-2>
6330 initial contrast, where negative values result in a
6331 negative image (default: 1.0)
6332 .IPs <\-1\-1>
6333 initial brightness (default: 0.0)
6334 .IPs <0\-3>
6335 initial saturation (default: 1.0)
6336 .IPs <0.1\-10>
6337 gamma value for the red component (default: 1.0)
6338 .IPs <0.1\-10>
6339 gamma value for the green component (default: 1.0)
6340 .IPs <0.1\-10>
6341 gamma value for the blue component (default: 1.0)
6342 .IPs <0\-1>
6343 The weight parameter can be used to reduce the effect of a high gamma value on
6344 bright image areas, e.g.\& keep them from getting overamplified and just plain
6345 white.
6346 A value of 0.0 turns the gamma correction all the way down while 1.0 leaves it
6347 at its full strength (default: 1.0).
6349 .PD 1
6352 .B hue[=hue:saturation]
6353 Software equalizer with interactive controls just like the hardware
6354 equalizer, for cards/\:drivers that do not support hue and
6355 saturation controls in hardware.
6356 .PD 0
6357 .RSs
6358 .IPs <\-180\-180>
6359 initial hue (default: 0.0)
6360 .IPs <\-100\-100>
6361 initial saturation, where negative values result
6362 in a negative chroma (default: 1.0)
6364 .PD 1
6367 .B halfpack[=f]
6368 Convert planar YUV 4:2:0 to half-height packed 4:2:2, downsampling luma but
6369 keeping all chroma samples.
6370 Useful for output to low-resolution display devices when hardware downscaling
6371 is poor quality or is not available.
6372 Can also be used as a primitive luma-only deinterlacer with very low CPU
6373 usage.
6374 .PD 0
6375 .RSs
6376 .IPs "<f>\ \ "
6377 By default, halfpack averages pairs of lines when downsampling.
6378 Any value different from 0 or 1 gives the default (averaging) behavior.
6379 .RSss
6380 0: Only use even lines when downsampling.
6382 1: Only use odd lines when downsampling.
6383 .REss
6385 .PD 1
6388 .B ilpack[=mode]
6389 When interlaced video is stored in YUV 4:2:0 formats, chroma
6390 interlacing does not line up properly due to vertical downsampling of
6391 the chroma channels.
6392 This filter packs the planar 4:2:0 data into YUY2 (4:2:2) format with
6393 the chroma lines in their proper locations, so that in any given
6394 scanline, the luma and chroma data both come from the same field.
6395 .PD 0
6396 .RSs
6397 .IPs <mode>
6398 Select the sampling mode.
6399 .RSss
6400 0: nearest-neighbor sampling, fast but incorrect
6402 1: linear interpolation (default)
6403 .REss
6405 .PD 1
6408 .B harddup
6409 Only useful with MEncoder.
6410 If harddup is used when encoding, it will force duplicate frames to be
6411 encoded in the output.
6412 This uses slightly more space, but is necessary for output to MPEG
6413 files or if you plan to demux and remux the video stream after
6414 encoding.
6415 Should be placed at or near the end of the filter chain unless you
6416 have a good reason to do otherwise.
6419 .B softskip
6420 Only useful with MEncoder.
6421 Softskip moves the frame skipping (dropping) step of encoding from
6422 before the filter chain to some point during the filter chain.
6423 This allows filters which need to see all frames (inverse telecine,
6424 temporal denoising, etc.) to function properly.
6425 Should be placed after the filters which need to see all frames and
6426 before any subsequent filters that are CPU-intensive.
6429 .B decimate[=max:hi:lo:frac]
6430 Drops frames that do not differ greatly from the previous frame in
6431 order to reduce framerate.
6432 The main use of this filter is for very-low-bitrate encoding (e.g.\&
6433 streaming over dialup modem), but it could in theory be used for
6434 fixing movies that were inverse-telecined incorrectly.
6435 .PD 0
6436 .RSs
6437 .IPs <max>
6438 Sets the maximum number of consecutive frames which can be
6439 dropped (if positive), or the minimum interval between
6440 dropped frames (if negative).
6441 .IPs <hi>,<lo>,<frac>
6442 A frame is a candidate for dropping if no 8x8 region differs by more
6443 than a threshold of <hi>, and if not more than <frac> portion (1
6444 meaning the whole image) differs by more than a threshold of <lo>.
6445 Values of <hi> and <lo> are for 8x8 pixel blocks and represent actual
6446 pixel value differences, so a threshold of 64 corresponds to 1 unit of
6447 difference for each pixel, or the same spread out differently over the
6448 block.
6450 .PD 1
6453 .B dint[=sense:level]
6454 The drop-deinterlace (dint) filter detects and drops the first from a set
6455 of interlaced video frames.
6456 .PD 0
6457 .RSs
6458 .IPs <0.0\-1.0>
6459 relative difference between neighboring pixels (default: 0.1)
6460 .IPs <0.0\-1.0>
6461 What part of the image has to be detected as interlaced to
6462 drop the frame (default: 0.15).
6464 .PD 1
6467 .B lavcdeint (OBSOLETE)
6468 FFmpeg deinterlacing filter, same as \-vf pp=fd
6471 .B kerndeint[=thresh[:map[:order[:sharp[:twoway]]]]]
6472 Donald Graft's adaptive kernel deinterlacer.
6473 Deinterlaces parts of a video if a configurable threshold is exceeded.
6474 .PD 0
6475 .RSs
6476 .IPs <0\-255>
6477 threshold (default: 10)
6478 .IPs <map>
6479 .RSss
6480 0: Ignore pixels exceeding the threshold (default).
6482 1: Paint pixels exceeding the threshold white.
6483 .REss
6484 .IPs <order>
6485 .RSss
6486 0: Leave fields alone (default).
6488 1: Swap fields.
6489 .REss
6490 .IPs <sharp>
6491 .RSss
6492 0: Disable additional sharpening (default).
6494 1: Enable additional sharpening.
6495 .REss
6496 .IPs <twoway>
6497 .RSss
6498 0: Disable twoway sharpening (default).
6500 1: Enable twoway sharpening.
6501 .REss
6503 .PD 1
6506 .B unsharp[=l|cWxH:amount[:l|cWxH:amount]]
6507 unsharp mask / gaussian blur
6508 .RSs
6509 .IPs "l\ \ \ \ "
6510 Apply effect on luma component.
6511 .IPs "c\ \ \ \ "
6512 Apply effect on chroma components.
6513 .IPs <width>x<height>
6514 width and height of the matrix, odd sized in both directions
6515 (min = 3x3, max = 13x11 or 11x13, usually something between 3x3 and 7x7)
6516 .IPs amount
6517 Relative amount of sharpness/\:blur to add to the image
6518 (a sane range should be \-1.5\-1.5).
6519 .RSss
6520 <0: blur
6522 >0: sharpen
6523 .REss
6527 .B "swapuv\ "
6528 Swap U & V plane.
6531 .B il[=d|i][s][:[d|i][s]]
6532 (De)interleaves lines.
6533 The goal of this filter is to add the ability to process interlaced images
6534 pre-field without deinterlacing them.
6535 You can filter your interlaced DVD and play it on a TV without breaking the
6536 interlacing.
6537 While deinterlacing (with the postprocessing filter) removes interlacing
6538 permanently (by smoothing, averaging, etc) deinterleaving splits the frame into
6539 2 fields (so called half pictures), so you can process (filter) them
6540 independently and then re-interleave them.
6541 .PD 0
6542 .RSs
6543 .IPs d
6544 deinterleave (placing one above the other)
6545 .IPs i
6546 interleave
6547 .IPs s
6548 swap fields (exchange even & odd lines)
6550 .PD 1
6553 .B fil[=i|d]
6554 (De)interleaves lines.
6555 This filter is very similar to the il filter but much faster, the main
6556 disadvantage is that it does not always work.
6557 Especially if combined with other filters it may produce randomly messed
6558 up images, so be happy if it works but do not complain if it does not for
6559 your combination of filters.
6560 .PD 0
6561 .RSs
6562 .IPs d
6563 Deinterleave fields, placing them side by side.
6564 .IPs i
6565 Interleave fields again (reversing the effect of fil=d).
6567 .PD 1
6570 .B field[=n]
6571 Extracts a single field from an interlaced image using stride arithmetic
6572 to avoid wasting CPU time.
6573 The optional argument n specifies whether to extract the even or the odd
6574 field (depending on whether n is even or odd).
6577 .B detc[=var1=value1:var2=value2:...]
6578 Attempts to reverse the 'telecine' process to recover a clean,
6579 non-interlaced stream at film framerate.
6580 This was the first and most primitive inverse telecine filter to be
6581 added to MPlayer/\:MEncoder.
6582 It works by latching onto the telecine 3:2 pattern and following it as
6583 long as possible.
6584 This makes it suitable for perfectly-telecined material, even in the
6585 presence of a fair degree of noise, but it will fail in the presence
6586 of complex post-telecine edits.
6587 Development on this filter is no longer taking place, as ivtc, pullup,
6588 and filmdint are better for most applications.
6589 The following arguments (see syntax above) may be used to control
6590 detc's behavior:
6591 .RSs
6592 .IPs "<dr>\ "
6593 Set the frame dropping mode.
6594 .RSss
6595 0: Do not drop frames to maintain fixed output framerate (default).
6597 1: Always drop a frame when there have been no drops or telecine
6598 merges in the past 5 frames.
6600 2: Always maintain exact 5:4 input to output frame ratio.
6602 .I NOTE:
6603 Use mode 1 or 2 with MEncoder.
6604 .REss
6605 .IPs "<am>\ "
6606 Analysis mode.
6607 .RSss
6608 0: Fixed pattern with initial frame number specified by <fr>.
6610 1: aggressive search for telecine pattern (default)
6611 .REss
6612 .IPs "<fr>\ "
6613 Set initial frame number in sequence.
6614 0\-2 are the three clean progressive frames; 3 and 4 are the two
6615 interlaced frames.
6616 The default, \-1, means 'not in telecine sequence'.
6617 The number specified here is the type for the imaginary previous
6618 frame before the movie starts.
6619 .IPs "<t0>, <t1>, <t2>, <t3>"
6620 Threshold values to be used in certain modes.
6624 .B ivtc[=1]
6625 Experimental 'stateless' inverse telecine filter.
6626 Rather than trying to lock on to a pattern like the detc filter does,
6627 ivtc makes its decisions independently for each frame.
6628 This will give much better results for material that has undergone
6629 heavy editing after telecine was applied, but as a result it is not as
6630 forgiving of noisy input, for example TV capture.
6631 The optional parameter (ivtc=1) corresponds to the dr=1 option for the
6632 detc filter, and should be used with MEncoder but not with MPlayer.
6633 As with detc, you must specify the correct output framerate (\-ofps
6634 24000/1001) when using MEncoder.
6635 Further development on ivtc has stopped, as the pullup and filmdint
6636 filters appear to be much more accurate.
6639 .B pullup[=jl:jr:jt:jb:sb:mp]
6640 Third-generation pulldown reversal (inverse telecine) filter,
6641 capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001
6642 fps progressive content.
6643 The pullup filter is designed to be much more robust than detc or
6644 ivtc, by taking advantage of future context in making its decisions.
6645 Like ivtc, pullup is stateless in the sense that it does not lock onto
6646 a pattern to follow, but it instead looks forward to the following
6647 fields in order to identify matches and rebuild progressive frames.
6648 It is still under development, but believed to be quite accurate.
6649 .RSs
6650 .IPs "jl, jr, jt, and jb"
6651 These options set the amount of "junk" to ignore at
6652 the left, right, top, and bottom of the image, respectively.
6653 Left/\:right are in units of 8 pixels, while top/\:bottom are in units of
6654 2 lines.
6655 The default is 8 pixels on each side.
6657 .IPs "sb (strict breaks)"
6658 Setting this option to 1 will reduce the chances of
6659 pullup generating an occasional mismatched frame, but it may also
6660 cause an excessive number of frames to be dropped during high motion
6661 sequences.
6662 Conversely, setting it to \-1 will make pullup match fields more
6663 easily.
6664 This may help processing of video where there is slight blurring
6665 between the fields, but may also cause there to be interlaced frames
6666 in the output.
6668 .IPs "mp (metric plane)"
6669 This option may be set to 1 or 2 to use a chroma
6670 plane instead of the luma plane for doing pullup's computations.
6671 This may improve accuracy on very clean source material, but more
6672 likely will decrease accuracy, especially if there is chroma noise
6673 (rainbow effect) or any grayscale video.
6674 The main purpose of setting mp to a chroma plane is to reduce CPU load
6675 and make pullup usable in realtime on slow machines.
6676 .REss
6678 .sp 1
6679 .I NOTE:
6680 Always follow pullup with the softskip filter when encoding to ensure
6681 that pullup is able to see each frame.
6682 Failure to do so will lead to incorrect output and will usually crash,
6683 due to design limitations in the codec/\:filter layer.
6684 .REss
6687 .B filmdint[=options]
6688 Inverse telecine filter, similar to the pullup filter above.
6689 It is designed to handle any pulldown pattern, including mixed soft and
6690 hard telecine and limited support for movies that are slowed down or sped
6691 up from their original framerate for TV.
6692 Only the luma plane is used to find the frame breaks.
6693 If a field has no match, it is deinterlaced with simple linear
6694 approximation.
6695 If the source is MPEG-2, this must be the first filter to allow
6696 access to the field-flags set by the MPEG-2 decoder.
6697 Depending on the source MPEG, you may be fine ignoring this advice, as
6698 long as you do not see lots of "Bottom-first field" warnings.
6699 With no options it does normal inverse telecine, and should be used
6700 together with mencoder \-fps 30000/1001 \-ofps 24000/1001.
6701 When this filter is used with MPlayer, it will result in an uneven
6702 framerate during playback, but it is still generally better than using
6703 pp=lb or no deinterlacing at all.
6704 Multiple options can be specified separated by /.
6705 .RSs
6706 .IPs crop=<w>:<h>:<x>:<y>
6707 Just like the crop filter, but faster, and works on mixed hard and soft
6708 telecined content as well as when y is not a multiple of 4.
6709 If x or y would require cropping fractional pixels from the chroma
6710 planes, the crop area is extended.
6711 This usually means that x and y must be even.
6712 .IPs io=<ifps>:<ofps>
6713 For each ifps input frames the filter will output ofps frames.
6714 The ratio of ifps/\:ofps should match the \-fps/\-ofps ratio.
6715 This could be used to filter movies that are broadcast on TV at a frame
6716 rate different from their original framerate.
6717 .IPs luma_only=<n>
6718 If n is nonzero, the chroma plane is copied unchanged.
6719 This is useful for YV12 sampled TV, which discards one of the chroma
6720 fields.
6721 .IPs mmx2=<n>
6722 On x86, if n=1, use MMX2 optimized functions, if n=2, use 3DNow!
6723 optimized functions, otherwise, use plain C.
6724 If this option is not specified, MMX2 and 3DNow! are auto-detected, use
6725 this option to override auto-detection.
6726 .IPs fast=<n>
6727 The larger n will speed up the filter at the expense of accuracy.
6728 The default value is n=3.
6729 If n is odd, a frame immediately following a frame marked with the
6730 REPEAT_FIRST_FIELD MPEG flag is assumed to be progressive, thus filter
6731 will not spend any time on soft-telecined MPEG-2 content.
6732 This is the only effect of this flag if MMX2 or 3DNow! is available.
6733 Without MMX2 and 3DNow, if n=0 or 1, the same calculations will be used
6734 as with n=2 or 3.
6735 If n=2 or 3, the number of luma levels used to find the frame breaks is
6736 reduced from 256 to 128, which results in a faster filter without losing
6737 much accuracy.
6738 If n=4 or 5, a faster, but much less accurate metric will be used to
6739 find the frame breaks, which is more likely to misdetect high vertical
6740 detail as interlaced content.
6741 .IPs verbose=<n>
6742 If n is nonzero, print the detailed metrics for each frame.
6743 Useful for debugging.
6744 .IPs dint_thres=<n>
6745 Deinterlace threshold.
6746 Used during de-interlacing of unmatched frames.
6747 Larger value means less deinterlacing, use n=256 to completely turn off
6748 deinterlacing.
6749 Default is n=8.
6750 .IPs comb_thres=<n>
6751 Threshold for comparing a top and bottom fields.
6752 Defaults to 128.
6753 .IPs diff_thres=<n>
6754 Threshold to detect temporal change of a field.
6755 Default is 128.
6756 .IPs sad_thres=<n>
6757 Sum of Absolute Difference threshold, default is 64.
6761 .B softpulldown
6762 This filter works only correct with MEncoder and acts on the MPEG-2 flags
6763 used for soft 3:2 pulldown (soft telecine).
6764 If you want to use the ivtc or detc filter on movies that are partly soft
6765 telecined, inserting this filter before them should make them more reliable.
6768 .B divtc[=options]
6769 Inverse telecine for deinterlaced video.
6770 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced
6771 using a method that keeps one field and interpolates the other, the result is
6772 a juddering video that has every fourth frame duplicated.
6773 This filter is intended to find and drop those duplicates and restore the
6774 original film framerate.
6775 When using this filter, you must specify \-ofps that is 4/5 of
6776 the fps of the input file and place the softskip later in the
6777 filter chain to make sure that divtc sees all the frames.
6778 Two different modes are available:
6779 One pass mode is the default and is straightforward to use,
6780 but has the disadvantage that any changes in the telecine
6781 phase (lost frames or bad edits) cause momentary judder
6782 until the filter can resync again.
6783 Two pass mode avoids this by analyzing the whole video
6784 beforehand so it will have forward knowledge about the
6785 phase changes and can resync at the exact spot.
6786 These passes do
6787 .B not
6788 correspond to pass one and two of the encoding process.
6789 You must run an extra pass using divtc pass one before the
6790 actual encoding throwing the resulting video away.
6791 Use \-nosound \-ovc raw \-o /dev/null to avoid
6792 wasting CPU power for this pass.
6793 You may add something like crop=2:2:0:0 after divtc
6794 to speed things up even more.
6795 Then use divtc pass two for the actual encoding.
6796 If you use multiple encoder passes, use divtc
6797 pass two for all of them.
6798 The options are:
6799 .RSs
6800 .IPs pass=1|2
6801 Use two pass mode.
6802 .IPs file=<filename>
6803 Set the two pass log filename (default: "framediff.log").
6804 .IPs threshold=<value>
6805 Set the minimum strength the telecine pattern must have for the filter to
6806 believe in it (default: 0.5).
6807 This is used to avoid recognizing false pattern from the parts of the video
6808 that are very dark or very still.
6809 .IPs window=<numframes>
6810 Set the number of past frames to look at when searching for pattern
6811 (default: 30).
6812 Longer window improves the reliability of the pattern search, but shorter
6813 window improves the reaction time to the changes in the telecine phase.
6814 This only affects the one pass mode.
6815 The two pass mode currently uses fixed window that extends to both future
6816 and past.
6817 .IPs phase=0|1|2|3|4
6818 Sets the initial telecine phase for one pass mode (default: 0).
6819 The two pass mode can see the future, so it is able to use the correct
6820 phase from the beginning, but one pass mode can only guess.
6821 It catches the correct phase when it finds it, but this option can be used
6822 to fix the possible juddering at the beginning.
6823 The first pass of the two pass mode also uses this, so if you save the output
6824 from the first pass, you get constant phase result.
6825 .IPs deghost=<value>
6826 Set the deghosting threshold (0\-255 for one pass mode, \-255\-255 for two pass
6827 mode, default 0).
6828 If nonzero, deghosting mode is used.
6829 This is for video that has been deinterlaced by blending the fields
6830 together instead of dropping one of the fields.
6831 Deghosting amplifies any compression artifacts in the blended frames, so the
6832 parameter value is used as a threshold to exclude those pixels from
6833 deghosting that differ from the previous frame less than specified value.
6834 If two pass mode is used, then negative value can be used to make the
6835 filter analyze the whole video in the beginning of pass-2 to determine
6836 whether it needs deghosting or not and then select either zero or the
6837 absolute value of the parameter.
6838 Specify this option for pass-2, it makes no difference on pass-1.
6842 .B phase[=t|b|p|a|u|T|B|A|U][:v]
6843 Delay interlaced video by one field time so that the field order
6844 changes.
6845 The intended use is to fix PAL movies that have been captured with the
6846 opposite field order to the film-to-video transfer.
6847 The options are:
6848 .RSs
6849 .IPs t
6850 Capture field order top-first, transfer bottom-first.
6851 Filter will delay the bottom field.
6852 .IPs b
6853 Capture bottom-first, transfer top-first.
6854 Filter will delay the top field.
6855 .IPs p
6856 Capture and transfer with the same field order.
6857 This mode only exists for the documentation of the other options to refer to,
6858 but if you actually select it, the filter will faithfully do nothing ;-)
6859 .IPs a
6860 Capture field order determined automatically by field flags, transfer opposite.
6861 Filter selects among t and b modes on a frame by frame basis using field flags.
6862 If no field information is available, then this works just like u.
6863 .IPs u
6864 Capture unknown or varying, transfer opposite.
6865 Filter selects among t and b on a frame by frame basis by analyzing the
6866 images and selecting the alternative that produces best match between the
6867 fields.
6868 .IPs T
6869 Capture top-first, transfer unknown or varying.
6870 Filter selects among t and p using image analysis.
6871 .IPs B
6872 Capture bottom-first, transfer unknown or varying.
6873 Filter selects among b and p using image analysis.
6874 .IPs A
6875 Capture determined by field flags, transfer unknown or varying.
6876 Filter selects among t, b and p using field flags and image analysis.
6877 If no field information is available, then this works just like U.
6878 This is the default mode.
6879 .IPs U
6880 Both capture and transfer unknown or varying.
6881 Filter selects among t, b and p using image analysis only.
6882 .IPs v
6883 Verbose operation.
6884 Prints the selected mode for each frame and the average squared difference
6885 between fields for t, b, and p alternatives.
6889 .B telecine[=start]
6890 Apply 3:2 'telecine' process to increase framerate by 20%.
6891 This most likely will not work correctly with MPlayer, but it can
6892 be used with 'mencoder \-fps 30000/1001 \-ofps 30000/1001 \-vf telecine'.
6893 Both fps options are essential!
6894 (A/V sync will break if they are wrong.)
6895 The optional start parameter tells the filter where in the telecine
6896 pattern to start (0\-3).
6899 .B tinterlace[=mode]
6900 Temporal field interlacing \- merge pairs of frames into an interlaced
6901 frame, halving the framerate.
6902 Even frames are moved into the upper field, odd frames to the lower field.
6903 This can be used to fully reverse the effect of the tfields filter (in mode 0).
6904 Available modes are:
6905 .PD 0
6906 .RSs
6907 .IPs 0
6908 Move odd frames into the upper field, even into the lower field, generating
6909 a full-height frame at half framerate.
6910 .IPs 1
6911 Only output odd frames, even frames are dropped; height unchanged.
6912 .IPs 2
6913 Only output even frames, odd frames are dropped; height unchanged.
6914 .IPs 3
6915 Expand each frame to full height, but pad alternate lines with black;
6916 framerate unchanged.
6917 .IPs 4
6918 Interleave even lines from even frames with odd lines from odd frames.
6919 Height unchanged at half framerate.
6921 .PD 1
6924 .B tfields[=mode[:field_dominance]]
6925 Temporal field separation \- split fields into frames, doubling the
6926 output framerate.
6927 Like the telecine filter, tfields will only work properly with
6928 MEncoder, and only if both \-fps and \-ofps are set to the
6929 desired (double) framerate!
6930 .PD 0
6931 .RSs
6932 .IPs <mode>
6933 0: Leave fields unchanged (will jump/\:flicker).
6935 1: Interpolate missing lines. (The algorithm used might not be so good.)
6937 2: Translate fields by 1/4 pixel with linear interpolation (no jump).
6939 4: Translate fields by 1/4 pixel with 4tap filter (higher quality) (default).
6940 .IPs <field_dominance>\ (DEPRECATED)
6941 \-1: auto (default)
6942 Only works if the decoder exports the appropriate information and
6943 no other filters which discard that information come before tfields
6944 in the filter chain, otherwise it falls back to 0 (top field first).
6946 0: top field first
6948 1: bottom field first
6950 .I NOTE:
6951 This option will possibly be removed in a future version.
6952 Use \-field\-dominance instead.
6954 .PD 1
6957 .B yadif=[mode[:field_dominance]]
6958 Yet another deinterlacing filter
6959 .PD 0
6960 .RSs
6961 .IPs <mode>
6962 0: Output 1 frame for each frame.
6964 1: Output 1 frame for each field.
6966 2: Like 0 but skips spatial interlacing check.
6968 3: Like 1 but skips spatial interlacing check.
6969 .IPs <field_dominance>\ (DEPRECATED)
6970 Operates like tfields.
6972 .I NOTE:
6973 This option will possibly be removed in a future version.
6974 Use \-field\-dominance instead.
6976 .PD 1
6979 .B mcdeint=[mode[:parity[:qp]]]
6980 Motion compensating deinterlacer.
6981 It needs one field per frame as input and must thus be used together
6982 with tfields=1 or yadif=1/3 or equivalent.
6983 .PD 0
6984 .RSs
6985 .IPs <mode>
6986 0: fast
6988 1: medium
6990 2: slow, iterative motion estimation
6992 3: extra slow, like 2 plus multiple reference frames
6993 .IPs <parity>
6994 0 or 1 selects which field to use (note: no autodetection yet!).
6995 .IPs "<qp>\ "
6996 Higher values should result in a smoother motion vector
6997 field but less optimal individual vectors.
6999 .PD 1
7002 .B boxblur=radius:power[:radius:power]
7003 box blur
7004 .PD 0
7005 .RSs
7006 .IPs <radius>
7007 blur filter strength
7008 .IPs <power>
7009 number of filter applications
7011 .PD 1
7014 .B sab=radius:pf:colorDiff[:radius:pf:colorDiff]
7015 shape adaptive blur
7016 .PD 0
7017 .RSs
7018 .IPs <radius>
7019 blur filter strength (~0.1\-4.0) (slower if larger)
7020 .IPs "<pf>\ "
7021 prefilter strength (~0.1\-2.0)
7022 .IPs <colorDiff>
7023 maximum difference between pixels to still be considered (~0.1\-100.0)
7025 .PD 1
7028 .B smartblur=radius:strength:threshold[:radius:strength:threshold]
7029 smart blur
7030 .PD 0
7031 .RSs
7032 .IPs <radius>
7033 blur filter strength (~0.1\-5.0) (slower if larger)
7034 .IPs <strength>
7035 blur (0.0\-1.0) or sharpen (\-1.0\-0.0)
7036 .IPs <threshold>
7037 filter all (0), filter flat areas (0\-30) or filter edges (\-30\-0)
7039 .PD 1
7042 .B perspective=x0:y0:x1:y1:x2:y2:x3:y3:t
7043 Correct the perspective of movies not filmed perpendicular to the screen.
7044 .PD 0
7045 .RSs
7046 .IPs <x0>,<y0>,...
7047 coordinates of the top left, top right, bottom left, bottom right corners
7048 .IPs "<t>\ \ "
7049 linear (0) or cubic resampling (1)
7051 .PD 1
7054 .B "2xsai\ \ "
7055 Scale and smooth the image with the 2x scale and interpolate algorithm.
7058 .B "1bpp\ \ \ "
7059 1bpp bitmap to YUV/\:BGR 8/\:15/\:16/\:32 conversion
7062 .B down3dright[=lines]
7063 Reposition and resize stereoscopic images.
7064 Extracts both stereo fields and places them side by side, resizing
7065 them to maintain the original movie aspect.
7066 .PD 0
7067 .RSs
7068 .IPs <lines>
7069 number of lines to select from the middle of the image (default: 12)
7071 .PD 1
7074 .B bmovl=hidden:opaque:fifo
7075 The bitmap overlay filter reads bitmaps from a FIFO and displays them
7076 on top of the movie, allowing some transformations on the image.
7077 Also see TOOLS/bmovl-test.c for a small bmovl test program.
7078 .PD 0
7079 .RSs
7080 .IPs <hidden>
7081 Set the default value of the 'hidden' flag (0=visible, 1=hidden).
7082 .IPs <opaque>
7083 Set the default value of the 'opaque' flag (0=transparent, 1=opaque).
7084 .IPs <fifo>
7085 path/\:filename for the FIFO (named pipe connecting 'mplayer \-vf bmovl' to the
7086 controlling application)
7088 .PD 1
7089 .sp 1
7091 FIFO commands are:
7093 .PD 0
7094 .RSs
7095 .IPs "RGBA32 width height xpos ypos alpha clear"
7096 followed by width*height*4 Bytes of raw RGBA32 data.
7097 .IPs "ABGR32 width height xpos ypos alpha clear"
7098 followed by width*height*4 Bytes of raw ABGR32 data.
7099 .IPs "RGB24 width height xpos ypos alpha clear"
7100 followed by width*height*3 Bytes of raw RGB24 data.
7101 .IPs "BGR24 width height xpos ypos alpha clear"
7102 followed by width*height*3 Bytes of raw BGR24 data.
7103 .IPs "ALPHA width height xpos ypos alpha"
7104 Change alpha transparency of the specified area.
7105 .IPs "CLEAR width height xpos ypos"
7106 Clear area.
7107 .IPs OPAQUE
7108 Disable all alpha transparency.
7109 Send "ALPHA 0 0 0 0 0" to enable it again.
7110 .IPs "HIDE\ "
7111 Hide bitmap.
7112 .IPs "SHOW\ "
7113 Show bitmap.
7115 .PD 1
7116 .sp 1
7118 Arguments are:
7120 .PD 0
7121 .RSs
7122 .IPs "<width>, <height>"
7123 image/area size
7124 .IPs "<xpos>, <ypos>"
7125 Start blitting at position x/y.
7126 .IPs <alpha>
7127 Set alpha difference.
7128 If you set this to \-255 you can then send a sequence of ALPHA-commands to set
7129 the area to \-225, \-200, \-175 etc for a nice fade-in-effect! ;)
7130 .RSss
7131 0:    same as original
7133 255:  Make everything opaque.
7135 \-255: Make everything transparent.
7136 .REss
7137 .IPs <clear>
7138 Clear the framebuffer before blitting.
7139 .RSss
7140 0: The image will just be blitted on top of the old one, so you do not need to
7141 send 1.8MB of RGBA32 data every time a small part of the screen is updated.
7143 1: clear
7144 .REss
7146 .PD 1
7149 .B framestep=I|[i]step
7150 Renders only every nth frame or every intra frame (keyframe).
7151 .sp 1
7152 If you call the filter with I (uppercase) as the parameter, then
7153 .B only
7154 keyframes are rendered.
7155 For DVDs it generally means one in every 15/12 frames (IBBPBBPBBPBBPBB),
7156 for AVI it means every scene change or every keyint value (see \-lavcopts
7157 keyint= value if you use MEncoder to encode the video).
7158 .sp 1
7159 When a keyframe is found, an 'I!' string followed by a newline character is
7160 printed, leaving the current line of MPlayer/\:MEncoder output on the screen,
7161 because it contains the time (in seconds) and frame number of the keyframe
7162 (You can use this information to split the AVI.).
7163 .sp 1
7164 If you call the filter with a numeric parameter 'step' then only one in
7165 every 'step' frames is rendered.
7166 .sp 1
7167 If you put an 'i' (lowercase) before the number then an 'I!' is printed
7168 (like the I parameter).
7169 .sp 1
7170 If you give only the i then nothing is done to the frames, only I! is
7171 printed.
7174 .B tile=xtiles:ytiles:output:start:delta
7175 Tile a series of images into a single, bigger image.
7176 If you omit a parameter or use a value less than 0, then the default
7177 value is used.
7178 You can also stop when you are satisfied (... \-vf tile=10:5 ...).
7179 It is probably a good idea to put the scale filter before the tile :-)
7180 .sp 1
7181 The parameters are:
7182 .sp 1
7183 .PD 0
7184 .RSs
7185 .IPs <xtiles>
7186 number of tiles on the x axis (default: 5)
7187 .IPs <ytiles>
7188 number of tiles on the y axis (default: 5)
7189 .IPs <output>
7190 Render the tile when 'output' number of frames are reached, where 'output'
7191 should be a number less than xtile * ytile.
7192 Missing tiles are left blank.
7193 You could, for example, write an 8 * 7 tile every 50 frames to have one
7194 image every 2 seconds @ 25 fps.
7195 .IPs <start>
7196 outer border thickness in pixels (default: 2)
7197 .IPs <delta>
7198 inner border thickness in pixels (default: 4)
7200 .PD 1
7203 .B delogo[=x:y:w:h:t]
7204 Suppresses a TV station logo by a simple interpolation of the
7205 surrounding pixels.
7206 Just set a rectangle covering the logo and watch it disappear (and
7207 sometimes something even uglier appear \- your mileage may vary).
7208 .PD 0
7209 .RSs
7210 .IPs <x>,<y>
7211 top left corner of the logo
7212 .IPs <w>,<h>
7213 width and height of the cleared rectangle
7214 .IPs <t>
7215 Thickness of the fuzzy edge of the rectangle (added to w and h).
7216 When set to \-1, a green rectangle is drawn on the screen to
7217 simplify finding the right x,y,w,h parameters.
7219 .PD 1
7222 .B remove\-logo=/path/to/logo_bitmap_file_name.pgm
7223 Suppresses a TV station logo, using a PGM or PPM image
7224 file to determine which pixels comprise the logo.
7225 The width and height of the image file must match
7226 those of the video stream being processed.
7227 Uses the filter image and a circular blur
7228 algorithm to remove the logo.
7229 .RSs
7230 .IPs /path/to/logo_bitmap_file_name.pgm
7231 [path] + filename of the filter image.
7235 .B zrmjpeg[=options]
7236 Software YV12 to MJPEG encoder for use with the zr2 video
7237 output device.
7238 .RSs
7239 .IPs maxheight=<h>|maxwidth=<w>
7240 These options set the maximum width and height the zr card
7241 can handle (the MPlayer filter layer currently cannot query those).
7242 .IPs {dc10+,dc10,buz,lml33}-{PAL|NTSC}
7243 Use these options to set maxwidth and maxheight automatically to the
7244 values known for card/\:mode combo.
7245 For example, valid options are: dc10-PAL and buz-NTSC (default: dc10+PAL)
7246 .IPs color|bw
7247 Select color or black and white encoding.
7248 Black and white encoding is faster.
7249 Color is the default.
7250 .IPs hdec={1,2,4}
7251 Horizontal decimation 1, 2 or 4.
7252 .IPs vdec={1,2,4}
7253 Vertical decimation 1, 2 or 4.
7254 .IPs quality=1\-20
7255 Set JPEG compression quality [BEST] 1 \- 20 [VERY BAD].
7256 .IPs fd|nofd
7257 By default, decimation is only performed if the Zoran hardware
7258 can upscale the resulting MJPEG images to the original size.
7259 The option fd instructs the filter to always perform the requested
7260 decimation (ugly).
7264 .B screenshot
7265 Allows acquiring screenshots of the movie using slave mode
7266 commands that can be bound to keypresses.
7267 See the slave mode documentation and the INTERACTIVE CONTROL
7268 section for details.
7269 Files named 'shotNNNN.png' will be saved in the working directory,
7270 using the first available number \- no files will be overwritten.
7271 The filter has no overhead when not used and accepts an arbitrary
7272 colorspace, so it is safe to add it to the configuration file.
7276 .B "ass\ \ \ \ "
7277 Moves SSA/ASS subtitle rendering to an arbitrary point in the filter chain.
7278 Only useful with the \-ass option.
7279 .sp 1
7280 .I EXAMPLE:
7281 .PD 0
7282 .RSs
7283 .IPs "\-vf ass,screenshot"
7284 Moves SSA/ASS rendering before the screenshot filter.
7285 Screenshots taken this way will contain subtitles.
7287 .PD 1
7290 .B blackframe[=amount:threshold]
7291 Detect frames that are (almost) completely black.
7292 Can be useful to detect chapter transitions or commercials.
7293 Output lines consist of the frame number of the detected frame, the
7294 percentage of blackness, the frame type and the frame number of the last
7295 encountered keyframe.
7296 .RSs
7297 .IPs <amount>
7298 Percentage of the pixels that have to be below the threshold (default: 98).
7299 .IPs <threshold>
7300 Threshold below which a pixel value is considered black (default: 32).
7305 .SH "GENERAL ENCODING OPTIONS (MENCODER ONLY)"
7308 .B \-audio\-delay <any floating-point number>
7309 Delays either audio or video by setting a delay field in the header
7310 (default: 0.0).
7311 This does not delay either stream while encoding, but the player will
7312 see the delay field and compensate accordingly.
7313 Positive values delay the audio, and negative values delay the video.
7314 Note that this is the exact opposite of the \-delay option.
7315 For example, if a video plays correctly with \-delay 0.2, you can
7316 fix the video with MEncoder by using \-audio\-delay \-0.2.
7317 .sp 1
7318 Currently, this option only works with the default muxer (\-of avi).
7319 If you are using a different muxer, then you must use \-delay instead.
7322 .B \-audio\-density <1\-50>
7323 Number of audio chunks per second (default is 2 for 0.5s long audio chunks).
7325 .I NOTE:
7326 CBR only, VBR ignores this as it puts each packet in a new chunk.
7329 .B \-audio\-preload <0.0\-2.0>
7330 Sets up the audio buffering time interval (default: 0.5s).
7333 .B \-fafmttag <format>
7334 Can be used to override the audio format tag of the output file.
7335 .sp 1
7336 .I EXAMPLE:
7337 .PD 0
7338 .RSs
7339 .IPs "\-fafmttag 0x55"
7340 Will have the output file contain 0x55 (mp3) as audio format tag.
7342 .PD 1
7345 .B \-ffourcc <fourcc>
7346 Can be used to override the video fourcc of the output file.
7347 .sp 1
7348 .I EXAMPLE:
7349 .PD 0
7350 .RSs
7351 .IPs "\-ffourcc div3"
7352 Will have the output file contain 'div3' as video fourcc.
7354 .PD 1
7357 .B \-force\-avi\-aspect <0.2\-3.0>
7358 Override the aspect stored in the AVI OpenDML vprp header.
7359 This can be used to change the aspect ratio with '\-ovc copy'.
7362 .B \-frameno\-file <filename> (DEPRECATED)
7363 Specify the name of the audio file with framenumber mappings created in
7364 the first (audio only) pass of a special three pass encoding mode.
7366 .I NOTE:
7367 Using this mode will most likely give you A-V desync.
7368 Do not use it.
7369 It is kept for backwards compatibility only and will possibly
7370 be removed in a future version.
7373 .B \-hr\-edl\-seek
7374 Use a more precise, but much slower method for skipping areas.
7375 Areas marked for skipping are not seeked over, instead all
7376 frames are decoded, but only the necessary frames are encoded.
7377 This allows starting at non-keyframe boundaries.
7379 .I NOTE:
7380 Not guaranteed to work right with '\-ovc copy'.
7383 .B \-info <option1:option2:...> (AVI only)
7384 Specify the info header of the resulting AVI file.
7385 .sp 1
7386 Available options are:
7387 .RSs
7388 .IPs "help\ "
7389 Show this description.
7390 .IPs name=<value>
7391 title of the work
7392 .IPs artist=<value>
7393 artist or author of the work
7394 .IPs genre=<value>
7395 original work category
7396 .IPs subject=<value>
7397 contents of the work
7398 .IPs copyright=<value>
7399 copyright information
7400 .IPs srcform=<value>
7401 original format of the digitized material
7402 .IPs comment=<value>
7403 general comments about the work
7407 .B \-noautoexpand
7408 Do not automatically insert the expand filter into the MEncoder filter chain.
7409 Useful to control at which point of the filter chain subtitles are rendered
7410 when hardcoding subtitles onto a movie.
7413 .B \-noencodedups
7414 Do not attempt to encode duplicate frames in duplicate; always output
7415 zero-byte frames to indicate duplicates.
7416 Zero-byte frames will be written anyway unless a filter or encoder
7417 capable of doing duplicate encoding is loaded.
7418 Currently the only such filter is harddup.
7421 .B \-noodml (\-of avi only)
7422 Do not write OpenDML index for AVI files >1GB.
7425 .B \-noskip
7426 Do not skip frames.
7429 .B \-o <filename>
7430 Outputs to the given filename.
7432 If you want a default output filename, you can put this option in the
7433 MEncoder config file.
7436 .B \-oac <codec name>
7437 Encode with the given audio codec (no default set).
7439 .I NOTE:
7440 Use \-oac help to get a list of available audio codecs.
7441 .sp 1
7442 .I EXAMPLE:
7443 .PD 0
7444 .RSs
7445 .IPs "\-oac copy"
7446 no encoding, just streamcopy
7447 .IPs "\-oac pcm"
7448 Encode to uncompressed PCM.
7449 .IPs "\-oac mp3lame"
7450 Encode to MP3 (using LAME).
7451 .IPs "\-oac lavc"
7452 Encode with a libavcodec codec.
7454 .PD 1
7457 .B \-of <format> (BETA CODE!)
7458 Encode to the specified container format (default: AVI).
7460 .I NOTE:
7461 Use \-of help to get a list of available container formats.
7462 .sp 1
7463 .I EXAMPLE:
7464 .PD 0
7465 .RSs
7466 .IPs "\-of avi"
7467 Encode to AVI.
7468 .IPs "\-of mpeg"
7469 Encode to MPEG (also see \-mpegopts).
7470 .IPs "\-of lavf"
7471 Encode with libavformat muxers (also see \-lavfopts).
7472 .IPs "\-of rawvideo"
7473 raw video stream (no muxing \- one video stream only)
7474 .IPs "\-of rawaudio"
7475 raw audio stream (no muxing \- one audio stream only)
7477 .PD 1
7480 .B \-ofps <fps>
7481 Specify a frames per second (fps) value for the output file,
7482 which can be different from that of the source material.
7483 Must be set for variable fps (ASF, some MOV) and progressive
7484 (30000/1001 fps telecined MPEG) files.
7487 .B \-ovc <codec name>
7488 Encode with the given video codec (no default set).
7490 .I NOTE:
7491 Use \-ovc help to get a list of available video codecs.
7492 .sp 1
7493 .I EXAMPLE:
7494 .PD 0
7495 .RSs
7496 .IPs "\-ovc copy"
7497 no encoding, just streamcopy
7498 .IPs "\-ovc raw"
7499 Encode to an arbitrary uncompressed format (use '\-vf format' to select).
7500 .IPs "\-ovc lavc"
7501 Encode with a libavcodec codec.
7503 .PD 1
7506 .B \-passlogfile <filename>
7507 Dump first pass information to <filename> instead of the default divx2pass.log
7508 in two pass encoding mode.
7511 .B \-skiplimit <value>
7512 Specify the maximum number of frames that may be skipped after
7513 encoding one frame (\-noskiplimit for unlimited).
7516 .B \-vobsubout <basename>
7517 Specify the basename for the output .idx and .sub files.
7518 This turns off subtitle rendering in the encoded movie and diverts it to
7519 VOBsub subtitle files.
7522 .B \-vobsuboutid <langid>
7523 Specify the language two letter code for the subtitles.
7524 This overrides what is read from the DVD or the .ifo file.
7527 .B \-vobsuboutindex <index>
7528 Specify the index of the subtitles in the output files (default: 0).
7532 .SH "CODEC SPECIFIC ENCODING OPTIONS (MENCODER ONLY)"
7533 You can specify codec specific encoding parameters using the following
7534 syntax:
7537 .B \-<codec>opts <option1[=value1]:option2[=value2]:...>
7540 Where <codec> may be: lavc, xvidenc, mp3lame, toolame, twolame,
7541 nuv, xvfw, faac, x264enc, mpeg, lavf.
7544 .SS mp3lame (\-lameopts)
7547 .B "help\ \ \ "
7548 get help
7551 .B vbr=<0\-4>
7552 variable bitrate method
7553 .PD 0
7554 .RSs
7555 .IPs 0
7557 .IPs 1
7559 .IPs 2
7560 rh (default)
7561 .IPs 3
7563 .IPs 4
7564 mtrh
7566 .PD 1
7569 .B "abr\ \ \ \ "
7570 average bitrate
7573 .B "cbr\ \ \ \ "
7574 constant bitrate
7575 Also forces CBR mode encoding on subsequent ABR presets modes.
7578 .B br=<0\-1024>
7579 bitrate in kbps (CBR and ABR only)
7582 .B q=<0\-9>
7583 quality (0 \- highest, 9 \- lowest) (VBR only)
7586 .B aq=<0\-9>
7587 algorithmic quality (0 \- best/slowest, 9 \- worst/fastest)
7590 .B ratio=<1\-100>
7591 compression ratio
7594 .B vol=<0\-10>
7595 audio input gain
7598 .B mode=<0\-3>
7599 (default: auto)
7600 .PD 0
7601 .RSs
7602 .IPs 0
7603 stereo
7604 .IPs 1
7605 joint-stereo
7606 .IPs 2
7607 dualchannel
7608 .IPs 3
7609 mono
7611 .PD 1
7614 .B padding=<0\-2>
7615 .PD 0
7616 .RSs
7617 .IPs 0
7618 none
7619 .IPs 1
7621 .IPs 2
7622 adjust
7624 .PD 1
7627 .B "fast\ \ \ "
7628 Switch on faster encoding on subsequent VBR presets modes.
7629 This results in slightly lower quality and higher bitrates.
7632 .B highpassfreq=<freq>
7633 Set a highpass filtering frequency in Hz.
7634 Frequencies below the specified one will be cut off.
7635 A value of \-1 will disable filtering, a value of 0
7636 will let LAME choose values automatically.
7639 .B lowpassfreq=<freq>
7640 Set a lowpass filtering frequency in Hz.
7641 Frequencies above the specified one will be cut off.
7642 A value of \-1 will disable filtering, a value of 0
7643 will let LAME choose values automatically.
7646 .B preset=<value>
7647 preset values
7648 .RSs
7649 .IPs "help\ "
7650 Print additional options and information about presets settings.
7651 .IPs medium
7652 VBR encoding, good quality, 150\-180 kbps bitrate range
7653 .IPs standard
7654 VBR encoding, high quality, 170\-210 kbps bitrate range
7655 .IPs extreme
7656 VBR encoding, very high quality, 200\-240 kbps bitrate range
7657 .IPs insane
7658 CBR encoding, highest preset quality, 320 kbps bitrate
7659 .IPs <8\-320>
7660 ABR encoding at average given kbps bitrate
7662 .sp 1
7664 .I EXAMPLES:
7666 .PD 0
7667 .RSs
7668 .IPs fast:preset=standard
7669 suitable for most people and most music types and already quite high quality
7670 .IPs cbr:preset=192
7671 Encode with ABR presets at a 192 kbps forced constant bitrate.
7672 .IPs preset=172
7673 Encode with ABR presets at a 172 kbps average bitrate.
7674 .IPs preset=extreme
7675 for people with extremely good hearing and similar equipment
7677 .PD 1
7680 .SS toolame and twolame (\-toolameopts and \-twolameopts respectively)
7683 .B br=<32\-384>
7684 In CBR mode this parameter indicates the bitrate in kbps,
7685 when in VBR mode it is the minimum bitrate allowed per frame.
7686 VBR mode will not work with a value below 112.
7689 .B vbr=<\-50\-50> (VBR only)
7690 variability range; if negative the encoder shifts the average bitrate
7691 towards the lower limit, if positive towards the higher.
7692 When set to 0 CBR is used (default).
7695 .B maxvbr=<32\-384> (VBR only)
7696 maximum bitrate allowed per frame, in kbps
7699 .B mode=<stereo  |  jstereo  |  mono  |  dual>
7700 (default: mono for 1-channel audio, stereo otherwise)
7703 .B psy=<\-1\-4>
7704 psychoacoustic model (default: 2)
7707 .B errprot=<0 | 1>
7708 Include error protection.
7711 .B debug=<0\-10>
7712 debug level
7714 .PD 1
7717 .SS faac (\-faacopts)
7720 .B br=<bitrate>
7721 average bitrate in kbps (mutually exclusive with quality)
7724 .B quality=<1\-1000>
7725 quality mode, the higher the better (mutually exclusive with br)
7728 .B object=<1\-4>
7729 object type complexity
7730 .PD 0
7731 .RSs
7732 .IPs 1
7733 MAIN (default)
7734 .IPs 2
7736 .IPs 3
7738 .IPs 4
7739 LTP (extremely slow)
7741 .PD 1
7744 .B mpeg=<2|4>
7745 MPEG version (default: 4)
7748 .B "tns\ \ \ \ "
7749 Enables temporal noise shaping.
7752 .B cutoff=<0\-sampling_rate/2>
7753 cutoff frequency (default: sampling_rate/2)
7756 .B "raw\ \ \ \ "
7757 Stores the bitstream as raw payload with extradata in the container header
7758 (default: 0, corresponds to ADTS).
7759 Do not set this flag if not explicitly required or you will not be able to
7760 remux the audio stream later on.
7762 .PD 1
7765 .SS lavc (\-lavcopts)
7767 Many libavcodec (lavc for short) options are tersely documented.
7768 Read the source for full details.
7770 .I EXAMPLE:
7771 .PD 0
7772 .RSs
7773 .IPs vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250
7775 .PD 1
7778 .B o=<key>=<value>[,<key>=<value>[,...]]
7779 Pass AVOptions to libavcodec encoder.
7780 Note, a patch to make the o= unneeded and pass all unknown options through
7781 the AVOption system is welcome.
7782 A full list of AVOptions can be found in the FFmpeg manual.
7783 Note that some AVOptions may conflict with MEncoder options.
7784 .sp 1
7786 .I EXAMPLE:
7788 .RSs
7789 .PD 0
7790 .IPs o=bt=100k
7791 .PD 1
7795 .B acodec=<value>
7796 audio codec (default: mp2)
7797 .PD 0
7798 .RSs
7799 .IPs "ac3\ \ "
7800 Dolby Digital (AC-3)
7801 .IPs adpcm_*
7802 Adaptive PCM formats \- see the HTML documentation for details.
7803 .IPs "flac\ "
7804 Free Lossless Audio Codec (FLAC)
7805 .IPs "g726\ "
7806 G.726 ADPCM
7807 .IPs libamr_nb
7808 3GPP Adaptive Multi-Rate (AMR) narrow-band
7809 .IPs libamr_wb
7810 3GPP Adaptive Multi-Rate (AMR) wide-band
7811 .IPs libfaac
7812 Advanced Audio Coding (AAC) \- using FAAC
7813 .IPs libmp3lame
7814 MPEG-1 audio layer 3 (MP3) \- using LAME
7815 .IPs "mp2\ \ "
7816 MPEG-1 audio layer 2 (MP2)
7817 .IPs pcm_*
7818 PCM formats \- see the HTML documentation for details.
7819 .IPs roq_dpcm
7820 Id Software RoQ DPCM
7821 .IPs sonic
7822 experimental simple lossy codec
7823 .IPs sonicls
7824 experimental simple lossless codec
7825 .IPs vorbis
7826 Vorbis
7827 .IPs wmav1
7828 Windows Media Audio v1
7829 .IPs wmav2
7830 Windows Media Audio v2
7832 .PD 1
7835 .B abitrate=<value>
7836 audio bitrate in kbps (default: 224)
7839 .B atag=<value>
7840 Use the specified Windows audio format tag (e.g.\& atag=0x55).
7843 .B bit_exact
7844 Use only bit exact algorithms (except (I)DCT).
7845 Additionally bit_exact disables several optimizations and thus
7846 should only be used for regression tests, which need binary
7847 identical files even if the encoder version changes.
7848 This also suppresses the user_data header in MPEG-4 streams.
7849 Do not use this option unless you know exactly what you are doing.
7852 .B threads=<1\-8>
7853 Maximum number of threads to use (default: 1).
7854 May have a slight negative effect on motion estimation.
7858 .B vcodec=<value>
7859 Employ the specified codec (default: mpeg4).
7860 .PD 0
7861 .RSs
7862 .IPs "asv1\ "
7863 ASUS Video v1
7864 .IPs "asv2\ "
7865 ASUS Video v2
7866 .IPs dvvideo
7867 Sony Digital Video
7868 .IPs "ffv1\ "
7869 FFmpeg's lossless video codec
7870 .IPs ffvhuff
7871 nonstandard 20% smaller HuffYUV using YV12
7872 .IPs "flv\ \ "
7873 Sorenson H.263 used in Flash Video
7874 .IPs "h261\ "
7875 H.261
7876 .IPs "h263\ "
7877 H.263
7878 .IPs h263p
7879 H.263+
7880 .IPs huffyuv
7881 HuffYUV
7882 .IPs libtheora
7883 Theora
7884 .IPs libx264
7885 x264 H.264/AVC MPEG-4 Part 10
7886 .IPs libxvid
7887 Xvid MPEG-4 Part 2 (ASP)
7888 .IPs ljpeg
7889 Lossless JPEG
7890 .IPs mjpeg
7891 Motion JPEG
7892 .IPs mpeg1video
7893 MPEG-1 video
7894 .IPs mpeg2video
7895 MPEG-2 video
7896 .IPs mpeg4
7897 MPEG-4 (DivX 4/5)
7898 .IPs msmpeg4
7899 DivX 3
7900 .IPs msmpeg4v2
7901 MS MPEG4v2
7902 .IPs roqvideo
7903 ID Software RoQ Video
7904 .IPs "rv10\ "
7905 an old RealVideo codec
7906 .IPs "snow (also see: vstrict)"
7907 FFmpeg's experimental wavelet-based codec
7908 .IPs "svq1\ "
7909 Apple Sorenson Video 1
7910 .IPs "wmv1\ "
7911 Windows Media Video, version 1 (AKA WMV7)
7912 .IPs "wmv2\ "
7913 Windows Media Video, version 2 (AKA WMV8)
7915 .PD 1
7918 .B vqmin=<1\-31>
7919 minimum quantizer
7920 .RSs
7921 .IPs 1
7922 Not recommended (much larger file, little quality difference and weird side
7923 effects: msmpeg4, h263 will be very low quality, ratecontrol will be confused
7924 resulting in lower quality and some decoders will not be able to decode it).
7925 .IPs 2
7926 Recommended for normal mpeg4/\:mpeg1video encoding (default).
7927 .IPs 3
7928 Recommended for h263(p)/\:msmpeg4.
7929 The reason for preferring 3 over 2 is that 2 could lead to overflows.
7930 (This will be fixed for h263(p) by changing the quantizer per MB in
7931 the future, msmpeg4 cannot be fixed as it does not support that.)
7935 .B lmin=<0.01\-255.0>
7936 Minimum frame-level Lagrange multiplier for ratecontrol (default: 2.0).
7937 Lavc will rarely use quantizers below the value of lmin.
7938 Lowering lmin will make lavc more likely to choose lower quantizers for
7939 some frames, but not lower than the value of vqmin.
7940 Likewise, raising lmin will make lavc less likely to choose low
7941 quantizers, even if vqmin would have allowed them.
7942 You probably want to set lmin approximately equal to vqmin.
7943 When adaptive quantization is in use, changing lmin/lmax may have less
7944 of an effect; see mblmin/mblmax.
7948 .B lmax=<0.01\-255.0>
7949 maximum Lagrange multiplier for ratecontrol (default: 31.0)
7953 .B mblmin=<0.01\-255.0>
7954 Minimum macroblock-level Lagrange multiplier for ratecontrol
7955 (default:2.0).
7956 This parameter affects adaptive quantization options like qprd,
7957 lumi_mask, etc..
7961 .B mblmax=<0.01\-255.0>
7962 Maximum macroblock-level Lagrange multiplier for ratecontrol
7963 (default: 31.0).
7967 .B vqscale=<0\-31>
7968 Constant quantizer /\: constant quality encoding (selects fixed quantizer mode).
7969 A lower value means better quality but larger files (default: \-1).
7970 In case of snow codec, value 0 means lossless encoding.
7971 Since the other codecs do not support this, vqscale=0 will have an undefined
7972 effect.
7973 1 is not recommended (see vqmin for details).
7976 .B vqmax=<1\-31>
7977 Maximum quantizer, 10\-31 should be a sane range (default: 31).
7980 .B mbqmin=<1\-31>
7981 obsolete, use vqmin
7984 .B mbqmax=<1\-31>
7985 obsolete, use vqmax
7988 .B vqdiff=<1\-31>
7989 maximum quantizer difference between consecutive I- or P-frames
7990 (default: 3)
7993 .B vmax_b_frames=<0\-4>
7994 maximum number of B-frames between non-B-frames:
7995 .PD 0
7996 .RSs
7997 .IPs 0
7998 no B-frames (default)
7999 .IPs 0\-2
8000 sane range for MPEG-4
8002 .PD 1
8005 .B vme=<0\-5>
8006 motion estimation method.
8007 Available methods are:
8008 .PD 0
8009 .RSs
8010 .IPs 0
8011 none (very low quality)
8012 .IPs 1
8013 full (slow, currently unmaintained and disabled)
8014 .IPs 2
8015 log (low quality, currently unmaintained and disabled)
8016 .IPs 3
8017 phods (low quality, currently unmaintained and disabled)
8018 .IPs 4
8019 EPZS: size=1 diamond, size can be adjusted with the *dia options
8020 (default)
8021 .IPs 5
8022 X1 (experimental, currently aliased to EPZS)
8023 .IPs 8
8024 iter (iterative overlapped block, only used in snow)
8026 .PD 1
8027 .sp 1
8030 .I NOTE:
8031 0\-3 currently ignores the amount of bits spent,
8032 so quality may be low.
8036 .B me_range=<0\-9999>
8037 motion estimation search range (default: 0 (unlimited))
8040 .B mbd=<0\-2> (also see *cmp, qpel)
8041 Macroblock decision algorithm (high quality mode), encode each macro
8042 block in all modes and choose the best.
8043 This is slow but results in better quality and file size.
8044 When mbd is set to 1 or 2, the value of mbcmp is ignored when comparing
8045 macroblocks (the mbcmp value is still used in other places though, in particular
8046 the motion search algorithms).
8047 If any comparison setting (precmp, subcmp, cmp, or mbcmp) is nonzero,
8048 however, a slower but better half-pel motion search will be used,
8049 regardless of what mbd is set to.
8050 If qpel is set, quarter-pel motion search will be used regardless.
8051 .PD 0
8052 .RSs
8053 .IPs 0
8054 Use comparison function given by mbcmp (default).
8055 .IPs 1
8056 Select the MB mode which needs the fewest bits (=vhq).
8057 .IPs 2
8058 Select the MB mode which has the best rate distortion.
8060 .PD 1
8063 .B "vhq\ \ \ \ "
8064 Same as mbd=1, kept for compatibility reasons.
8067 .B "v4mv\ \ \ "
8068 Allow 4 motion vectors per macroblock (slightly better quality).
8069 Works better if used with mbd>0.
8072 .B "obmc\ \ \ "
8073 overlapped block motion compensation (H.263+)
8076 .B "loop\ \ \ "
8077 loop filter (H.263+)
8078 note, this is broken
8081 .B inter_threshold <\-1000\-1000>
8082 Does absolutely nothing at the moment.
8085 .B keyint=<0\-300>
8086 maximum interval between keyframes in frames (default: 250 or one
8087 keyframe every ten seconds in a 25fps movie.
8088 This is the recommended default for MPEG-4).
8089 Most codecs require regular keyframes in order to limit the accumulation of mismatch error.
8090 Keyframes are also needed for seeking, as seeking is only possible to a keyframe \- but
8091 keyframes need more space than other frames, so larger numbers here mean
8092 slightly smaller files but less precise seeking.
8093 0 is equivalent to 1, which makes every frame a keyframe.
8094 Values >300 are not recommended as the quality might be bad depending upon
8095 decoder, encoder and luck.
8096 It is common for MPEG-1/2 to use values <=30.
8099 .B sc_threshold=<\-1000000000\-1000000000>
8100 Threshold for scene change detection.
8101 A keyframe is inserted by libavcodec when it detects a scene change.
8102 You can specify the sensitivity of the detection with this option.
8103 \-1000000000 means there is a scene change detected at every frame,
8104 1000000000 means no scene changes are detected (default: 0).
8107 .B sc_factor=<any positive integer>
8108 Causes frames with higher quantizers to be more likely to trigger a
8109 scene change detection and make libavcodec use an I-frame (default: 1).
8110 1\-16 is a sane range.
8111 Values between 2 and 6 may yield increasing PSNR (up to approximately
8112 0.04 dB) and better placement of I-frames in high-motion scenes.
8113 Higher values than 6 may give very slightly better PSNR (approximately
8114 0.01 dB more than sc_factor=6), but noticably worse visual quality.
8117 .B vb_strategy=<0\-2> (pass one only)
8118 strategy to choose between I/P/B-frames:
8119 .PD 0
8120 .RSs
8121 .IPs 0
8122 Always use the maximum number of B-frames (default).
8123 .IPs 1
8124 Avoid B-frames in high motion scenes.
8125 See the b_sensitivity option to tune this strategy.
8126 .IPs 2
8127 Places B-frames more or less optimally to yield maximum quality (slower).
8128 You may want to reduce the speed impact of this option by tuning the
8129 option brd_scale.
8131 .PD 1
8134 .B b_sensitivity=<any integer greater than 0>
8135 Adjusts how sensitively vb_strategy=1 detects motion and avoids using
8136 B-frames (default: 40).
8137 Lower sensitivities will result in more B-frames.
8138 Using more B-frames usually improves PSNR, but too many B-frames can
8139 hurt quality in high-motion scenes.
8140 Unless there is an extremely high amount of motion, b_sensitivity can
8141 safely be lowered below the default; 10 is a reasonable value in most
8142 cases.
8145 .B brd_scale=<0\-10>
8146 Downscales frames for dynamic B-frame decision (default: 0).
8147 Each time brd_scale is increased by one, the frame dimensions are
8148 divided by two, which improves speed by a factor of four.
8149 Both dimensions of the fully downscaled frame must be even numbers, so
8150 brd_scale=1 requires the original dimensions to be multiples of four,
8151 brd_scale=2 requires multiples of eight, etc.
8152 In other words, the dimensions of the original frame must both be
8153 divisible by 2^(brd_scale+1) with no remainder.
8156 .B bidir_refine=<0\-4>
8157 Refine the two motion vectors used in bidirectional macroblocks,
8158 rather than re-using vectors from the forward and backward searches.
8159 This option has no effect without B-frames.
8160 .PD 0
8161 .RSs
8162 .IPs 0
8163 Disabled (default).
8164 .IPs 1\-4
8165 Use a wider search (larger values are slower).
8167 .PD 1
8170 .B vpass=<1\-3>
8171 Activates internal two (or more) pass mode, only specify if you wish to
8172 use two (or more) pass encoding.
8173 .PD 0
8174 .RSs
8175 .IPs 1
8176 first pass (also see turbo)
8177 .IPs 2
8178 second pass
8179 .IPs 3
8180 Nth pass (second and subsequent passes of N-pass encoding)
8183 Here is how it works, and how to use it:
8185 The first pass (vpass=1) writes the statistics file.
8186 You might want to deactivate some CPU-hungry options, like "turbo"
8187 mode does.
8189 In two pass mode, the second pass (vpass=2) reads the statistics file and
8190 bases ratecontrol decisions on it.
8192 In N-pass mode, the second pass (vpass=3, that is not a typo)
8193 does both: It first reads the statistics, then overwrites them.
8194 You might want to backup divx2pass.log before doing this if there is
8195 any possibility that you will have to cancel MEncoder.
8196 You can use all encoding options, except very CPU-hungry options like "qns".
8198 You can run this same pass over and over to refine the encode.
8199 Each subsequent pass will use the statistics from the previous pass to improve.
8200 The final pass can include any CPU-hungry encoding options.
8202 If you want a 2 pass encode, use first vpass=1, and then vpass=2.
8204 If you want a 3 or more pass encode, use vpass=1 for the first pass
8205 and then vpass=3 and then vpass=3 again and again until you are
8206 satisfied with the encode.
8208 .PD 1
8209 .sp 1
8211 huffyuv:
8213 .PD 0
8214 .RSs
8215 .IPs "pass 1"
8216 Saves statistics.
8217 .IPs "pass 2"
8218 Encodes with an optimal Huffman table based upon statistics
8219 from the first pass.
8221 .PD 1
8224 .B turbo (two pass only)
8225 Dramatically speeds up pass one using faster algorithms and disabling
8226 CPU-intensive options.
8227 This will probably reduce global PSNR a little bit (around 0.01dB) and
8228 change individual frame type and PSNR a little bit more (up to 0.03dB).
8231 .B aspect=<x/y>
8232 Store movie aspect internally, just like with MPEG files.
8233 Much nicer than rescaling, because quality is not decreased.
8234 Only MPlayer will play these files correctly, other players will display
8235 them with wrong aspect.
8236 The aspect parameter can be given as a ratio or a floating point number.
8237 .sp 1
8239 .I EXAMPLE:
8241 .RSs
8242 .PD 0
8243 .IPs "aspect=16/9 or aspect=1.78"
8244 .PD 1
8248 .B autoaspect
8249 Same as the aspect option, but automatically computes aspect, taking
8250 into account all the adjustments (crop/\:expand/\:scale/\:etc.) made in the
8251 filter chain.
8252 Does not incur a performance penalty, so you can safely leave it
8253 always on.
8256 .B vbitrate=<value>
8257 Specify bitrate (default: 800).
8259 .I WARNING:
8260 1kbit = 1000 bits
8261 .PD 0
8262 .RSs
8263 .IPs 4\-16000
8264 (in kbit)
8265 .IPs 16001\-24000000
8266 (in bit)
8268 .PD 1
8271 .B vratetol=<value>
8272 approximated file size tolerance in kbit.
8273 1000\-100000 is a sane range.
8274 (warning: 1kbit = 1000 bits)
8275 (default: 8000)
8277 .I NOTE:
8278 vratetol should not be too large during the second pass or there might
8279 be problems if vrc_(min|max)rate is used.
8282 .B vrc_maxrate=<value>
8283 maximum bitrate in kbit/\:sec
8284 (default: 0, unlimited)
8287 .B vrc_minrate=<value>
8288 minimum bitrate in kbit/\:sec
8289 (default: 0, unlimited)
8292 .B vrc_buf_size=<value>
8293 buffer size in kbit
8294 For MPEG-1/2 this also sets the vbv buffer size, use 327 for VCD,
8295 917 for SVCD and 1835 for DVD.
8298 .B vrc_buf_aggressivity
8299 currently useless
8302 .B vrc_strategy
8303 Ratecontrol method.
8304 Note that some of the ratecontrol-affecting options will have no effect
8305 if vrc_strategy is not set to 0.
8306 .PD 0
8307 .RSs
8308 .IPs 0
8309 Use internal lavc ratecontrol (default).
8310 .IPs 1
8311 Use Xvid ratecontrol (experimental; requires MEncoder to be compiled
8312 with support for Xvid 1.1 or higher).
8314 .PD 1
8317 .B vb_qfactor=<\-31.0\-31.0>
8318 quantizer factor between B- and non-B-frames (default: 1.25)
8321 .B vi_qfactor=<\-31.0\-31.0>
8322 quantizer factor between I- and non-I-frames (default: 0.8)
8325 .B vb_qoffset=<\-31.0\-31.0>
8326 quantizer offset between B- and non-B-frames (default: 1.25)
8329 .B vi_qoffset=<\-31.0\-31.0>
8330 (default: 0.0)
8332 if v{b|i}_qfactor > 0
8334 I/B-frame quantizer = P-frame quantizer * v{b|i}_qfactor + v{b|i}_qoffset
8336 else
8338 do normal ratecontrol (do not lock to next P-frame quantizer) and
8339 set q= \-q * v{b|i}_qfactor + v{b|i}_qoffset
8341 .I HINT:
8342 To do constant quantizer encoding with different quantizers for
8343 I/P- and B-frames you can use:
8344 lmin= <ip_quant>:lmax= <ip_quant>:vb_qfactor= <b_quant/\:ip_quant>.
8347 .B vqblur=<0.0\-1.0> (pass one)
8348 Quantizer blur (default: 0.5), larger values will average the
8349 quantizer more over time (slower change).
8350 .PD 0
8351 .RSs
8352 .IPs 0.0
8353 Quantizer blur disabled.
8354 .IPs 1.0
8355 Average the quantizer over all previous frames.
8357 .PD 1
8360 .B vqblur=<0.0\-99.0> (pass two)
8361 Quantizer gaussian blur (default: 0.5), larger values will average
8362 the quantizer more over time (slower change).
8365 .B vqcomp=<0.0\-1.0>
8366 Quantizer compression, vrc_eq depends upon this (default: 0.5).
8367 .I NOTE:
8368 Perceptual quality will be optimal somewhere in between the range's extremes.
8371 .B vrc_eq=<equation>
8372 main ratecontrol equation
8374 .RSs
8375 .IPs 1+(tex/\:avgTex-1)*qComp
8376 approximately the equation of the old ratecontrol code
8377 .IPs tex^qComp
8378 with qcomp 0.5 or something like that (default)
8382 infix operators:
8384 .RSs
8385 .IPs +,\-,*,/,^
8389 variables:
8391 .RSs
8392 .IPs "tex\ \ "
8393 texture complexity
8394 .IPs iTex,pTex
8395 intra, non-intra texture complexity
8396 .IPs avgTex
8397 average texture complexity
8398 .IPs avgIITex
8399 average intra texture complexity in I-frames
8400 .IPs avgPITex
8401 average intra texture complexity in P-frames
8402 .IPs avgPPTex
8403 average non-intra texture complexity in P-frames
8404 .IPs avgBPTex
8405 average non-intra texture complexity in B-frames
8406 .IPs "mv\ \ \ "
8407 bits used for motion vectors
8408 .IPs fCode
8409 maximum length of motion vector in log2 scale
8410 .IPs iCount
8411 number of intra macroblocks / number of macroblocks
8412 .IPs "var\ \ "
8413 spatial complexity
8414 .IPs mcVar
8415 temporal complexity
8416 .IPs qComp
8417 qcomp from the command line
8418 .IPs "isI, isP, isB"
8419 Is 1 if picture type is I/P/B else 0.
8420 .IPs "Pi,E\ "
8421 See your favorite math book.
8425 functions:
8427 .RSs
8428 .IPs max(a,b),min(a,b)
8429 maximum / minimum
8430 .IPs gt(a,b)
8431 is 1 if a>b, 0 otherwise
8432 .IPs lt(a,b)
8433 is 1 if a<b, 0 otherwise
8434 .IPs eq(a,b)
8435 is 1 if a==b, 0 otherwise
8436 .IPs "sin, cos, tan, sinh, cosh, tanh, exp, log, abs"
8440 .B vrc_override=<options>
8441 User specified quality for specific parts (ending, credits, ...).
8442 The options are <start-frame>, <end-frame>, <quality>[/<start-frame>,
8443 <end-frame>, <quality>[/...]]:
8444 .PD 0
8445 .RSs
8446 .IPs "quality (2\-31)"
8447 quantizer
8448 .IPs "quality (\-500\-0)"
8449 quality correction in %
8451 .PD 1
8454 .B vrc_init_cplx=<0\-1000>
8455 initial complexity (pass 1)
8458 .B vrc_init_occupancy=<0.0\-1.0>
8459 initial buffer occupancy, as a fraction of vrc_buf_size (default: 0.9)
8462 .B vqsquish=<0|1>
8463 Specify how to keep the quantizer between qmin and qmax.
8464 .PD 0
8465 .RSs
8466 .IPs 0
8467 Use clipping.
8468 .IPs 1
8469 Use a nice differentiable function (default).
8471 .PD 1
8474 .B vlelim=<\-1000\-1000>
8475 Sets single coefficient elimination threshold for luminance.
8476 Negative values will also consider the DC coefficient (should be at least \-4
8477 or lower for encoding at quant=1):
8478 .PD 0
8479 .RSs
8480 .IPs 0
8481 disabled (default)
8482 .IPs \-4
8483 JVT recommendation
8485 .PD 1
8488 .B vcelim=<\-1000\-1000>
8489 Sets single coefficient elimination threshold for chrominance.
8490 Negative values will also consider the DC coefficient (should be at least \-4
8491 or lower for encoding at quant=1):
8492 .PD 0
8493 .RSs
8494 .IPs 0
8495 disabled (default)
8496 .IPs 7
8497 JVT recommendation
8499 .PD 1
8502 .B vstrict=<\-2|\-1|0|1>
8503 strict standard compliance
8504 .PD 0
8505 .RSs
8506 .IPs 0
8507 disabled
8508 .IPs 1
8509 Only recommended if you want to feed the output into the
8510 MPEG-4 reference decoder.
8511 .IPs \-1
8512 Allow libavcodec specific extensions (default).
8513 .IPs \-2
8514 Enables experimental codecs and features which may not be playable
8515 with future MPlayer versions (snow).
8517 .PD 1
8520 .B "vdpart\ "
8521 Data partitioning.
8522 Adds 2 Bytes per video packet, improves error-resistance when transferring over
8523 unreliable channels (e.g.\& streaming over the internet).
8524 Each video packet will be encoded in 3 separate partitions:
8525 .PD 0
8526 .RSs
8527 .IPs "1. MVs"
8528 movement
8529 .IPs "2. DC coefficients"
8530 low res picture
8531 .IPs "3. AC coefficients"
8532 details
8534 .PD 1
8536 MV & DC are most important, losing them looks far worse than losing
8537 the AC and the 1. & 2. partition.
8538 (MV & DC) are far smaller than the 3. partition (AC) meaning that errors
8539 will hit the AC partition much more often than the MV & DC partitions.
8540 Thus, the picture will look better with partitioning than without,
8541 as without partitioning an error will trash AC/\:DC/\:MV equally.
8545 .B vpsize=<0\-10000> (also see vdpart)
8546 Video packet size, improves error-resistance.
8547 .PD 0
8548 .RSs
8549 .IPs "0\ \ \ \ "
8550 disabled (default)
8551 .IPs 100\-1000
8552 good choice
8554 .PD 1
8557 .B "ss\ \ \ \ \ "
8558 slice structured mode for H.263+
8561 .B "gray\ \ \ "
8562 grayscale only encoding (faster)
8565 .B vfdct=<0\-10>
8566 DCT algorithm
8567 .PD 0
8568 .RSs
8569 .IPs 0
8570 Automatically select a good one (default).
8571 .IPs 1
8572 fast integer
8573 .IPs 2
8574 accurate integer
8575 .IPs 3
8577 .IPs 4
8578 mlib
8579 .IPs 5
8580 AltiVec
8581 .IPs 6
8582 floating point AAN
8584 .PD 1
8587 .B idct=<0\-99>
8588 IDCT algorithm
8590 .I NOTE:
8591 To the best of our knowledge all these IDCTs do pass the IEEE1180 tests.
8592 .PD 0
8593 .RSs
8594 .IPs 0
8595 Automatically select a good one (default).
8596 .IPs 1
8597 JPEG reference integer
8598 .IPs 2
8599 simple
8600 .IPs 3
8601 simplemmx
8602 .IPs 4
8603 libmpeg2mmx (inaccurate, do not use for encoding with keyint >100)
8604 .IPs 5
8606 .IPs 6
8607 mlib
8608 .IPs 7
8610 .IPs 8
8611 AltiVec
8612 .IPs 9
8614 .IPs 10
8615 simplearm
8616 .IPs 11
8617 H.264
8618 .IPs 12
8620 .IPs 13
8622 .IPs 14
8623 xvidmmx
8624 .IPs 15
8625 CAVS
8626 .IPs 16
8627 simplearmv5te
8628 .IPs 17
8629 simplearmv6
8631 .PD 1
8634 .B lumi_mask=<0.0\-1.0>
8635 Luminance masking is a 'psychosensory' setting that is supposed to
8636 make use of the fact that the human eye tends to notice fewer details
8637 in very bright parts of the picture.
8638 Luminance masking compresses bright areas stronger than medium ones,
8639 so it will save bits that can be spent again on other frames, raising
8640 overall subjective quality, while possibly reducing PSNR.
8642 .I WARNING:
8643 Be careful, overly large values can cause disastrous things.
8645 .I WARNING:
8646 Large values might look good on some monitors but may look horrible
8647 on other monitors.
8648 .PD 0
8649 .RSs
8650 .IPs "0.0\ \ "
8651 disabled (default)
8652 .IPs 0.0\-0.3
8653 sane range
8655 .PD 1
8658 .B dark_mask=<0.0\-1.0>
8659 Darkness masking is a 'psychosensory' setting that is supposed to
8660 make use of the fact that the human eye tends to notice fewer details
8661 in very dark parts of the picture.
8662 Darkness masking compresses dark areas stronger than medium ones,
8663 so it will save bits that can be spent again on other frames, raising
8664 overall subjective quality, while possibly reducing PSNR.
8666 .I WARNING:
8667 Be careful, overly large values can cause disastrous things.
8669 .I WARNING:
8670 Large values might look good on some monitors but may look horrible
8671 on other monitors / TV / TFT.
8672 .PD 0
8673 .RSs
8674 .IPs "0.0\ \ "
8675 disabled (default)
8676 .IPs 0.0\-0.3
8677 sane range
8679 .PD 1
8682 .B tcplx_mask=<0.0\-1.0>
8683 Temporal complexity masking (default: 0.0 (disabled)).
8684 Imagine a scene with a bird flying across the whole scene; tcplx_mask
8685 will raise the quantizers of the bird's macroblocks (thus decreasing their
8686 quality), as the human eye usually does not have time to see all the bird's
8687 details.
8688 Be warned that if the masked object stops (e.g.\& the bird lands) it is
8689 likely to look horrible for a short period of time, until the encoder
8690 figures out that the object is not moving and needs refined blocks.
8691 The saved bits will be spent on other parts of the video, which may increase
8692 subjective quality, provided that tcplx_mask is carefully chosen.
8695 .B scplx_mask=<0.0\-1.0>
8696 Spatial complexity masking.
8697 Larger values help against blockiness, if no deblocking filter is used for
8698 decoding, which is maybe not a good idea.
8700 Imagine a scene with grass (which usually has great spatial complexity),
8701 a blue sky and a house; scplx_mask will raise the quantizers of the grass'
8702 macroblocks, thus decreasing its quality, in order to spend more bits on
8703 the sky and the house.
8705 .I HINT:
8706 Crop any black borders completely as they will reduce the quality
8707 of the macroblocks (also applies without scplx_mask).
8708 .PD 0
8709 .RSs
8710 .IPs "0.0\ \ "
8711 disabled (default)
8712 .IPs 0.0\-0.5
8713 sane range
8715 .PD 1
8716 .sp 1
8718 .I NOTE:
8719 This setting does not have the same effect as using a custom matrix that
8720 would compress high frequencies harder, as scplx_mask will reduce the
8721 quality of P blocks even if only DC is changing.
8722 The result of scplx_mask will probably not look as good.
8726 .B p_mask=<0.0\-1.0> (also see vi_qfactor)
8727 Reduces the quality of inter blocks.
8728 This is equivalent to increasing the quality of intra blocks, because the
8729 same average bitrate will be distributed by the rate controller to the
8730 whole video sequence (default: 0.0 (disabled)).
8731 p_mask=1.0 doubles the bits allocated to each intra block.
8734 .B border_mask=<0.0\-1.0>
8735 border-processing for MPEG-style encoders.
8736 Border processing increases the quantizer for macroblocks which are less
8737 than 1/5th of the frame width/height away from the frame border,
8738 since they are often visually less important.
8741 .B "naq\ \ \ \ "
8742 Normalize adaptive quantization (experimental).
8743 When using adaptive quantization (*_mask), the average per-MB quantizer may no
8744 longer match the requested frame-level quantizer.
8745 Naq will attempt to adjust the per-MB quantizers to maintain the proper
8746 average.
8749 .B "ildct\ \ "
8750 Use interlaced DCT.
8753 .B "ilme\ \ \ "
8754 Use interlaced motion estimation (mutually exclusive with qpel).
8757 .B "alt\ \ \ \ "
8758 Use alternative scantable.
8761 .B "top=<\-1\-1>\ \ \ "
8762 .PD 0
8763 .RSs
8764 .IPs \-1
8765 automatic
8766 .IPs 0
8767 bottom field first
8768 .IPs 1
8769 top field first
8771 .PD 1
8774 .B format=<value>
8775 .PD 0
8776 .RSs
8777 .IPs "YV12\ "
8778 default
8779 .IPs "444P\ "
8780 for ffv1
8781 .IPs "422P\ "
8782 for HuffYUV, lossless JPEG, dv and ffv1
8783 .IPs "411P\ "
8784 for lossless JPEG, dv and ffv1
8785 .IPs "YVU9\ "
8786 for lossless JPEG, ffv1 and svq1
8787 .IPs "BGR32"
8788 for lossless JPEG and ffv1
8790 .PD 1
8793 .B "pred\ \ \ "
8794 (for HuffYUV)
8795 .PD 0
8796 .RSs
8797 .IPs 0
8798 left prediction
8799 .IPs 1
8800 plane/\:gradient prediction
8801 .IPs 2
8802 median prediction
8804 .PD 1
8807 .B "pred\ \ \ "
8808 (for lossless JPEG)
8809 .PD 0
8810 .RSs
8811 .IPs 0
8812 left prediction
8813 .IPs 1
8814 top prediction
8815 .IPs 2
8816 topleft prediction
8817 .IPs 3
8818 plane/\:gradient prediction
8819 .IPs 6
8820 mean prediction
8822 .PD 1
8825 .B "coder\ \ "
8826 (for ffv1)
8827 .PD 0
8828 .RSs
8829 .IPs 0
8830 vlc coding (Golomb-Rice)
8831 .IPs 1
8832 arithmetic coding (CABAC)
8834 .PD 1
8837 .B context
8838 (for ffv1)
8839 .PD 0
8840 .RSs
8841 .IPs 0
8842 small context model
8843 .IPs 1
8844 large context model
8846 .PD 1
8847 .sp 1
8849 (for ffvhuff)
8851 .PD 0
8852 .RSs
8853 .IPs 0
8854 predetermined Huffman tables (builtin or two pass)
8855 .IPs 1
8856 adaptive Huffman tables
8858 .PD 1
8861 .B "qpel\ \ \ "
8862 Use quarter pel motion compensation (mutually exclusive with ilme).
8864 .I HINT:
8865 This seems only useful for high bitrate encodings.
8868 .B mbcmp=<0\-2000>
8869 Sets the comparison function for the macroblock decision, has only
8870 an effect if mbd=0.
8871 This is also used for some motion search functions, in which case
8872 it has an effect regardless of mbd setting.
8873 .PD 0
8874 .RSs
8875 .IPs "0 (SAD)"
8876 sum of absolute differences, fast (default)
8877 .IPs "1 (SSE)"
8878 sum of squared errors
8879 .IPs "2 (SATD)"
8880 sum of absolute Hadamard transformed differences
8881 .IPs "3 (DCT)"
8882 sum of absolute DCT transformed differences
8883 .IPs "4 (PSNR)"
8884 sum of squared quantization errors (avoid, low quality)
8885 .IPs "5 (BIT)"
8886 number of bits needed for the block
8887 .IPs "6 (RD)"
8888 rate distortion optimal, slow
8889 .IPs "7 (ZERO)"
8891 .IPs "8 (VSAD)"
8892 sum of absolute vertical differences
8893 .IPs "9 (VSSE)"
8894 sum of squared vertical differences
8895 .IPs "10 (NSSE)"
8896 noise preserving sum of squared differences
8897 .IPs "11 (W53)"
8898 5/3 wavelet, only used in snow
8899 .IPs "12 (W97)"
8900 9/7 wavelet, only used in snow
8901 .IPs "+256\ "
8902 Also use chroma, currently does not work (correctly) with B-frames.
8904 .PD 1
8907 .B ildctcmp=<0\-2000>
8908 Sets the comparison function for interlaced DCT decision
8909 (see mbcmp for available comparison functions).
8912 .B precmp=<0\-2000>
8913 Sets the comparison function for motion estimation pre pass
8914 (see mbcmp for available comparison functions) (default: 0).
8917 .B cmp=<0\-2000>
8918 Sets the comparison function for full pel motion estimation
8919 (see mbcmp for available comparison functions) (default: 0).
8922 .B subcmp=<0\-2000>
8923 Sets the comparison function for sub pel motion estimation
8924 (see mbcmp for available comparison functions) (default: 0).
8927 .B skipcmp=<0\-2000>
8928 FIXME: Document this.
8931 .B nssew=<0\-1000000>
8932 This setting controls NSSE weight, where larger weights will result in
8933 more noise.
8934 0 NSSE is identical to SSE
8935 You may find this useful if you prefer to keep some noise in your encoded
8936 video rather than filtering it away before encoding (default: 8).
8939 .B predia=<\-99\-6>
8940 diamond type and size for motion estimation pre-pass
8943 .B dia=<\-99\-6>
8944 Diamond type & size for motion estimation.
8945 Motion search is an iterative process.
8946 Using a small diamond does not limit the search to finding only small
8947 motion vectors.
8948 It is just somewhat more likely to stop before finding the very best motion
8949 vector, especially when noise is involved.
8950 Bigger diamonds allow a wider search for the best motion vector, thus are
8951 slower but result in better quality.
8953 Big normal diamonds are better quality than shape-adaptive diamonds.
8955 Shape-adaptive diamonds are a good tradeoff between speed and quality.
8957 .I NOTE:
8958 The sizes of the normal diamonds and shape adaptive ones do not have
8959 the same meaning.
8960 .RSs
8961 .IPs \-3
8962 shape adaptive (fast) diamond with size 3
8963 .IPs \-2
8964 shape adaptive (fast) diamond with size 2
8965 .IPs \-1
8966 uneven multi-hexagon search (slow)
8967 .IPs  1
8968 normal size=1 diamond (default) =EPZS type diamond
8971       0
8972      000
8973       0
8975 .IPs 2
8976 normal size=2 diamond
8979       0
8980      000
8981     00000
8982      000
8983       0
8988 .B "trell\ \ "
8989 Trellis searched quantization.
8990 This will find the optimal encoding for each 8x8 block.
8991 Trellis searched quantization is quite simply an optimal quantization in
8992 the PSNR versus bitrate sense (Assuming that there would be no rounding
8993 errors introduced by the IDCT, which is obviously not the case.).
8994 It simply finds a block for the minimum of error and lambda*bits.
8995 .PD 0
8996 .RSs
8997 .IPs lambda
8998 quantization parameter (QP) dependent constant
8999 .IPs "bits\ "
9000 amount of bits needed to encode the block
9001 .IPs error
9002 sum of squared errors of the quantization
9004 .PD 1
9007 .B "cbp\ \ \ \ "
9008 Rate distorted optimal coded block pattern.
9009 Will select the coded block pattern which minimizes distortion + lambda*rate.
9010 This can only be used together with trellis quantization.
9013 .B "mv0\ \ \ \ "
9014 Try to encode each MB with MV=<0,0> and choose the better one.
9015 This has no effect if mbd=0.
9018 .B mv0_threshold=<any non-negative integer>
9019 When surrounding motion vectors are <0,0> and the motion estimation
9020 score of the current block is less than mv0_threshold, <0,0> is used for
9021 the motion vector and further motion estimation is skipped (default:
9022 256).
9023 Lowering mv0_threshold to 0 can give a slight (0.01dB) PSNR increase and
9024 possibly make the encoded video look slightly better; raising
9025 mv0_threshold past 320 results in diminished PSNR and visual quality.
9026 Higher values speed up encoding very slightly (usually less than 1%,
9027 depending on the other options used).
9029 .I NOTE:
9030 This option does not require mv0 to be enabled.
9033 .B qprd (mbd=2 only)
9034 rate distorted optimal quantization parameter (QP) for the given
9035 lambda of each macroblock
9038 .B last_pred=<0\-99>
9039 amount of motion predictors from the previous frame
9040 .PD 0
9041 .RSs
9042 .IPs 0
9043 (default)
9044 .IPs a
9045 Will use 2a+1 x 2a+1 macroblock square of motion vector predictors from the
9046 previous frame.
9048 .PD 1
9051 .B preme=<0\-2>
9052 motion estimation pre-pass
9053 .PD 0
9054 .RSs
9055 .IPs 0
9056 disabled
9057 .IPs 1
9058 only after I-frames (default)
9059 .IPs 2
9060 always
9062 .PD 1
9065 .B subq=<1\-8>
9066 subpel refinement quality (for qpel) (default: 8 (high quality))
9068 .I NOTE:
9069 This has a significant effect on speed.
9072 .B refs=<1\-8>
9073 number of reference frames to consider for motion compensation
9074 (Snow only) (default: 1)
9077 .B "psnr\ \ \ "
9078 print the PSNR (peak signal to noise ratio) for the whole video after encoding
9079 and store the per frame PSNR in a file with a name like 'psnr_hhmmss.log'.
9080 Returned values are in dB (decibel), the higher the better.
9083 .B mpeg_quant
9084 Use MPEG quantizers instead of H.263.
9087 .B "aic\ \ \ \ "
9088 Enable AC prediction for MPEG-4 or advanced intra prediction for H.263+.
9089 This will improve quality very slightly (around 0.02 dB PSNR) and slow
9090 down encoding very slightly (about 1%).
9092 .I NOTE:
9093 vqmin should be 8 or larger for H.263+ AIC.
9096 .B "aiv\ \ \ \ "
9097 alternative inter vlc for H.263+
9100 .B "umv\ \ \ \ "
9101 unlimited MVs (H.263+ only)
9102 Allows encoding of arbitrarily long MVs.
9105 .B ibias=<\-256\-256>
9106 intra quantizer bias (256 equals 1.0, MPEG style quantizer default: 96,
9107 H.263 style quantizer default: 0)
9109 .I NOTE:
9110 The H.263 MMX quantizer cannot handle positive biases (set vfdct=1 or 2),
9111 the MPEG MMX quantizer cannot handle negative biases (set vfdct=1 or 2).
9114 .B pbias=<\-256\-256>
9115 inter quantizer bias (256 equals 1.0, MPEG style quantizer default: 0,
9116 H.263 style quantizer default: \-64)
9118 .I NOTE:
9119 The H.263 MMX quantizer cannot handle positive biases (set vfdct=1 or 2),
9120 the MPEG MMX quantizer cannot handle negative biases (set vfdct=1 or 2).
9122 .I HINT:
9123 A more positive bias (\-32 \- \-16 instead of \-64) seems to improve the PSNR.
9126 .B nr=<0\-100000>
9127 Noise reduction, 0 means disabled.
9128 0\-600 is a useful range for typical content, but you may want to turn it
9129 up a bit more for very noisy content (default: 0).
9130 Given its small impact on speed, you might want to prefer to use this over
9131 filtering noise away with video filters like denoise3d or hqdn3d.
9134 .B qns=<0\-3>
9135 Quantizer noise shaping.
9136 Rather than choosing quantization to most closely match the source video
9137 in the PSNR sense, it chooses quantization such that noise (usually ringing)
9138 will be masked by similar-frequency content in the image.
9139 Larger values are slower but may not result in better quality.
9140 This can and should be used together with trellis quantization, in which case
9141 the trellis quantization (optimal for constant weight) will be used as
9142 startpoint for the iterative search.
9143 .PD 0
9144 .RSs
9145 .IPs 0
9146 disabled (default)
9147 .IPs 1
9148 Only lower the absolute value of coefficients.
9149 .IPs 2
9150 Only change coefficients before the last non-zero coefficient + 1.
9151 .IPs 3
9152 Try all.
9154 .PD 1
9157 .B inter_matrix=<comma separated matrix>
9158 Use custom inter matrix.
9159 It needs a comma separated string of 64 integers.
9162 .B intra_matrix=<comma separated matrix>
9163 Use custom intra matrix.
9164 It needs a comma separated string of 64 integers.
9167 .B vqmod_amp
9168 experimental quantizer modulation
9171 .B vqmod_freq
9172 experimental quantizer modulation
9175 .B "dc\ \ \ \ \ "
9176 intra DC precision in bits (default: 8).
9177 If you specify vcodec=mpeg2video this value can be 8, 9, 10 or 11.
9180 .B cgop (also see sc_threshold)
9181 Close all GOPs.
9182 Currently it only works if scene change detection is disabled
9183 (sc_threshold=1000000000).
9186 .B "gmc\ \ \ \ "
9187 Enable Global Motion Compensation.
9190 .B (no)lowdelay
9191 Sets the low delay flag for MPEG-1/2 (disables B-frames).
9194 .B vglobal=<0\-3>
9195 Control writing global video headers.
9196 .PD 0
9197 .RSs
9198 .IPs 0
9199 Codec decides where to write global headers (default).
9200 .IPs 1
9201 Write global headers only in extradata (needed for .mp4/MOV/NUT).
9202 .IPs 2
9203 Write global headers only in front of keyframes.
9204 .IPs 3
9205 Combine 1 and 2.
9207 .PD 1
9210 .B aglobal=<0\-3>
9211 Same as vglobal for audio headers.
9214 .B level=<value>
9215 Set CodecContext Level.
9216 Use 31 or 41 to play video on a Playstation 3.
9219 .B skip_exp=<0\-1000000>
9220 FIXME: Document this.
9223 .B skip_factor=<0\-1000000>
9224 FIXME: Document this.
9227 .B skip_threshold=<0\-1000000>
9228 FIXME: Document this.
9231 .SS nuv (\-nuvopts)
9233 Nuppel video is based on RTJPEG and LZO.
9234 By default frames are first encoded with RTJPEG and then compressed with LZO,
9235 but it is possible to disable either or both of the two passes.
9236 As a result, you can in fact output raw i420, LZO compressed i420, RTJPEG,
9237 or the default LZO compressed RTJPEG.
9239 .I NOTE:
9240 The nuvrec documentation contains some advice and examples about the
9241 settings to use for the most common TV encodings.
9244 .B c=<0\-20>
9245 chrominance threshold (default: 1)
9248 .B l=<0\-20>
9249 luminance threshold (default: 1)
9252 .B "lzo\ \ \ \ "
9253 Enable LZO compression (default).
9256 .B "nolzo\ \ "
9257 Disable LZO compression.
9260 .B q=<3\-255>
9261 quality level (default: 255)
9264 .B "raw \ \ \ "
9265 Disable RTJPEG encoding.
9268 .B "rtjpeg\ "
9269 Enable RTJPEG encoding (default).
9272 .SS xvidenc (\-xvidencopts)
9274 There are three modes available: constant bitrate (CBR), fixed quantizer and
9275 two pass.
9278 .B pass=<1|2>
9279 Specify the pass in two pass mode.
9282 .B turbo (two pass only)
9283 Dramatically speeds up pass one using faster algorithms and disabling
9284 CPU-intensive options.
9285 This will probably reduce global PSNR a little bit and change individual
9286 frame type and PSNR a little bit more.
9289 .B bitrate=<value> (CBR or two pass mode)
9290 Sets the bitrate to be used in kbits/\:second if <16000 or in bits/\:second
9291 if >16000.
9292 If <value> is negative, Xvid will use its absolute value as the target size
9293 (in kBytes) of the video and compute the associated bitrate automagically
9294 (default: 687 kbits/s).
9297 .B fixed_quant=<1\-31>
9298 Switch to fixed quantizer mode and specify the quantizer to be used.
9301 .B zones=<zone0>[/<zone1>[/...]] (CBR or two pass mode)
9302 User specified quality for specific parts (ending, credits, ...).
9303 Each zone is <start-frame>,<mode>,<value> where <mode> may be
9304 .PD 0
9305 .RSs
9306 .IPs "q"
9307 Constant quantizer override, where value=<2.0\-31.0>
9308 represents the quantizer value.
9309 .IPs "w"
9310 Ratecontrol weight override, where value=<0.01\-2.00>
9311 represents the quality correction in %.
9313 .PD 1
9314 .sp 1
9316 .I EXAMPLE:
9318 .PD 0
9319 .RSs
9320 .IPs zones=90000,q,20
9321 Encodes all frames starting with frame 90000 at constant quantizer 20.
9322 .IPs zones=0,w,0.1/10001,w,1.0/90000,q,20
9323 Encode frames 0\-10000 at 10% bitrate, encode frames 90000
9324 up to the end at constant quantizer 20.
9325 Note that the second zone is needed to delimit the first zone, as
9326 without it everything up until frame 89999 would be encoded at 10%
9327 bitrate.
9329 .PD 1
9332 .B me_quality=<0\-6>
9333 This option controls the motion estimation subsystem.
9334 The higher the value, the more precise the estimation should be (default: 6).
9335 The more precise the motion estimation is, the more bits can be saved.
9336 Precision is gained at the expense of CPU time so decrease this setting if
9337 you need realtime encoding.
9340 .B (no)qpel
9341 MPEG-4 uses a half pixel precision for its motion search by default.
9342 The standard proposes a mode where encoders are allowed to use quarter
9343 pixel precision.
9344 This option usually results in a sharper image.
9345 Unfortunately it has a great impact on bitrate and sometimes the
9346 higher bitrate use will prevent it from giving a better image
9347 quality at a fixed bitrate.
9348 It is better to test with and without this option and see whether it
9349 is worth activating.
9352 .B (no)gmc
9353 Enable Global Motion Compensation, which makes Xvid generate special
9354 frames (GMC-frames) which are well suited for Pan/\:Zoom/\:Rotating images.
9355 Whether or not the use of this option will save bits is highly
9356 dependent on the source material.
9359 .B (no)trellis
9360 Trellis Quantization is a kind of adaptive quantization method that
9361 saves bits by modifying quantized coefficients to make them more
9362 compressible by the entropy encoder.
9363 Its impact on quality is good, and if VHQ uses too much CPU for you,
9364 this setting can be a good alternative to save a few bits (and gain
9365 quality at fixed bitrate) at a lesser cost than with VHQ (default: on).
9368 .B (no)cartoon
9369 Activate this if your encoded sequence is an anime/\:cartoon.
9370 It modifies some Xvid internal thresholds so Xvid takes better decisions on
9371 frame types and motion vectors for flat looking cartoons.
9374 .B (no)chroma_me
9375 The usual motion estimation algorithm uses only the luminance information to
9376 find the best motion vector.
9377 However for some video material, using the chroma planes can help find
9378 better vectors.
9379 This setting toggles the use of chroma planes for motion estimation
9380 (default: on).
9383 .B (no)chroma_opt
9384 Enable a chroma optimizer prefilter.
9385 It will do some extra magic on color information to minimize the
9386 stepped-stairs effect on edges.
9387 It will improve quality at the cost of encoding speed.
9388 It reduces PSNR by nature, as the mathematical deviation to the original
9389 picture will get bigger, but the subjective image quality will raise.
9390 Since it works with color information, you might want to turn it off when
9391 encoding in grayscale.
9394 .B (no)hq_ac
9395 Activates high-quality prediction of AC coefficients for intra frames from
9396 neighbor blocks (default: on).
9399 .B vhq=<0\-4>
9400 The motion search algorithm is based on a search in the usual color domain
9401 and tries to find a motion vector that minimizes the difference between the
9402 reference frame and the encoded frame.
9403 With this setting activated, Xvid will also use the frequency domain (DCT)
9404 to search for a motion vector that minimizes not only the spatial
9405 difference but also the encoding length of the block.
9406 Fastest to slowest:
9407 .PD 0
9408 .RSs
9409 .IPs 0
9411 .IPs 1
9412 mode decision (inter/\:intra MB) (default)
9413 .IPs 2
9414 limited search
9415 .IPs 3
9416 medium search
9417 .IPs 4
9418 wide search
9420 .PD 1
9423 .B (no)lumi_mask
9424 Adaptive quantization allows the macroblock quantizers to vary inside
9425 each frame.
9426 This is a 'psychosensory' setting that is supposed to make use of the
9427 fact that the human eye tends to notice fewer details in very bright
9428 and very dark parts of the picture.
9429 It compresses those areas more strongly than medium ones, which will
9430 save bits that can be spent again on other frames, raising overall
9431 subjective quality and possibly reducing PSNR.
9434 .B (no)grayscale
9435 Make Xvid discard chroma planes so the encoded video is grayscale only.
9436 Note that this does not speed up encoding, it just prevents chroma data
9437 from being written in the last stage of encoding.
9440 .B (no)interlacing
9441 Encode the fields of interlaced video material.
9442 Turn this option on for interlaced content.
9444 .I NOTE:
9445 Should you rescale the video, you would need an interlace-aware resizer,
9446 which you can activate with \-vf scale=<width>:<height>:1.
9449 .B min_iquant=<0\-31>
9450 minimum I-frame quantizer (default: 2)
9453 .B max_iquant=<0\-31>
9454 maximum I-frame quantizer (default: 31)
9457 .B min_pquant=<0\-31>
9458 minimum P-frame quantizer (default: 2)
9461 .B max_pquant=<0\-31>
9462 maximum P-frame quantizer (default: 31)
9465 .B min_bquant=<0\-31>
9466 minimum B-frame quantizer (default: 2)
9469 .B max_bquant=<0\-31>
9470 maximum B-frame quantizer (default: 31)
9473 .B min_key_interval=<value> (two pass only)
9474 minimum interval between keyframes (default: 0)
9477 .B max_key_interval=<value>
9478 maximum interval between keyframes (default: 10*fps)
9481 .B quant_type=<h263|mpeg>
9482 Sets the type of quantizer to use.
9483 For high bitrates, you will find that MPEG quantization preserves more detail.
9484 For low bitrates, the smoothing of H.263 will give you less block noise.
9485 When using custom matrices, MPEG quantization
9486 .B must
9487 be used.
9490 .B quant_intra_matrix=<filename>
9491 Load a custom intra matrix file.
9492 You can build such a file with xvid4conf's matrix editor.
9495 .B quant_inter_matrix=<filename>
9496 Load a custom inter matrix file.
9497 You can build such a file with xvid4conf's matrix editor.
9500 .B keyframe_boost=<0\-1000> (two pass mode only)
9501 Shift some bits from the pool for other frame types to intra frames,
9502 thus improving keyframe quality.
9503 This amount is an extra percentage, so a value of 10 will give
9504 your keyframes 10% more bits than normal
9505 (default: 0).
9508 .B kfthreshold=<value> (two pass mode only)
9509 Works together with kfreduction.
9510 Determines the minimum distance below which you consider that
9511 two frames are considered consecutive and treated differently
9512 according to kfreduction
9513 (default: 10).
9516 .B kfreduction=<0\-100> (two pass mode only)
9517 The above two settings can be used to adjust the size of keyframes that
9518 you consider too close to the first (in a row).
9519 kfthreshold sets the range in which keyframes are reduced, and
9520 kfreduction determines the bitrate reduction they get.
9521 The last I-frame will get treated normally
9522 (default: 30).
9525 .B max_bframes=<0\-4>
9526 Maximum number of B-frames to put between I/P-frames (default: 2).
9529 .B bquant_ratio=<0\-1000>
9530 quantizer ratio between B- and non-B-frames, 150=1.50 (default: 150)
9533 .B bquant_offset=<\-1000\-1000>
9534 quantizer offset between B- and non-B-frames, 100=1.00 (default: 100)
9537 .B bf_threshold=<\-255\-255>
9538 This setting allows you to specify what priority to place on the use of
9539 B-frames.
9540 The higher the value, the higher the probability of B-frames being used
9541 (default: 0).
9542 Do not forget that B-frames usually have a higher quantizer, and therefore
9543 aggressive production of B-frames may cause worse visual quality.
9546 .B (no)closed_gop
9547 This option tells Xvid to close every GOP (Group Of Pictures bounded
9548 by two I-frames), which makes GOPs independent from each other.
9549 This just implies that the last frame of the GOP is either a P-frame or a
9550 N-frame but not a B-frame.
9551 It is usually a good idea to turn this option on (default: on).
9554 .B (no)packed
9555 This option is meant to solve frame-order issues when encoding to
9556 container formats like AVI that cannot cope with out-of-order frames.
9557 In practice, most decoders (both software and hardware) are able to deal
9558 with frame-order themselves, and may get confused when this option is
9559 turned on, so you can safely leave if off, unless you really know what
9560 you are doing.
9562 .I WARNING:
9563 This will generate an illegal bitstream, and will not be
9564 decodable by ISO-MPEG-4 decoders except DivX/\:libavcodec/\:Xvid.
9566 .I WARNING:
9567 This will also store a fake DivX version in the file so the bug
9568 autodetection of some decoders might be confused.
9571 .B frame_drop_ratio=<0\-100> (max_bframes=0 only)
9572 This setting allows the creation of variable framerate video streams.
9573 The value of the setting specifies a threshold under which, if the
9574 difference of the following frame to the previous frame is below or equal
9575 to this threshold, a frame gets not coded (a so called n-vop is placed
9576 in the stream).
9577 On playback, when reaching an n-vop the previous frame will be displayed.
9579 .I WARNING:
9580 Playing with this setting may result in a jerky video, so use it at your
9581 own risks!
9584 .B rc_reaction_delay_factor=<value>
9585 This parameter controls the number of frames the CBR rate controller
9586 will wait before reacting to bitrate changes and compensating for them
9587 to obtain a constant bitrate over an averaging range of frames.
9590 .B rc_averaging_period=<value>
9591 Real CBR is hard to achieve.
9592 Depending on the video material, bitrate can be variable, and hard to predict.
9593 Therefore Xvid uses an averaging period for which it guarantees a given
9594 amount of bits (minus a small variation).
9595 This settings expresses the "number of frames" for which Xvid averages
9596 bitrate and tries to achieve CBR.
9599 .B rc_buffer=<value>
9600 size of the rate control buffer
9603 .B curve_compression_high=<0\-100>
9604 This setting allows Xvid to take a certain percentage of bits away from
9605 high bitrate scenes and give them back to the bit reservoir.
9606 You could also use this if you have a clip with so many bits allocated
9607 to high-bitrate scenes that the low(er)-bitrate scenes start to look bad
9608 (default: 0).
9611 .B curve_compression_low=<0\-100>
9612 This setting allows Xvid to give a certain percentage of extra bits to the
9613 low bitrate scenes, taking a few bits from the entire clip.
9614 This might come in handy if you have a few low-bitrate scenes that are
9615 still blocky (default: 0).
9618 .B overflow_control_strength=<0\-100>
9619 During pass one of two pass encoding, a scaled bitrate curve is computed.
9620 The difference between that expected curve and the result obtained during
9621 encoding is called overflow.
9622 Obviously, the two pass rate controller tries to compensate for that overflow,
9623 distributing it over the next frames.
9624 This setting controls how much of the overflow is distributed every time
9625 there is a new frame.
9626 Low values allow lazy overflow control, big rate bursts are compensated for
9627 more slowly (could lead to lack of precision for small clips).
9628 Higher values will make changes in bit redistribution more abrupt, possibly
9629 too abrupt if you set it too high, creating artifacts (default: 5).
9631 .I NOTE:
9632 This setting impacts quality a lot, play with it carefully!
9635 .B max_overflow_improvement=<0\-100>
9636 During the frame bit allocation, overflow control may increase the frame
9637 size.
9638 This parameter specifies the maximum percentage by which the overflow
9639 control is allowed to increase the frame size, compared to the ideal curve
9640 allocation
9641 (default: 5).
9644 .B max_overflow_degradation=<0\-100>
9645 During the frame bit allocation, overflow control may decrease the frame
9646 size.
9647 This parameter specifies the maximum percentage by which the overflow
9648 control is allowed to decrease the frame size, compared to the ideal curve
9649 allocation
9650 (default: 5).
9653 .B container_frame_overhead=<0...>
9654 Specifies a frame average overhead per frame, in bytes.
9655 Most of the time users express their target bitrate for video w/o taking
9656 care of the video container overhead.
9657 This small but (mostly) constant overhead can cause the target file size
9658 to be exceeded.
9659 Xvid allows users to set the amount of overhead per frame the
9660 container generates (give only an average per frame).
9661 0 has a special meaning, it lets Xvid use its own default values
9662 (default: 24 \- AVI average overhead).
9665 .B profile=<profile_name>
9666 Restricts options and VBV (peak bitrate over a short period) according to
9667 the Simple, Advanced Simple and DivX profiles.
9668 The resulting videos should be playable on standalone players adhering to these
9669 profile specifications.
9670 .PD 0
9671 .RSs
9672 .IPs unrestricted
9673 no restrictions (default)
9674 .IPs "sp0\ \ "
9675 simple profile at level 0
9676 .IPs "sp1\ \ "
9677 simple profile at level 1
9678 .IPs "sp2\ \ "
9679 simple profile at level 2
9680 .IPs "sp3\ \ "
9681 simple profile at level 3
9682 .IPs "asp0\ "
9683 advanced simple profile at level 0
9684 .IPs "asp1\ "
9685 advanced simple profile at level 1
9686 .IPs "asp2\ "
9687 advanced simple profile at level 2
9688 .IPs "asp3\ "
9689 advanced simple profile at level 3
9690 .IPs "asp4\ "
9691 advanced simple profile at level 4
9692 .IPs "asp5\ "
9693 advanced simple profile at level 5
9694 .IPs dxnhandheld
9695 DXN handheld profile
9696 .IPs dxnportntsc
9697 DXN portable NTSC profile
9698 .IPs dxnportpal
9699 DXN portable PAL profile
9700 .IPs dxnhtntsc
9701 DXN home theater NTSC profile
9702 .IPs dxnhtpal
9703 DXN home theater PAL profile
9704 .IPs dxnhdtv
9705 DXN HDTV profile
9707 .PD 1
9709 .I NOTE:
9710 These profiles should be used in conjunction with an appropriate \-ffourcc.
9711 Generally DX50 is applicable, as some players do not recognize Xvid but
9712 most recognize DivX.
9716 .B par=<mode>
9717 Specifies the Pixel Aspect Ratio mode (not to be confused with DAR,
9718 the Display Aspect Ratio).
9719 PAR is the ratio of the width and height of a single pixel.
9720 So both are related like this: DAR = PAR * (width/height).
9722 MPEG-4 defines 5 pixel aspect ratios and one extended
9723 one, giving the opportunity to specify a specific pixel aspect
9724 ratio.
9725 5 standard modes can be specified:
9726 .PD 0
9727 .RSs
9728 .IPs vga11
9729 It is the usual PAR for PC content.
9730 Pixels are a square unit.
9731 .IPs pal43
9732 PAL standard 4:3 PAR.
9733 Pixels are rectangles.
9734 .IPs pal169
9735 same as above
9736 .IPs ntsc43
9737 same as above
9738 .IPs ntsc169
9739 same as above (Do not forget to give the exact ratio.)
9740 .IPs "ext\ \ "
9741 Allows you to specify your own pixel aspect ratio with par_width and
9742 par_height.
9744 .PD 1
9746 .I NOTE:
9747 In general, setting aspect and autoaspect options is enough.
9751 .B par_width=<1\-255> (par=ext only)
9752 Specifies the width of the custom pixel aspect ratio.
9755 .B par_height=<1\-255> (par=ext only)
9756 Specifies the height of the custom pixel aspect ratio.
9759 .B aspect=<x/y | f (float value)>
9760 Store movie aspect internally, just like MPEG files.
9761 Much nicer solution than rescaling, because quality is not decreased.
9762 MPlayer and a few others players will play these files correctly, others
9763 will display them with the wrong aspect.
9764 The aspect parameter can be given as a ratio or a floating point number.
9767 .B (no)autoaspect
9768 Same as the aspect option, but automatically computes aspect, taking
9769 into account all the adjustments (crop/\:expand/\:scale/\:etc.) made in the
9770 filter chain.
9773 .B "psnr\ \ \ "
9774 Print the PSNR (peak signal to noise ratio) for the whole video after encoding
9775 and store the per frame PSNR in a file with a name like 'psnr_hhmmss.log' in
9776 the current directory.
9777 Returned values are in dB (decibel), the higher the better.
9780 .B "debug\ \ "
9781 Save per-frame statistics in ./xvid.dbg. (This is not the two pass control
9782 file.)
9786 .sp 1
9787 The following option is only available in Xvid 1.1.x.
9790 .B bvhq=<0|1>
9791 This setting allows vector candidates for B-frames to be used for
9792 the encoding chosen using a rate distortion optimized operator,
9793 which is what is done for P-frames by the vhq option.
9794 This produces nicer-looking B-frames while incurring almost no
9795 performance penalty (default: 1).
9798 .sp 1
9799 The following option is only available in the 1.2.x version of Xvid.
9802 .B threads=<0\-n>
9803 Create n threads to run the motion estimation (default: 0).
9804 The maximum number of threads that can be used is the picture height
9805 divided by 16.
9808 .SS x264enc (\-x264encopts)
9811 .B bitrate=<value>
9812 Sets the average bitrate to be used in kbits/\:second (default: off).
9813 Since local bitrate may vary, this average may be inaccurate for
9814 very short videos (see ratetol).
9815 Constant bitrate can be achieved by combining this with vbv_maxrate,
9816 at significant reduction in quality.
9819 .B qp=<0\-51>
9820 This selects the quantizer to use for P-frames.
9821 I- and B-frames are offset from this value by ip_factor and pb_factor, respectively.
9822 20\-40 is a useful range.
9823 Lower values result in better fidelity, but higher bitrates.
9824 0 is lossless.
9825 Note that quantization in H.264 works differently from MPEG-1/2/4:
9826 H.264's quantization parameter (QP) is on a logarithmic scale.
9827 The mapping is approximately H264QP = 12 + 6*log2(MPEGQP).
9828 For example, MPEG at QP=2 is equivalent to H.264 at QP=18.
9831 .B crf=<1.0\-50.0>
9832 Enables constant quality mode, and selects the quality.
9833 The scale is similar to QP.
9834 Like the bitrate-based modes, this allows each frame to use a
9835 different QP based on the frame's complexity.
9838 .B pass=<1\-3>
9839 Enable 2 or 3-pass mode.
9840 It is recommended to always encode in 2 or 3-pass mode as it leads to a
9841 better bit distribution and improves overall quality.
9842 .PD 0
9843 .RSs
9844 .IPs 1
9845 first pass
9846 .IPs 2
9847 second pass (of two pass encoding)
9848 .IPs 3
9849 Nth pass (second and third passes of three pass encoding)
9852 Here is how it works, and how to use it:
9854 The first pass (pass=1) collects statistics on the video and writes them
9855 to a file.
9856 You might want to deactivate some CPU-hungry options, apart from the ones
9857 that are on by default.
9859 In two pass mode, the second pass (pass=2) reads the statistics file and
9860 bases ratecontrol decisions on it.
9862 In three pass mode, the second pass (pass=3, that is not a typo)
9863 does both: It first reads the statistics, then overwrites them.
9864 You can use all encoding options, except very CPU-hungry options.
9866 The third pass (pass=3) is the same as the second pass, except that it has
9867 the second pass' statistics to work from.
9868 You can use all encoding options, including CPU-hungry ones.
9870 The first pass may use either average bitrate or constant quantizer.
9871 ABR is recommended, since it does not require guessing a quantizer.
9872 Subsequent passes are ABR, and must specify bitrate.
9873 .REss
9876 .B turbo=<0\-2>
9877 Fast first pass mode.
9878 During the first pass of a two or more pass encode it is possible to gain
9879 speed by disabling some options with negligible or even no impact on the
9880 final pass output quality.
9881 .PD 0
9882 .RSs
9883 .IPs 0
9884 disabled (default)
9885 .IPs 1
9886 Reduce subq, frameref and disable some inter-macroblock partition analysis
9887 modes.
9888 .IPs 2
9889 Reduce subq and frameref to 1, use a diamond ME search and disable all
9890 partition analysis modes.
9893 Level 1 can increase first pass speed up to 2x with no change in the global
9894 PSNR of the final pass compared to a full quality first pass.
9896 Level 2 can increase first pass speed up to 4x with about +/\- 0.05dB change
9897 in the global PSNR of the final pass compared to a full quality first pass.
9898 .REss
9901 .B keyint=<value>
9902 Sets maximum interval between IDR-frames (default: 250).
9903 Larger values save bits, thus improve quality, at the cost of seeking
9904 precision.
9905 Unlike MPEG-1/2/4, H.264 does not suffer from DCT drift with large
9906 values of keyint.
9909 .B keyint_min=<1\-keyint/2>
9910 Sets minimum interval between IDR-frames (default: 25).
9911 If scenecuts appear within this interval, they are still encoded as
9912 I-frames, but do not start a new GOP.
9913 In H.264, I-frames do not necessarily bound a closed GOP because it is
9914 allowable for a P-frame to be predicted from more frames than just the one
9915 frame before it (also see frameref).
9916 Therefore, I-frames are not necessarily seekable.
9917 IDR-frames restrict subsequent P-frames from referring to any frame
9918 prior to the IDR-frame.
9921 .B scenecut=<\-1\-100>
9922 Controls how aggressively to insert extra I-frames (default: 40).
9923 With small values of scenecut, the codec often has to force an I-frame
9924 when it would exceed keyint.
9925 Good values of scenecut may find a better location for the I-frame.
9926 Large values use more I-frames than necessary, thus wasting bits.
9927 \-1 disables scene-cut detection, so I-frames are inserted only once
9928 every other keyint frames, even if a scene-cut occurs earlier.
9929 This is not recommended and wastes bitrate as scenecuts encoded as P-frames
9930 are just as big as I-frames, but do not reset the "keyint counter".
9933 .B frameref=<1\-16>
9934 Number of previous frames used as predictors in B- and P-frames (default: 1).
9935 This is effective in anime, but in live-action material the improvements
9936 usually drop off very rapidly above 6 or so reference frames.
9937 This has no effect on decoding speed, but does increase the memory needed for
9938 decoding.
9939 Some decoders can only handle a maximum of 15 reference frames.
9942 .B bframes=<0\-16>
9943 maximum number of consecutive B-frames between I- and P-frames (default: 0)
9946 .B (no)b_adapt
9947 Automatically decides when to use B-frames and how many, up to the maximum
9948 specified above (default: on).
9949 If this option is disabled, then the maximum number of B-frames is used.
9952 .B b_bias=<\-100\-100>
9953 Controls the decision performed by b_adapt.
9954 A higher b_bias produces more B-frames (default: 0).
9957 .B (no)b_pyramid
9958 Allows B-frames to be used as references for predicting other frames.
9959 For example, consider 3 consecutive B-frames: I0 B1 B2 B3 P4.
9960 Without this option, B-frames follow the same pattern as MPEG-[124].
9961 So they are coded in the order I0 P4 B1 B2 B3, and all the B-frames
9962 are predicted from I0 and P4.
9963 With this option, they are coded as I0 P4 B2 B1 B3.
9964 B2 is the same as above, but B1 is predicted from I0 and B2, and
9965 B3 is predicted from B2 and P4.
9966 This usually results in slightly improved compression, at almost no
9967 speed cost.
9968 However, this is an experimental option: it is not fully tuned and
9969 may not always help.
9970 Requires bframes >= 2.
9971 Disadvantage: increases decoding delay to 2 frames.
9974 .B (no)deblock
9975 Use deblocking filter (default: on).
9976 As it takes very little time compared to its quality gain, it is not
9977 recommended to disable it.
9980 .B deblock=<\-6\-6>,<\-6\-6>
9981 The first parameter is AlphaC0 (default: 0).
9982 This adjusts thresholds for the H.264 in-loop deblocking filter.
9983 First, this parameter adjusts the maximum amount of change that the filter is
9984 allowed to cause on any one pixel.
9985 Secondly, this parameter affects the threshold for difference across the
9986 edge being filtered.
9987 A positive value reduces blocking artifacts more, but will also smear details.
9989 The second parameter is Beta (default: 0).
9990 This affects the detail threshold.
9991 Very detailed blocks are not filtered, since the smoothing caused by the
9992 filter would be more noticeable than the original blocking.
9994 The default behavior of the filter almost always achieves optimal quality,
9995 so it is best to either leave it alone, or make only small adjustments.
9996 However, if your source material already has some blocking or noise which
9997 you would like to remove, it may be a good idea to turn it up a little bit.
10000 .B (no)cabac
10001 Use CABAC (Context-Adaptive Binary Arithmetic Coding) (default: on).
10002 Slightly slows down encoding and decoding, but should save 10\-15% bitrate.
10003 Unless you are looking for decoding speed, you should not disable it.
10006 .B qp_min=<1\-51> (ABR or two pass)
10007 Minimum quantizer, 10\-30 seems to be a useful range (default: 10).
10010 .B qp_max=<1\-51> (ABR or two pass)
10011 maximum quantizer (default: 51)
10014 .B qp_step=<1\-50> (ABR or two pass)
10015 maximum value by which the quantizer may be incremented/decremented between
10016 frames (default: 4)
10019 .B ratetol=<0.1\-100.0> (ABR or two pass)
10020 allowed variance in average bitrate (no particular units) (default: 1.0)
10023 .B vbv_maxrate=<value> (ABR or two pass)
10024 maximum local bitrate, in kbits/\:second (default: disabled)
10027 .B vbv_bufsize=<value> (ABR or two pass)
10028 averaging period for vbv_maxrate, in kbits
10029 (default: none, must be specified if vbv_maxrate is enabled)
10032 .B vbv_init=<0.0\-1.0> (ABR or two pass)
10033 initial buffer occupancy, as a fraction of vbv_bufsize (default: 0.9)
10036 .B ip_factor=<value>
10037 quantizer factor between I- and P-frames (default: 1.4)
10040 .B pb_factor=<value>
10041 quantizer factor between P- and B-frames (default: 1.3)
10044 .B qcomp=<0\-1> (ABR or two pass)
10045 quantizer compression (default: 0.6).
10046 A lower value makes the bitrate more constant,
10047 while a higher value makes the quantization parameter more constant.
10050 .B cplx_blur=<0\-999> (two pass only)
10051 Temporal blur of the estimated frame complexity, before curve compression
10052 (default: 20).
10053 Lower values allow the quantizer value to jump around more,
10054 higher values force it to vary more smoothly.
10055 cplx_blur ensures that each I-frame has quality comparable to the following
10056 P-frames, and ensures that alternating high and low complexity frames
10057 (e.g.\& low fps animation) do not waste bits on fluctuating quantizer.
10060 .B qblur=<0\-99> (two pass only)
10061 Temporal blur of the quantization parameter, after curve compression
10062 (default: 0.5).
10063 Lower values allow the quantizer value to jump around more,
10064 higher values force it to vary more smoothly.
10067 .B zones=<zone0>[/<zone1>[/...]]
10068 User specified quality for specific parts (ending, credits, ...).
10069 Each zone is <start-frame>,<end-frame>,<option> where option may be
10070 .PD 0
10071 .RSs
10072 .IPs "q=<0\-51>"
10073 quantizer
10074 .IPs "b=<0.01\-100.0>"
10075 bitrate multiplier
10077 .PD 1
10079 .I NOTE:
10080 The quantizer option is not strictly enforced.
10081 It affects only the planning stage of ratecontrol, and is still subject
10082 to overflow compensation and qp_min/qp_max.
10086 .B direct_pred=<name>
10087 Determines the type of motion prediction used for direct macroblocks
10088 in B-frames.
10089 .PD 0
10090 .RSs
10091 .IPs none
10092 Direct macroblocks are not used.
10093 .IPs spatial
10094 Motion vectors are extrapolated from neighboring blocks.
10095 (default)
10096 .IPs temporal
10097 Motion vectors are extrapolated from the following P-frame.
10098 .IPs auto
10099 The codec selects between spatial and temporal for each frame.
10101 .PD 1
10103 Spatial and temporal are approximately the same speed and PSNR,
10104 the choice between them depends on the video content.
10105 Auto is slightly better, but slower.
10106 Auto is most effective when combined with multipass.
10107 direct_pred=none is both slower and lower quality.
10111 .B (no)weight_b
10112 Use weighted prediction in B-frames.
10113 Without this option, bidirectionally predicted macroblocks give
10114 equal weight to each reference frame.
10115 With this option, the weights are determined by the temporal position
10116 of the B-frame relative to the references.
10117 Requires bframes > 1.
10120 .B partitions=<list>
10121 Enable some optional macroblock types (default: p8x8,b8x8,i8x8,i4x4).
10122 .PD 0
10123 .RSs
10124 .IPs p8x8
10125 Enable types p16x8, p8x16, p8x8.
10126 .IPs p4x4
10127 Enable types p8x4, p4x8, p4x4.
10128 p4x4 is recommended only with subq >= 5, and only at low resolutions.
10129 .IPs b8x8
10130 Enable types b16x8, b8x16, b8x8.
10131 .IPs i8x8
10132 Enable type i8x8.
10133 i8x8 has no effect unless 8x8dct is enabled.
10134 .IPs i4x4
10135 Enable type i4x4.
10136 .IPs all
10137 Enable all of the above types.
10138 .IPs none
10139 Disable all of the above types.
10141 .PD 1
10143 Regardless of this option, macroblock types p16x16, b16x16, and i16x16
10144 are always enabled.
10146 The idea is to find the type and size that best describe a certain area
10147 of the picture.
10148 For example, a global pan is better represented by 16x16 blocks, while
10149 small moving objects are better represented by smaller blocks.
10153 .B (no)8x8dct
10154 Adaptive spatial transform size: allows macroblocks to choose between
10155 4x4 and 8x8 DCT.
10156 Also allows the i8x8 macroblock type.
10157 Without this option, only 4x4 DCT is used.
10160 .B me=<name>
10161 Select fullpixel motion estimation algorithm.
10162 .PD 0
10163 .RSs
10164 .IPs dia
10165 diamond search, radius 1 (fast)
10166 .IPs hex
10167 hexagon search, radius 2 (default)
10168 .IPs umh
10169 uneven multi-hexagon search (slow)
10170 .IPs esa
10171 exhaustive search (very slow, and no better than umh)
10173 .PD 1
10176 .B me_range=<4\-64>
10177 radius of exhaustive or multi-hexagon motion search (default: 16)
10180 .B subq=<0\-9>
10181 Adjust subpel refinement quality.
10182 This parameter controls quality versus speed tradeoffs involved in the motion
10183 estimation decision process.
10184 subq=5 can compress up to 10% better than subq=1.
10185 .PD 0
10186 .RSs
10187 .IPs 0
10188 Runs fullpixel precision motion estimation on all candidate
10189 macroblock types.
10190 Then selects the best type with SAD metric (faster than subq=1, not recommended
10191 unless you're looking for ultra-fast encoding).
10192 .IPs 1
10193 Does as 0, then refines the motion of that type to fast quarterpixel precision
10194 (fast).
10195 .IPs 2
10196 Runs halfpixel precision motion estimation on all candidate macroblock types.
10197 Then selects the best type with SATD metric.
10198 Then refines the motion of that type to fast quarterpixel precision.
10199 .IPs 3
10200 As 2, but uses a slower quarterpixel refinement.
10201 .IPs 4
10202 Runs fast quarterpixel precision motion estimation on all candidate
10203 macroblock types.
10204 Then selects the best type with SATD metric.
10205 Then finishes the quarterpixel refinement for that type.
10206 .IPs 5
10207 Runs best quality quarterpixel precision motion estimation on all
10208 candidate macroblock types, before selecting the best type.
10209 Also refines the two motion vectors used in bidirectional macroblocks with
10210 SATD metric, rather than reusing vectors from the forward and backward
10211 searches.
10212 .IPs 6
10213 Enables rate-distortion optimization of macroblock types in
10214 I- and P-frames (default).
10215 .IPs 7
10216 Enables rate-distortion optimization of macroblock types in all frames.
10217 .IPs 8
10218 Enables rate-distortion optimization of motion vectors and intra prediction modes in I- and P-frames.
10219 .IPs 9
10220 Enables rate-distortion optimization of motion vectors and intra prediction modes in all frames (best).
10222 .PD 1
10224 In the above, "all candidates" does not exactly mean all enabled types:
10225 4x4, 4x8, 8x4 are tried only if 8x8 is better than 16x16.
10229 .B (no)chroma_me
10230 Takes into account chroma information during subpixel motion search
10231 (default: enabled).
10232 Requires subq>=5.
10235 .B (no)mixed_refs
10236 Allows each 8x8 or 16x8 motion partition to independently select a
10237 reference frame.
10238 Without this option, a whole macroblock must use the same reference.
10239 Requires frameref>1.
10242 .B trellis=<0\-2> (cabac only)
10243 rate-distortion optimal quantization
10244 .PD 0
10245 .RSs
10246 .IPs 0
10247 disabled (default)
10248 .IPs 1
10249 enabled only for the final encode
10250 .IPs 2
10251 enabled during all mode decisions (slow, requires subq>=6)
10253 .PD 1
10256 .B psy-rd=rd[,trell]
10257 Sets the strength of the psychovisual optimization.
10258 .PD 0
10259 .RSs
10260 .IPs rd=<0.0\-10.0>
10261 psy optimization strength (requires subq>=6) (default: 1.0)
10262 .IPs trell=<0.0\-10.0>
10263 trellis (requires trellis, experimental) (default: 0.0)
10265 .PD 1
10269 .B deadzone_inter=<0\-32>
10270 Set the size of the inter luma quantization deadzone for non-trellis
10271 quantization (default: 21).
10272 Lower values help to preserve fine details and film grain (typically useful
10273 for high bitrate/quality encode), while higher values help filter out
10274 these details to save bits that can be spent again on other macroblocks
10275 and frames (typically useful for bitrate-starved encodes).
10276 It is recommended that you start by tweaking deadzone_intra before changing
10277 this parameter.
10280 .B deadzone_intra=<0\-32>
10281 Set the size of the intra luma quantization deadzone for non-trellis
10282 quantization (default: 11).
10283 This option has the same effect as deadzone_inter except that it affects
10284 intra frames.
10285 It is recommended that you start by tweaking this parameter before changing
10286 deadzone_inter.
10289 .B (no)fast_pskip
10290 Performs early skip detection in P-frames (default: enabled).
10291 This usually improves speed at no cost, but it can sometimes produce
10292 artifacts in areas with no details, like sky.
10295 .B (no)dct_decimate
10296 Eliminate dct blocks in P-frames containing only a small single coefficient
10297 (default: enabled).
10298 This will remove some details, so it will save bits that can be spent
10299 again on other frames, hopefully raising overall subjective quality.
10300 If you are compressing non-anime content with a high target bitrate, you
10301 may want to disable this to preserve as much detail as possible.
10304 .B nr=<0\-100000>
10305 Noise reduction, 0 means disabled.
10306 100\-1000 is a useful range for typical content, but you may want to turn it
10307 up a bit more for very noisy content (default: 0).
10308 Given its small impact on speed, you might want to prefer to use this over
10309 filtering noise away with video filters like denoise3d or hqdn3d.
10312 .B chroma_qp_offset=<\-12\-12>
10313 Use a different quantizer for chroma as compared to luma.
10314 Useful values are in the range <\-2\-2> (default: 0).
10317 .B aq_mode=<0\-2>
10318 Defines how adaptive quantization (AQ) distributes bits:
10319 .PD 0
10320 .RSs
10321 .IPs 0
10322 disabled
10323 .IPs 1
10324 Avoid moving bits between frames.
10325 .IPs 2
10326 Move bits between frames (by default).
10328 .PD 1
10331 .B aq_strength=<positive float value>
10332 Controls how much adaptive quantization (AQ) reduces blocking and blurring
10333 in flat and textured areas (default: 1.0).
10334 A value of 0.5 will lead to weak AQ and less details, when a value of 1.5
10335 will lead to strong AQ and more details.
10338 .B cqm=<flat|jvt|<filename>>
10339 Either uses a predefined custom quantization matrix or loads a JM format
10340 matrix file.
10341 .PD 0
10342 .RSs
10343 .IPs "flat\ "
10344 Use the predefined flat 16 matrix (default).
10345 .IPs "jvt\ \ "
10346 Use the predefined JVT matrix.
10347 .IPs <filename>
10348 Use the provided JM format matrix file.
10349 .PD 1
10352 .I NOTE:
10353 Windows CMD.EXE users may experience problems with parsing the command line
10354 if they attempt to use all the CQM lists.
10355 This is due to a command line length limitation.
10356 In this case it is recommended the lists be put into a JM format CQM
10357 file and loaded as specified above.
10361 .B cqm4iy=<list> (also see cqm)
10362 Custom 4x4 intra luminance matrix, given as a list of 16 comma separated
10363 values in the 1\-255 range.
10366 .B cqm4ic=<list> (also see cqm)
10367 Custom 4x4 intra chrominance matrix, given as a list of 16 comma
10368 separated values in the 1\-255 range.
10371 .B cqm4py=<list> (also see cqm)
10372 Custom 4x4 inter luminance matrix, given as a list of 16 comma separated
10373 values in the 1\-255 range.
10376 .B cqm4pc=<list> (also see cqm)
10377 Custom 4x4 inter chrominance matrix, given as a list of 16 comma
10378 separated values in the 1\-255 range.
10381 .B cqm8iy=<list> (also see cqm)
10382 Custom 8x8 intra luminance matrix, given as a list of 64 comma separated
10383 values in the 1\-255 range.
10386 .B cqm8py=<list> (also see cqm)
10387 Custom 8x8 inter luminance matrix, given as a list of 64 comma separated
10388 values in the 1\-255 range.
10391 .B level_idc=<10\-51>
10392 Set the bitstream's level as defined by annex A of the H.264 standard
10393 (default: 51 \- level 5.1).
10394 This is used for telling the decoder what capabilities it needs to support.
10395 Use this parameter only if you know what it means,
10396 and you have a need to set it.
10399 .B threads=<0\-16>
10400 Spawn threads to encode in parallel on multiple CPUs (default: 1).
10401 This has a slight penalty to compression quality.
10402 0 or 'auto' tells x264 to detect how many CPUs you have and pick an
10403 appropriate number of threads.
10406 .B (no)global_header
10407 Causes SPS and PPS to appear only once, at the beginning of the bitstream
10408 (default: disabled).
10409 Some players, such as the Sony PSP, require the use of this option.
10410 The default behavior causes SPS and PPS to repeat prior to each IDR frame.
10413 .B (no)interlaced
10414 Treat the video content as interlaced.
10417 .B log=<\-1\-3>
10418 Adjust the amount of logging info printed to the screen.
10419 .PD 0
10420 .RSs
10421 .IPs "\-1"
10422 none
10423 .IPs " 0"
10424 Print errors only.
10425 .IPs " 1"
10426 warnings
10427 .IPs " 2"
10428 PSNR and other analysis statistics when the encode finishes (default)
10429 .IPs " 3"
10430 PSNR, QP, frametype, size, and other statistics for every frame
10432 .PD 1
10435 .B (no)psnr
10436 Print signal-to-noise ratio statistics.
10438 .I NOTE:
10439 The 'Y', 'U', 'V', and 'Avg' PSNR fields in the summary are not
10440 mathematically sound (they are simply the average of per-frame PSNRs).
10441 They are kept only for comparison to the JM reference codec.
10442 For all other purposes, please use either the 'Global' PSNR, or the per-frame
10443 PSNRs printed by log=3.
10446 .B (no)ssim
10447 Print the Structural Similarity Metric results.
10448 This is an alternative to PSNR, and may be better correlated with the
10449 perceived quality of the compressed video.
10452 .B (no)visualize
10453 Enable x264 visualizations during encoding.
10454 If the x264 on your system supports it, a new window will be opened during
10455 the encoding process, in which x264 will attempt to present an overview of
10456 how each frame gets encoded.
10457 Each block type on the visualized movie will be colored as follows:
10458 .PD 0
10459 .RSs
10460 .IPs red/pink
10461 intra block
10462 .IPs "blue\ "
10463 inter block
10464 .IPs green
10465 skip block
10466 .IPs yellow
10467 B-block
10469 .PD 1
10471 This feature can be considered experimental and subject to change.
10472 In particular, it depends on x264 being compiled with visualizations enabled.
10473 Note that as of writing this, x264 pauses after encoding and visualizing
10474 each frame, waiting for the user to press a key, at which point the next
10475 frame will be encoded.
10479 .SS xvfw (\-xvfwopts)
10481 Encoding with Video for Windows codecs is mostly obsolete unless you wish
10482 to encode to some obscure fringe codec.
10485 .B codec=<name>
10486 The name of the binary codec file with which to encode.
10489 .B compdata=<file>
10490 The name of the codec settings file (like firstpass.mcf) created by vfw2menc.
10493 .SS MPEG muxer (\-mpegopts)
10495 The MPEG muxer can generate 5 types of streams, each of which has reasonable
10496 default parameters that the user can override.
10497 Generally, when generating MPEG files, it is advisable to disable
10498 MEncoder's frame-skip code (see \-noskip, \-mc as well as the
10499 harddup and softskip video filters).
10501 .I EXAMPLE:
10502 .PD 0
10503 .RSs
10504 .IPs format=mpeg2:tsaf:vbitrate=8000
10506 .PD 1
10509 .B format=<mpeg1 | mpeg2 | xvcd | xsvcd | dvd | pes1 | pes2>
10510 stream format (default: mpeg2).
10511 pes1 and pes2 are very broken formats (no pack header and no padding),
10512 but VDR uses them; do not choose them unless you know exactly what you
10513 are doing.
10516 .B size=<up to 65535>
10517 Pack size in bytes, do not change unless you know exactly what
10518 you are doing (default: 2048).
10521 .B muxrate=<int>
10522 Nominal muxrate in kbit/s used in the pack headers (default: 1800 kb/s).
10523 Will be updated as necessary in the case of 'format=mpeg1' or 'mpeg2'.
10526 .B "tsaf\ \ \ "
10527 Sets timestamps on all frames, if possible; recommended when format=dvd.
10528 If dvdauthor complains with a message like "..audio sector out of range...",
10529 you probably did not enable this option.
10532 .B interleaving2
10533 Uses a better algorithm to interleave audio and video packets, based on the
10534 principle that the muxer will always try to fill the stream with the largest
10535 percentage of free space.
10538 .B vdelay=<1\-32760>
10539 Initial video delay time, in milliseconds (default: 0),
10540 use it if you want to delay video with respect to audio.
10541 It doesn't work with :drop.
10544 .B adelay=<1\-32760>
10545 Initial audio delay time, in milliseconds (default: 0),
10546 use it if you want to delay audio with respect to video.
10549 .B "drop\ \ \ "
10550 When used with vdelay the muxer drops the part of audio that was
10551 anticipated.
10554 .B vwidth, vheight=<1\-4095>
10555 Set the video width and height when video is MPEG-1/2.
10558 .B vpswidth, vpsheight=<1\-4095>
10559 Set pan and scan video width and height when video is MPEG-2.
10562 .B vaspect=<1 | 4/3 | 16/9 | 221/100>
10563 Sets the display aspect ratio for MPEG-2 video.
10564 Do not use it on MPEG-1 or the resulting aspect ratio will be completely wrong.
10567 .B vbitrate=<int>
10568 Sets the video bitrate in kbit/s for MPEG-1/2 video.
10571 .B vframerate=<24000/1001 | 24 | 25 | 30000/1001 | 30 | 50 | 60000/1001 | 60 >
10572 Sets the framerate for MPEG-1/2 video.
10573 This option will be ignored if used with the telecine option.
10576 .B telecine
10577 Enables 3:2 pulldown soft telecine mode: The muxer will make the
10578 video stream look like it was encoded at 30000/1001 fps.
10579 It only works with MPEG-2 video when the output framerate is
10580 24000/1001 fps, convert it with \-ofps if necessary.
10581 Any other framerate is incompatible with this option.
10584 .B film2pal
10585 Enables FILM to PAL and NTSC to PAL soft telecine mode: The muxer
10586 will make the video stream look like it was encoded at 25 fps.
10587 It only works with MPEG-2 video when the output framerate is
10588 24000/1001 fps, convert it with \-ofps if necessary.
10589 Any other framerate is incompatible with this option.
10592 .B tele_src and tele_dest
10593 Enables arbitrary telecining using Donand Graft's DGPulldown code.
10594 You need to specify the original and the desired framerate; the
10595 muxer will make the video stream look like it was encoded at
10596 the desired framerate.
10597 It only works with MPEG-2 video when the input framerate is smaller
10598 than the output framerate and the framerate increase is <= 1.5.
10599 .sp 1
10601 .I EXAMPLE:
10603 .PD 0
10604 .RSs
10605 .IPs tele_src=25,tele_dest=30000/1001
10606 PAL to NTSC telecining
10608 .PD 1
10611 .B vbuf_size=<40\-1194>
10612 Sets the size of the video decoder's buffer, expressed in kilobytes.
10613 Specify it only if the bitrate of the video stream is too high for
10614 the chosen format and if you know perfectly well what you are doing.
10615 A too high value may lead to an unplayable movie, depending on the player's
10616 capabilities.
10617 When muxing HDTV video a value of 400 should suffice.
10620 .B abuf_size=<4\-64>
10621 Sets the size of the audio decoder's buffer, expressed in kilobytes.
10622 The same principle as for vbuf_size applies.
10625 .SS FFmpeg libavformat demuxers (\-lavfdopts)
10628 .B analyzeduration=<value>
10629 Maximum length in seconds to analyze the stream properties.
10632 .B format=<value>
10633 Force a specific libavformat demuxer.
10636 .B o=<key>=<value>[,<key>=<value>[,...]]
10637 Pass AVOptions to libavformat demuxer.
10638 Note, a patch to make the o= unneeded and pass all unknown options through
10639 the AVOption system is welcome.
10640 A full list of AVOptions can be found in the FFmpeg manual.
10641 Note that some options may conflict with MPlayer/MEncoder options.
10642 .sp 1
10644 .I EXAMPLE:
10646 .RSs
10647 .PD 0
10648 .IPs o=ignidx
10649 .PD 1
10653 .B probesize=<value>
10654 Maximum amount of data to probe during the detection phase.
10655 In the case of MPEG-TS this value identifies the maximum number
10656 of TS packets to scan.
10659 .B cryptokey=<hexstring>
10660 Encryption key the demuxer should use.
10661 This is the raw binary data of the key converted to a hexadecimal string.
10664 .SS FFmpeg libavformat muxers (\-lavfopts) (also see \-of lavf)
10667 .B delay=<value>
10668 Currently only meaningful for MPEG[12]: Maximum allowed distance,
10669 in seconds, between the reference timer of the output stream (SCR)
10670 and the decoding timestamp (DTS) for any stream present
10671 (demux to decode delay).
10672 Default is 0.7 (as mandated by the standards defined by MPEG).
10673 Higher values require larger buffers and must not be used.
10676 .B format=<container_format>
10677 Override which container format to mux into
10678 (default: autodetect from output file extension).
10679 .PD 0
10680 .RSs
10681 .IPs "mpg\ \ "
10682 MPEG-1 systems and MPEG-2 PS
10683 .IPs "asf\ \ "
10684 Advanced Streaming Format
10685 .IPs "avi\ \ "
10686 Audio Video Interleave file
10687 .IPs "wav\ \ "
10688 Waveform Audio
10689 .IPs "swf\ \ "
10690 Macromedia Flash
10691 .IPs "flv\ \ "
10692 Macromedia Flash video files
10693 .IPs "rm\ \ \ "
10694 RealAudio and RealVideo
10695 .IPs "au\ \ \ "
10696 SUN AU format
10697 .IPs "nut\ \ "
10698 NUT open container format (experimental)
10699 .IPs "mov\ \ "
10700 QuickTime
10701 .IPs "mp4\ \ "
10702 MPEG-4 format
10703 .IPs "ipod\ "
10704 MPEG-4 format with extra header flags required by Apple iPod firmware
10705 .IPs "dv\ \ \ "
10706 Sony Digital Video container
10707 .IPs "matroska\ \ \ "
10708 Matroska
10710 .PD 1
10712 .B muxrate=<rate>
10713 Nominal bitrate of the multiplex, in bits per second;
10714 currently it is meaningful only for MPEG[12].
10715 Sometimes raising it is necessary in order to avoid "buffer underflows".
10718 .B o=<key>=<value>[,<key>=<value>[,...]]
10719 Pass AVOptions to libavformat muxer.
10720 Note, a patch to make the o= unneeded and pass all unknown options through
10721 the AVOption system is welcome.
10722 A full list of AVOptions can be found in the FFmpeg manual.
10723 Note that some options may conflict with MEncoder options.
10724 .sp 1
10726 .I EXAMPLE:
10728 .RSs
10729 .PD 0
10730 .IPs o=packetsize=100
10731 .PD 1
10735 .B packetsize=<size>
10736 Size, expressed in bytes, of the unitary packet for the chosen format.
10737 When muxing to MPEG[12] implementations the default values are:
10738 2324 for [S]VCD, 2048 for all others formats.
10741 .B preload=<distance>
10742 Currently only meaningful for MPEG[12]: Initial distance,
10743 in seconds, between the reference timer of the output stream (SCR)
10744 and the decoding timestamp (DTS) for any stream present
10745 (demux to decode delay).
10749 .\" --------------------------------------------------------------------------
10750 .\" environment variables
10751 .\" --------------------------------------------------------------------------
10753 .SH ENVIRONMENT VARIABLES
10755 There are a number of environment variables that can be used to
10756 control the behavior of MPlayer and MEncoder.
10759 .B MPLAYER_CHARSET (also see \-msgcharset)
10760 Convert console messages to the specified charset (default: autodetect).
10761 A value of "noconv" means no conversion.
10764 .B MPLAYER_HOME
10765 Directory where MPlayer looks for user settings.
10768 .B MPLAYER_VERBOSE (also see \-v and \-msglevel)
10769 Set the initial verbosity level across all message modules (default: 0).
10770 The resulting verbosity corresponds to that of \-msglevel 5 plus the
10771 value of MPLAYER_VERBOSE.
10773 .SS libaf:
10776 .B LADSPA_PATH
10777 If LADSPA_PATH is set, it searches for the specified file.
10778 If it is not set, you must supply a fully specified pathname.
10779 FIXME: This is also mentioned in the ladspa section.
10781 .SS libdvdcss:
10784 .B DVDCSS_CACHE
10785 Specify a directory in which to store title key values.
10786 This will speed up descrambling of DVDs which are in the cache.
10787 The DVDCSS_CACHE directory is created if it does not exist,
10788 and a subdirectory is created named after the DVD's title
10789 or manufacturing date.
10790 If DVDCSS_CACHE is not set or is empty, libdvdcss will use
10791 the default value which is "${HOME}/.dvdcss/" under Unix and
10792 "C:\\Documents and Settings\\$USER\\Application Data\\dvdcss\\" under Win32.
10793 The special value "off" disables caching.
10796 .B DVDCSS_METHOD
10797 Sets the authentication and decryption method that
10798 libdvdcss will use to read scrambled discs.
10799 Can be one of title, key or disc.
10800 .PD 0
10801 .RSs
10802 .IPs "key\ \ "
10803 is the default method.
10804 libdvdcss will use a set of calculated player keys to try and get the disc key.
10805 This can fail if the drive does not recognize any of the player keys.
10806 .IPs "disc\ "
10807 is a fallback method when key has failed.
10808 Instead of using player keys, libdvdcss will crack the disc key using
10809 a brute force algorithm.
10810 This process is CPU intensive and requires 64 MB of memory to store
10811 temporary data.
10812 .IPs title
10813 is the fallback when all other methods have failed.
10814 It does not rely on a key exchange with the DVD drive, but rather uses
10815 a crypto attack to guess the title key.
10816 On rare cases this may fail because there is not enough encrypted data
10817 on the disc to perform a statistical attack, but in the other hand it
10818 is the only way to decrypt a DVD stored on a hard disc, or a DVD with
10819 the wrong region on an RPC2 drive.
10821 .PD 1
10824 .B DVDCSS_RAW_DEVICE
10825 Specify the raw device to use.
10826 Exact usage will depend on your operating system, the Linux
10827 utility to set up raw devices is raw(8) for instance.
10828 Please note that on most operating systems, using a raw device
10829 requires highly aligned buffers: Linux requires a 2048 bytes
10830 alignment (which is the size of a DVD sector).
10833 .B DVDCSS_VERBOSE
10834 Sets the libdvdcss verbosity level.
10835 .PD 0
10836 .RSs
10837 .IPs 0
10838 Outputs no messages at all.
10839 .IPs 1
10840 Outputs error messages to stderr.
10841 .IPs 2
10842 Outputs error messages and debug messages to stderr.
10844 .PD 1
10847 .B DVDREAD_NOKEYS
10848 Skip retrieving all keys on startup.
10849 Currently disabled.
10852 .B HOME
10853 FIXME: Document this.
10855 .SS libao2:
10858 .B AO_SUN_DISABLE_SAMPLE_TIMING
10859 FIXME: Document this.
10862 .B AUDIODEV
10863 FIXME: Document this.
10866 .B AUDIOSERVER
10867 Specifies the Network Audio System server to which the
10868 nas audio output driver should connect and the transport
10869 that should be used.
10870 If unset DISPLAY is used instead.
10871 The transport can be one of tcp and unix.
10872 Syntax is tcp/<somehost>:<someport>, <somehost>:<instancenumber>
10873 or [unix]:<instancenumber>.
10874 The NAS base port is 8000 and <instancenumber> is added to that.
10875 .sp 1
10877 .I EXAMPLES:
10879 .PD 0
10880 .RSs
10881 .IPs AUDIOSERVER=somehost:0
10882 Connect to NAS server on somehost using default port and transport.
10883 .IPs AUDIOSERVER=tcp/somehost:8000
10884 Connect to NAS server on somehost listening on TCP port 8000.
10885 .IPs AUDIOSERVER=(unix)?:0
10886 Connect to NAS server instance 0 on localhost using unix domain sockets.
10888 .PD 1
10891 .B DISPLAY
10892 FIXME: Document this.
10894 .SS vidix:
10897 .B VIDIX_CRT
10898 FIXME: Document this.
10901 .B VIDIXIVTVALPHA
10902 Set this to 'disable' in order to stop the VIDIX driver from controlling
10903 alphablending settings.
10904 You can then manipulate it yourself with 'ivtvfbctl'.
10906 .SS osdep:
10909 .B TERM
10910 FIXME: Document this.
10912 .SS libvo:
10915 .B DISPLAY
10916 FIXME: Document this.
10919 .B FRAMEBUFFER
10920 FIXME: Document this.
10923 .B HOME
10924 FIXME: Document this.
10926 .SS libmpdemux:
10929 .B HOME
10930 FIXME: Document this.
10933 .B HOMEPATH
10934 FIXME: Document this.
10937 .B http_proxy
10938 FIXME: Document this.
10941 .B LOGNAME
10942 FIXME: Document this.
10945 .B USERPROFILE
10946 FIXME: Document this.
10948 .SS libmpcodecs:
10951 .B XANIM_MOD_DIR
10952 FIXME: Document this.
10954 .SS GUI:
10957 .B CHARSET
10958 FIXME: Document this.
10961 .B DISPLAY
10962 FIXME: Document this.
10965 .B HOME
10966 FIXME: Document this.
10968 .SS libavformat:
10971 .B AUDIO_FLIP_LEFT
10972 FIXME: Document this.
10975 .B BKTR_DEV
10976 FIXME: Document this.
10979 .B BKTR_FORMAT
10980 FIXME: Document this.
10983 .B BKTR_FREQUENCY
10984 FIXME: Document this.
10987 .B http_proxy
10988 FIXME: Document this.
10991 .B no_proxy
10992 FIXME: Document this.
10996 .\" --------------------------------------------------------------------------
10997 .\" Files
10998 .\" --------------------------------------------------------------------------
11000 .SH FILES
11003 /usr/\:local/\:etc/\:mplayer/\:mplayer.conf
11004 MPlayer system-wide settings
11007 /usr/\:local/\:etc/\:mplayer/\:mencoder.conf
11008 MEncoder system-wide settings
11011 ~/.mplayer/\:config
11012 MPlayer user settings
11015 ~/.mplayer/\:mencoder.conf
11016 MEncoder user settings
11019 ~/.mplayer/\:input.conf
11020 input bindings (see '\-input keylist' for the full list)
11023 ~/.mplayer/\:gui.conf
11024 GUI configuration file
11027 ~/.mplayer/\:gui.pl
11028 GUI playlist
11031 ~/.mplayer/\:font/
11032 font directory (There must be a font.desc file and files with .RAW extension.)
11035 ~/.mplayer/\:DVDkeys/
11036 cached CSS keys
11039 Assuming that /path/\:to/\:movie.avi is played, MPlayer searches for sub files
11040 in this order:
11042 /path/\:to/\:movie.sub
11044 ~/.mplayer/\:sub/\:movie.sub
11046 .PD 1
11049 .\" --------------------------------------------------------------------------
11050 .\" Examples
11051 .\" --------------------------------------------------------------------------
11053 .SH EXAMPLES OF MPLAYER USAGE
11056 .B Quickstart DVD playing:
11058 mplayer dvd://1
11062 .B Play in Japanese with English subtitles:
11064 mplayer dvd://1 \-alang ja \-slang en
11068 .B Play only chapters 5, 6, 7:
11070 mplayer dvd://1 \-chapter 5\-7
11074 .B Play only titles 5, 6, 7:
11076 mplayer dvd://5\-7
11080 .B Play a multiangle DVD:
11082 mplayer dvd://1 \-dvdangle 2
11086 .B Play from a different DVD device:
11088 mplayer dvd://1 \-dvd\-device /dev/\:dvd2
11092 .B Play DVD video from a directory with VOB files:
11094 mplayer dvd://1 \-dvd\-device /path/\:to/\:directory/
11098 .B Copy a DVD title to hard disk, saving to file "title1.vob":
11100 mplayer dvd://1 \-dumpstream \-dumpfile title1.vob
11104 .B Play a DVD with dvdnav from path /dev/sr1:
11106 mplayer dvdnav:////dev/sr1
11110 .B Stream from HTTP:
11112 mplayer http://mplayer.hq/example.avi
11116 .B Stream using RTSP:
11118 mplayer rtsp://server.example.com/streamName
11122 .B Convert subtitles to MPsub format:
11124 mplayer dummy.avi \-sub source.sub \-dumpmpsub
11128 .B Convert subtitles to MPsub format without watching the movie:
11130 mplayer /dev/\:zero \-rawvideo pal:fps=xx \-demuxer rawvideo \-vc null \-vo null \-noframedrop \-benchmark \-sub source.sub \-dumpmpsub
11134 .B input from standard V4L:
11136 mplayer tv:// \-tv driver=v4l:width=640:height=480:outfmt=i420 \-vc rawi420 \-vo xv
11140 .B Playback on Zoran cards (old style, deprecated):
11142 mplayer \-vo zr \-vf scale=352:288 file.avi
11146 .B Playback on Zoran cards (new style):
11148 mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi
11152 .B Play DTS-CD with passthrough:
11154 mplayer \-ac hwdts \-rawaudio format=0x2001 \-cdrom\-device /dev/cdrom cdda://
11157 You can also use \-afm hwac3 instead of \-ac hwdts.
11158 Adjust '/dev/cdrom' to match the CD-ROM device on your system.
11159 If your external receiver supports decoding raw DTS streams,
11160 you can directly play it via cdda:// without setting format, hwac3 or hwdts.
11163 .B Play a 6-channel AAC file with only two speakers:
11165 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
11168 You might want to play a bit with the pan values (e.g multiply with a value) to
11169 increase volume or avoid clipping.
11172 .B checkerboard invert with geq filter:
11174 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'
11178 .SH EXAMPLES OF MENCODER USAGE
11181 .B Encode DVD title #2, only selected chapters:
11183 mencoder dvd://2 \-chapter 10\-15 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4
11187 .B Encode DVD title #2, resizing to 640x480:
11189 mencoder dvd://2 \-vf scale=640:480 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4
11193 .B Encode DVD title #2, resizing to 512xHHH (keep aspect ratio):
11195 mencoder dvd://2 \-vf scale \-zoom \-xy 512 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4
11199 .B The same, but with bitrate set to 1800kbit and optimized macroblocks:
11201 mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mpeg4:mbd=1:vbitrate=1800
11205 .B The same, but with MJPEG compression:
11207 mencoder dvd://2 \-o title2.avi \-oac copy \-ovc lavc \-lavcopts vcodec=mjpeg:mbd=1:vbitrate=1800
11211 .B Encode all *.jpg files in the current directory:
11213 mencoder "mf://*.jpg" \-mf fps=25 \-o output.avi \-ovc lavc \-lavcopts vcodec=mpeg4
11217 .B Encode from a tuner (specify a format with \-vf format):
11219 mencoder \-tv driver=v4l:width=640:height=480 tv:// \-o tv.avi \-ovc raw
11223 .B Encode from a pipe:
11225 rar p test-SVCD.rar | mencoder \-ovc lavc \-lavcopts vcodec=mpeg4:vbitrate=800 \-ofps 24 \-
11229 .\" --------------------------------------------------------------------------
11230 .\" Bugs, authors, standard disclaimer
11231 .\" --------------------------------------------------------------------------
11233 .SH BUGS
11234 Don't panic.
11235 If you find one, report it to us, but please make sure you have read all
11236 of the documentation first.
11237 Also look out for smileys. :)
11238 Many bugs are the result of incorrect setup or parameter usage.
11239 The bug reporting section of the documentation
11240 (http://www.mplayerhq.hu/\:DOCS/\:HTML/\:en/\:bugreports.html)
11241 explains how to create useful bug reports.
11245 .SH AUTHORS
11246 MPlayer was initially written by Arpad Gereoffy.
11247 See the AUTHORS file for a list of some of the many other contributors.
11249 MPlayer is (C) 2000\-2009 The MPlayer Team
11251 This man page was written mainly by Gabucino, Jonas Jermann and Diego Biurrun.
11252 It is maintained by Diego Biurrun.
11253 Please send mails about it to the MPlayer-DOCS mailing list.
11254 Translation specific mails belong on the MPlayer-translations mailing list.
11255 .\" end of file