comparison DOCS/man/en/mplayer.1 @ 17501:24d77cf4ab51

Try to only use a linebreak without hyphenation (\:) where it makes sense.
author diego
date Sun, 29 Jan 2006 14:07:07 +0000
parents a9512fbdd5d4
children b47b13534ce5
comparison
equal deleted inserted replaced
17500:c87c8c22f511 17501:24d77cf4ab51
187 is a movie player for Linux (runs on many other platforms and CPU 187 is a movie player for Linux (runs on many other platforms and CPU
188 architectures, see the documentation). 188 architectures, see the documentation).
189 It plays most MPEG/\:VOB, AVI, ASF/\:WMA/\:WMV, RM, QT/\:MOV/\:MP4, Ogg/\:OGM, 189 It plays most MPEG/\:VOB, AVI, ASF/\:WMA/\:WMV, RM, QT/\:MOV/\:MP4, Ogg/\:OGM,
190 MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many 190 MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many
191 native and binary codecs. 191 native and binary codecs.
192 You can watch Video CD, SVCD, DVD, 3ivx, DivX\ 3/\:4/\:5 and even WMV movies, 192 You can watch Video CD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies,
193 too. 193 too.
194 .PP 194 .PP
195 MPlayer supports a wide range of video and audio output drivers. 195 MPlayer supports a wide range of video and audio output drivers.
196 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, libcaca, DirectFB, 196 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, libcaca, DirectFB,
197 Quartz, Mac OS X CoreVideo, but you can also use GGI, SDL (and all their drivers), 197 Quartz, Mac OS X CoreVideo, but you can also use GGI, SDL (and all their drivers),
269 Pressing once will pause movie, every consecutive press will play one frame 269 Pressing once will pause movie, every consecutive press will play one frame
270 and then go into pause mode again (any other key unpauses). 270 and then go into pause mode again (any other key unpauses).
271 .IPs "q / ESC" 271 .IPs "q / ESC"
272 Stop playing and quit. 272 Stop playing and quit.
273 .IPs "+ and -" 273 .IPs "+ and -"
274 Adjust audio delay by +/\:- 0.1 seconds. 274 Adjust audio delay by +/- 0.1 seconds.
275 .IPs "/ and *" 275 .IPs "/ and *"
276 Decrease/\:increase volume. 276 Decrease/\:increase volume.
277 .IPs "9 and 0" 277 .IPs "9 and 0"
278 Decrease/\:increase volume. 278 Decrease/\:increase volume.
279 .IPs m\ \ \ \ 279 .IPs m\ \ \ \
298 .IPs "y and g" 298 .IPs "y and g"
299 Step forward/backward in the subtitle list. 299 Step forward/backward in the subtitle list.
300 .IP F\ \ \ \ 300 .IP F\ \ \ \
301 Toggle displaying "forced subtitles". 301 Toggle displaying "forced subtitles".
302 .IPs a\ \ \ \ 302 .IPs a\ \ \ \
303 Toggle subtitle alignment: top/\:middle/\:bottom. 303 Toggle subtitle alignment: top / middle / bottom.
304 .IPs "x and z" 304 .IPs "x and z"
305 Adjust subtitle delay by +/\:- 0.1 seconds. 305 Adjust subtitle delay by +/- 0.1 seconds.
306 .IPs "r and t" 306 .IPs "r and t"
307 Move subtitles up/\:down. 307 Move subtitles up/down.
308 .IPs i\ \ \ \ 308 .IPs i\ \ \ \
309 Set EDL mark. 309 Set EDL mark.
310 .IPs "s (screenshot filter must be loaded)" 310 .IPs "s (screenshot filter must be loaded)"
311 Take a screenshot. 311 Take a screenshot.
312 .RE 312 .RE
490 .nf 490 .nf
491 # Use Matrox driver by default. 491 # Use Matrox driver by default.
492 vo=xmga 492 vo=xmga
493 # I love practicing handstands while watching videos. 493 # I love practicing handstands while watching videos.
494 flip=yes 494 flip=yes
495 # Decode/\:encode multiple files from png, 495 # Decode/encode multiple files from PNG,
496 # start with mf://filemask 496 # start with mf://filemask
497 mf=type=png:fps=25 497 mf=type=png:fps=25
498 # Eerie negative images are cool. 498 # Eerie negative images are cool.
499 vf=eq2=1.0:-0.8 499 vf=eq2=1.0:-0.8
500 .fi 500 .fi
667 Usually you can use some big number. 667 Usually you can use some big number.
668 You have to use \-vf [s]pp without parameters in order for this to work. 668 You have to use \-vf [s]pp without parameters in order for this to work.
669 . 669 .
670 .TP 670 .TP
671 .B \-autosync <factor> 671 .B \-autosync <factor>
672 Gradually adjusts the A/\:V sync based on audio delay measurements. 672 Gradually adjusts the A/V sync based on audio delay measurements.
673 Specifying \-autosync 0, the default, will cause frame timing to be based 673 Specifying \-autosync 0, the default, will cause frame timing to be based
674 entirely on audio delay measurements. 674 entirely on audio delay measurements.
675 Specifying \-autosync 1 will do the same, but will subtly change the A/V 675 Specifying \-autosync 1 will do the same, but will subtly change the A/V
676 correction algorithm. 676 correction algorithm.
677 An uneven video framerate in a movie which plays fine with \-nosound can 677 An uneven video framerate in a movie which plays fine with \-nosound can
678 often be helped by setting this to an integer value greater than 1. 678 often be helped by setting this to an integer value greater than 1.
679 The higher the value, the closer the timing will be to \-nosound. 679 The higher the value, the closer the timing will be to \-nosound.
680 Try \-autosync 30 to smooth out problems with sound drivers which do 680 Try \-autosync 30 to smooth out problems with sound drivers which do
681 not implement a perfect audio delay measurement. 681 not implement a perfect audio delay measurement.
682 With this value, if large A/\:V sync offsets occur, they will only take about 682 With this value, if large A/V sync offsets occur, they will only take about
683 1 or 2 seconds to settle out. 683 1 or 2 seconds to settle out.
684 This delay in reaction time to sudden A/\:V offsets should be the only 684 This delay in reaction time to sudden A/V offsets should be the only
685 side-effect of turning this option on, for all sound drivers. 685 side-effect of turning this option on, for all sound drivers.
686 . 686 .
687 .TP 687 .TP
688 .B \-benchmark 688 .B \-benchmark
689 Prints some statistics on CPU usage and dropped frames at the end of playback. 689 Prints some statistics on CPU usage and dropped frames at the end of playback.
737 Currently the following drivers are fixed-vo compliant: gl, gl2, mga, svga, x11, 737 Currently the following drivers are fixed-vo compliant: gl, gl2, mga, svga, x11,
738 xmga, xv, xvidix and dfbmga. 738 xmga, xv, xvidix and dfbmga.
739 . 739 .
740 .TP 740 .TP
741 .B \-framedrop (also see \-hardframedrop) 741 .B \-framedrop (also see \-hardframedrop)
742 Skip displaying some frames to maintain A/\:V sync on slow systems. 742 Skip displaying some frames to maintain A/V sync on slow systems.
743 Video filters are not applied to such frames. 743 Video filters are not applied to such frames.
744 For B-frames even decoding is skipped completely. 744 For B-frames even decoding is skipped completely.
745 . 745 .
746 .TP 746 .TP
747 .B \-h, \-help, \-\-help 747 .B \-h, \-help, \-\-help
767 through input commands. 767 through input commands.
768 . 768 .
769 .TP 769 .TP
770 .B \-input <commands> 770 .B \-input <commands>
771 This option can be used to configure certain parts of the input system. 771 This option can be used to configure certain parts of the input system.
772 Paths are relative to ~/\:.mplayer/. 772 Paths are relative to ~/.mplayer/.
773 .br 773 .br
774 .I NOTE: 774 .I NOTE:
775 Autorepeat is currently only supported by joysticks. 775 Autorepeat is currently only supported by joysticks.
776 .sp 1 776 .sp 1
777 Available commands are: 777 Available commands are:
813 To get the same behavior as before this option was introduced, 813 To get the same behavior as before this option was introduced,
814 set it to 2 for Linux or 1024 for Windows. 814 set it to 2 for Linux or 1024 for Windows.
815 . 815 .
816 .TP 816 .TP
817 .B \-lircconf <filename> (LIRC only) 817 .B \-lircconf <filename> (LIRC only)
818 Specifies a configuration file for LIRC (default: ~/\:.lircrc). 818 Specifies a configuration file for LIRC (default: ~/.lircrc).
819 . 819 .
820 .TP 820 .TP
821 .B \-loop <number> 821 .B \-loop <number>
822 Loops movie playback <number> times. 822 Loops movie playback <number> times.
823 0 means forever. 823 0 means forever.
921 The normal framerate of the movie is kept, so playback is accelerated. 921 The normal framerate of the movie is kept, so playback is accelerated.
922 Since MPlayer can only seek to the next keyframe this may be inexact. 922 Since MPlayer can only seek to the next keyframe this may be inexact.
923 . 923 .
924 . 924 .
925 . 925 .
926 .SH "DEMUXER/\:STREAM OPTIONS" 926 .SH "DEMUXER/STREAM OPTIONS"
927 . 927 .
928 .TP 928 .TP
929 .B \-a52drc <level> 929 .B \-a52drc <level>
930 Select the Dynamic Range Compression level for AC3 audio streams. 930 Select the Dynamic Range Compression level for AC3 audio streams.
931 <level> is a float value ranging from 0 to 1, where 0 means no compression 931 <level> is a float value ranging from 0 to 1, where 0 means no compression
1166 See DOCS/\:HTML/\:en/\:edl.html for details on how to use this. 1166 See DOCS/\:HTML/\:en/\:edl.html for details on how to use this.
1167 . 1167 .
1168 .TP 1168 .TP
1169 .B \-forceidx 1169 .B \-forceidx
1170 Force index rebuilding. 1170 Force index rebuilding.
1171 Useful for files with broken index (A/\:V desync, etc). 1171 Useful for files with broken index (A/V desync, etc).
1172 This will enable seeking in files where seeking was not possible. 1172 This will enable seeking in files where seeking was not possible.
1173 You can fix the index permanently with MEncoder (see the documentation). 1173 You can fix the index permanently with MEncoder (see the documentation).
1174 .br 1174 .br
1175 .I NOTE: 1175 .I NOTE:
1176 This option only works if the underlying media supports seeking 1176 This option only works if the underlying media supports seeking
1187 . 1187 .
1188 .TP 1188 .TP
1189 .B \-hr-mp3-seek (MP3 only) 1189 .B \-hr-mp3-seek (MP3 only)
1190 Hi-res MP3 seeking. 1190 Hi-res MP3 seeking.
1191 Enabled when playing from an external MP3 file, as we need to seek 1191 Enabled when playing from an external MP3 file, as we need to seek
1192 to the very exact position to keep A/\:V sync. 1192 to the very exact position to keep A/V sync.
1193 Can be slow especially when seeking backwards since it has to rewind 1193 Can be slow especially when seeking backwards since it has to rewind
1194 to the beginning to find an exact frame position. 1194 to the beginning to find an exact frame position.
1195 . 1195 .
1196 .TP 1196 .TP
1197 .B \-idx (also see \-forceidx) 1197 .B \-idx (also see \-forceidx)
1217 .br 1217 .br
1218 .I NOTE: 1218 .I NOTE:
1219 This option is obsolete now that MPlayer has OpenDML support. 1219 This option is obsolete now that MPlayer has OpenDML support.
1220 . 1220 .
1221 .TP 1221 .TP
1222 .B \-mc <seconds/\:frame> 1222 .B \-mc <seconds/frame>
1223 maximum A-V sync correction per frame (in seconds) 1223 maximum A-V sync correction per frame (in seconds)
1224 . 1224 .
1225 .TP 1225 .TP
1226 .B \-mf <option1:option2:...> 1226 .B \-mf <option1:option2:...>
1227 Used when decoding from multiple PNG or JPEG files. 1227 Used when decoding from multiple PNG or JPEG files.
1546 .B \-vivo <sub-options> (DEBUG CODE) 1546 .B \-vivo <sub-options> (DEBUG CODE)
1547 Force audio parameters for the VIVO demuxer (for debugging purposes). 1547 Force audio parameters for the VIVO demuxer (for debugging purposes).
1548 . 1548 .
1549 . 1549 .
1550 . 1550 .
1551 .SH "OSD/\:SUB OPTIONS" 1551 .SH "OSD/SUB OPTIONS"
1552 .I NOTE: 1552 .I NOTE:
1553 Also see \-vf expand. 1553 Also see \-vf expand.
1554 . 1554 .
1555 .TP 1555 .TP
1556 .B \-dumpjacosub (MPlayer only) 1556 .B \-dumpjacosub (MPlayer only)
2048 .sp 1 2048 .sp 1
2049 Available audio output drivers are: 2049 Available audio output drivers are:
2050 . 2050 .
2051 .TP 2051 .TP
2052 .B alsa\ \ \ 2052 .B alsa\ \ \
2053 ALSA 0.9/\:1.x audio output driver 2053 ALSA 0.9/1.x audio output driver
2054 .PD 0 2054 .PD 0
2055 .RSs 2055 .RSs
2056 .IPs mmap\ \ \ 2056 .IPs mmap\ \ \
2057 Sets experimental mmap-mode (does not work for more than 2 channels). 2057 Sets experimental mmap-mode (does not work for more than 2 channels).
2058 .IPs noblock 2058 .IPs noblock
2249 .TP 2249 .TP
2250 .B \-dr \ \ \ 2250 .B \-dr \ \ \
2251 Turns on direct rendering (not supported by all codecs and video outputs) 2251 Turns on direct rendering (not supported by all codecs and video outputs)
2252 .br 2252 .br
2253 .I WARNING: 2253 .I WARNING:
2254 May cause OSD/\:SUB corruption! 2254 May cause OSD/SUB corruption!
2255 . 2255 .
2256 .TP 2256 .TP
2257 .B \-dxr2 <option1:option2:...> 2257 .B \-dxr2 <option1:option2:...>
2258 This option is used to control the dxr2 video output driver. 2258 This option is used to control the dxr2 video output driver.
2259 .RSs 2259 .RSs
2281 .IPs 75ire 2281 .IPs 75ire
2282 enable 7.5 IRE output mode 2282 enable 7.5 IRE output mode
2283 .IPs no75ire 2283 .IPs no75ire
2284 disable 7.5 IRE output mode (default) 2284 disable 7.5 IRE output mode (default)
2285 .IPs bw\ \ \ 2285 .IPs bw\ \ \
2286 b/\:w TV output 2286 b/w TV output
2287 .IPs color 2287 .IPs color
2288 color TV output (default) 2288 color TV output (default)
2289 .IPs interlaced 2289 .IPs interlaced
2290 interlaced TV output (default) 2290 interlaced TV output (default)
2291 .IPs nointerlaced 2291 .IPs nointerlaced
2719 Necessary for proper benchmarking of drivers that change 2719 Necessary for proper benchmarking of drivers that change
2720 image buffers on monitor retrace only (nVidia). 2720 image buffers on monitor retrace only (nVidia).
2721 Default is not to disable image display (nobenchmark). 2721 Default is not to disable image display (nobenchmark).
2722 .IPs (no)queue 2722 .IPs (no)queue
2723 Queue frames for display to allow more parallel work of the video hardware. 2723 Queue frames for display to allow more parallel work of the video hardware.
2724 May add a small (not noticeable) constant A/\:V desync (default: noqueue). 2724 May add a small (not noticeable) constant A/V desync (default: noqueue).
2725 .IPs (no)sleep 2725 .IPs (no)sleep
2726 Use sleep function while waiting for rendering to finish 2726 Use sleep function while waiting for rendering to finish
2727 (not recommended on Linux) (default: nosleep). 2727 (not recommended on Linux) (default: nosleep).
2728 .IPs ck=cur|use|set 2728 .IPs ck=cur|use|set
2729 Same as \-vo xv:ck (see \-vo xv). 2729 Same as \-vo xv:ck (see \-vo xv).
3085 .IPs fieldparity=top|bottom 3085 .IPs fieldparity=top|bottom
3086 Control the output order for interlaced frames (default: disabled). 3086 Control the output order for interlaced frames (default: disabled).
3087 Valid values are top = top fields first, bottom = bottom fields first. 3087 Valid values are top = top fields first, bottom = bottom fields first.
3088 This option does not have any effect on progressive film material 3088 This option does not have any effect on progressive film material
3089 like most MPEG movies are. 3089 like most MPEG movies are.
3090 You need to enable this option if you have tearing issues/\:unsmooth 3090 You need to enable this option if you have tearing issues or unsmooth
3091 motions watching interlaced film material. 3091 motions watching interlaced film material.
3092 .IPs layer=N 3092 .IPs layer=N
3093 Will force layer with ID N for playback (default: -1 - auto). 3093 Will force layer with ID N for playback (default: -1 - auto).
3094 .IPs dfbopts=<list> 3094 .IPs dfbopts=<list>
3095 Specify a parameter list for DirectFB. 3095 Specify a parameter list for DirectFB.
3418 .RE 3418 .RE
3419 .PD 1 3419 .PD 1
3420 . 3420 .
3421 . 3421 .
3422 . 3422 .
3423 .SH "DECODING/\:FILTERING OPTIONS" 3423 .SH "DECODING/FILTERING OPTIONS"
3424 . 3424 .
3425 .TP 3425 .TP
3426 .B \-ac <[-|+]codec1,[-|+]codec2,...[,]> 3426 .B \-ac <[-|+]codec1,[-|+]codec2,...[,]>
3427 Specify a priority list of audio codecs to be used, according to their codec 3427 Specify a priority list of audio codecs to be used, according to their codec
3428 name in codecs.conf. 3428 name in codecs.conf.
3713 . 3713 .
3714 .TP 3714 .TP
3715 .B \-noslices 3715 .B \-noslices
3716 Disable drawing video by 16-pixel height slices/\:bands, instead draws the 3716 Disable drawing video by 16-pixel height slices/\:bands, instead draws the
3717 whole frame in a single run. 3717 whole frame in a single run.
3718 May be faster or slower, depending on card/\:cache. 3718 May be faster or slower, depending on video card and available cache.
3719 It has effect only with libmpeg2 and libavcodec codecs. 3719 It has effect only with libmpeg2 and libavcodec codecs.
3720 . 3720 .
3721 .TP 3721 .TP
3722 .B \-nosound 3722 .B \-nosound
3723 Do not play/\:encode sound. 3723 Do not play/\:encode sound.
4637 .RSss 4637 .RSss
4638 0: scaled d_width/\:d_height 4638 0: scaled d_width/\:d_height
4639 .br 4639 .br
4640 -1: original width/\:height 4640 -1: original width/\:height
4641 .br 4641 .br
4642 -2: Calculate w/\:h using the other dimension and the prescaled aspect ratio. 4642 -2: Calculate w/h using the other dimension and the prescaled aspect ratio.
4643 .br 4643 .br
4644 -3: Calculate w/\:h using the other dimension and the original aspect ratio. 4644 -3: Calculate w/h using the other dimension and the original aspect ratio.
4645 .br 4645 .br
4646 -(n+8): Like -n above, but rounding the dimension to the closest multiple of 16. 4646 -(n+8): Like -n above, but rounding the dimension to the closest multiple of 16.
4647 .REss 4647 .REss
4648 .IPs <interlaced> 4648 .IPs <interlaced>
4649 Toggle interlaced scaling. 4649 Toggle interlaced scaling.
4702 . 4702 .
4703 .TP 4703 .TP
4704 .B dsize[=aspect|w:h:aspect-method:r] 4704 .B dsize[=aspect|w:h:aspect-method:r]
4705 Changes the intended display size/\:aspect at an arbitrary point in the 4705 Changes the intended display size/\:aspect at an arbitrary point in the
4706 filter chain. 4706 filter chain.
4707 Aspect can be given as a fraction (4/\:3) or floating point number 4707 Aspect can be given as a fraction (4/3) or floating point number
4708 (1.33). 4708 (1.33).
4709 Alternatively, you may specify the exact display width and height 4709 Alternatively, you may specify the exact display width and height
4710 desired. 4710 desired.
4711 Note that this filter does 4711 Note that this filter does
4712 .B not 4712 .B not
4718 New display width and height. 4718 New display width and height.
4719 Can also be these special values: 4719 Can also be these special values:
4720 .RSss 4720 .RSss
4721 0: original display width and height 4721 0: original display width and height
4722 .br 4722 .br
4723 -1: original video width\:/height (default) 4723 -1: original video width and height (default)
4724 .br 4724 .br
4725 -2: Calculate w/\:h using the other dimension and the original display 4725 -2: Calculate w/h using the other dimension and the original display
4726 aspect ratio. 4726 aspect ratio.
4727 .br 4727 .br
4728 -3: Calculate w/\:h using the other dimension and the original video 4728 -3: Calculate w/h using the other dimension and the original video
4729 aspect ratio. 4729 aspect ratio.
4730 .REss 4730 .REss
4731 .sp 1 4731 .sp 1
4732 .I EXAMPLE: 4732 .I EXAMPLE:
4733 .PD 0 4733 .PD 0
4780 .B yuvcsp\ 4780 .B yuvcsp\
4781 Clamps YUV color values to the CCIR 601 range without doing real conversion. 4781 Clamps YUV color values to the CCIR 601 range without doing real conversion.
4782 . 4782 .
4783 .TP 4783 .TP
4784 .B rgb2bgr[=swap] 4784 .B rgb2bgr[=swap]
4785 RGB 24/\:32 <\-> BGR 24/\:32 colorspace conversion. 4785 RGB 24/32 <\-> BGR 24/32 colorspace conversion.
4786 .PD 0 4786 .PD 0
4787 .RSs 4787 .RSs
4788 .IPs swap\ 4788 .IPs swap\
4789 Also perform R <-> B swapping. 4789 Also perform R <-> B swapping.
4790 .RE 4790 .RE
4791 .PD 1 4791 .PD 1
4792 . 4792 .
4793 .TP 4793 .TP
4794 .B palette 4794 .B palette
4795 RGB/\:BGR 8 \-> 15/\:16/\:24/\:32bpp colorspace conversion using palette. 4795 RGB/BGR 8 \-> 15/16/24/32bpp colorspace conversion using palette.
4796 . 4796 .
4797 .TP 4797 .TP
4798 .B format[=fourcc] 4798 .B format[=fourcc]
4799 Restricts the colorspace for the next filter without doing any conversion. 4799 Restricts the colorspace for the next filter without doing any conversion.
4800 Use together with the scale filter for a real conversion. 4800 Use together with the scale filter for a real conversion.
4823 format name like rgb15, bgr24, yv12, etc (default: yv12) 4823 format name like rgb15, bgr24, yv12, etc (default: yv12)
4824 .RE 4824 .RE
4825 .PD 1 4825 .PD 1
4826 . 4826 .
4827 .TP 4827 .TP
4828 .B pp[=filter1[:option1[:option2...]]/\:[-]filter2...] (also see \-pphelp) 4828 .B pp[=filter1[:option1[:option2...]]/[-]filter2...] (also see \-pphelp)
4829 Enables the specified chain of postprocessing subfilters. 4829 Enables the specified chain of postprocessing subfilters.
4830 Subfilters must be separated by '/' and can be disabled by 4830 Subfilters must be separated by '/' and can be disabled by
4831 prepending a '\-'. 4831 prepending a '\-'.
4832 Each subfilter and some options have a short and a long name that can be 4832 Each subfilter and some options have a short and a long name that can be
4833 used interchangeably, i.e.\& dr/dering are the same. 4833 used interchangeably, i.e.\& dr/dering are the same.
5074 calculating the y axis scaling in software to keep aspect. 5074 calculating the y axis scaling in software to keep aspect.
5075 Only useful together with expand and scale. 5075 Only useful together with expand and scale.
5076 .RSs 5076 .RSs
5077 .IPs <aspect> 5077 .IPs <aspect>
5078 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default: 5078 Control aspect ratio, calculate as DVB_HEIGHT*ASPECTRATIO (default:
5079 576*4/\:3=768), set it to 576*(16/\:9)=1024 for a 16:9 TV. 5079 576*4/3=768), set it to 576*(16/9)=1024 for a 16:9 TV.
5080 .RE 5080 .RE
5081 .sp 1 5081 .sp 1
5082 .RS 5082 .RS
5083 .I EXAMPLE: 5083 .I EXAMPLE:
5084 .RE 5084 .RE
5595 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced 5595 If 3:2-pulldown telecined video has lost one of the fields or is deinterlaced
5596 using a method that keeps one field and interpolates the other, the result is 5596 using a method that keeps one field and interpolates the other, the result is
5597 a juddering video that has every fourth frame duplicated. 5597 a juddering video that has every fourth frame duplicated.
5598 This filter is intended to find and drop those duplicates and restore the 5598 This filter is intended to find and drop those duplicates and restore the
5599 original film framerate. 5599 original film framerate.
5600 When using this filter, you must specify \-ofps that is 4/\:5 of 5600 When using this filter, you must specify \-ofps that is 4/5 of
5601 the fps of the input file and place the softskip later in the 5601 the fps of the input file and place the softskip later in the
5602 filter chain to make sure that divtc sees all the frames. 5602 filter chain to make sure that divtc sees all the frames.
5603 Two different modes are available: 5603 Two different modes are available:
5604 One pass mode is the default and is straightforward to use, 5604 One pass mode is the default and is straightforward to use,
5605 but has the disadvantage that any changes in the telecine 5605 but has the disadvantage that any changes in the telecine
5714 .B telecine[=start] 5714 .B telecine[=start]
5715 Apply 3:2 'telecine' process to increase framerate by 20%. 5715 Apply 3:2 'telecine' process to increase framerate by 20%.
5716 This most likely will not work correctly with MPlayer, but it can 5716 This most likely will not work correctly with MPlayer, but it can
5717 be used with 'mencoder \-fps 30000/1001 \-ofps 30000/1001 \-vf telecine'. 5717 be used with 'mencoder \-fps 30000/1001 \-ofps 30000/1001 \-vf telecine'.
5718 Both fps options are essential! 5718 Both fps options are essential!
5719 (A/\:V sync will break if they are wrong.) 5719 (A/V sync will break if they are wrong.)
5720 The optional start parameter tells the filter where in the telecine 5720 The optional start parameter tells the filter where in the telecine
5721 pattern to start (0\-3). 5721 pattern to start (0\-3).
5722 . 5722 .
5723 .TP 5723 .TP
5724 .B tinterlace[=mode] 5724 .B tinterlace[=mode]
5931 Renders only every nth frame or every intra frame (keyframe). 5931 Renders only every nth frame or every intra frame (keyframe).
5932 .sp 1 5932 .sp 1
5933 If you call the filter with I (uppercase) as the parameter, then 5933 If you call the filter with I (uppercase) as the parameter, then
5934 .B only 5934 .B only
5935 keyframes are rendered. 5935 keyframes are rendered.
5936 For DVDs it generally means one in every 15/\:12 frames (IBBPBBPBBPBBPBB), 5936 For DVDs it generally means one in every 15/12 frames (IBBPBBPBBPBBPBB),
5937 for AVI it means every scene change or every keyint value (see \-lavcopts 5937 for AVI it means every scene change or every keyint value (see \-lavcopts
5938 keyint= value if you use MEncoder to encode the video). 5938 keyint= value if you use MEncoder to encode the video).
5939 .sp 1 5939 .sp 1
5940 When a keyframe is found, an 'I!' string followed by a newline character is 5940 When a keyframe is found, an 'I!' string followed by a newline character is
5941 printed, leaving the current line of MPlayer/\:MEncoder output on the screen, 5941 printed, leaving the current line of MPlayer/\:MEncoder output on the screen,
6710 .RE 6710 .RE
6711 .PD 1 6711 .PD 1
6712 . 6712 .
6713 .TP 6713 .TP
6714 .B vqmin=<1\-31> 6714 .B vqmin=<1\-31>
6715 minimum quantizer (pass 1/\:2) 6715 minimum quantizer (pass 1/2)
6716 .RSs 6716 .RSs
6717 .IPs 1 6717 .IPs 1
6718 Not recommended (much larger file, little quality difference and weird side 6718 Not recommended (much larger file, little quality difference and weird side
6719 effects: msmpeg4, h263 will be very low quality, ratecontrol will be confused 6719 effects: msmpeg4, h263 will be very low quality, ratecontrol will be confused
6720 resulting in lower quality and some decoders will not be able to decode it). 6720 resulting in lower quality and some decoders will not be able to decode it).
6744 A lower value means better quality but larger files (default: 0 (disabled)). 6744 A lower value means better quality but larger files (default: 0 (disabled)).
6745 1 is not recommended (see vqmin for details). 6745 1 is not recommended (see vqmin for details).
6746 . 6746 .
6747 .TP 6747 .TP
6748 .B vqmax=<1\-31> 6748 .B vqmax=<1\-31>
6749 Maximum quantizer (pass\ 1/\:2), 10\-31 should be a sane range (default: 31). 6749 Maximum quantizer (pass 1/2), 10\-31 should be a sane range (default: 31).
6750 . 6750 .
6751 .TP 6751 .TP
6752 .B mbqmin=<1\-31> 6752 .B mbqmin=<1\-31>
6753 obsolete, use vqmin 6753 obsolete, use vqmin
6754 . 6754 .
6757 obsolete, use vqmax 6757 obsolete, use vqmax
6758 . 6758 .
6759 .TP 6759 .TP
6760 .B vqdiff=<1\-31> 6760 .B vqdiff=<1\-31>
6761 maximum quantizer difference between consecutive I- or P-frames 6761 maximum quantizer difference between consecutive I- or P-frames
6762 (pass 1/\:2) (default: 3) 6762 (pass 1/2) (default: 3)
6763 . 6763 .
6764 .TP 6764 .TP
6765 .B vmax_b_frames=<0\-4> 6765 .B vmax_b_frames=<0\-4>
6766 maximum number of B-frames between non-B-frames: 6766 maximum number of B-frames between non-B-frames:
6767 .PD 0 6767 .PD 0
6878 Higher values than 6 may give very slightly better PSNR (approximately 6878 Higher values than 6 may give very slightly better PSNR (approximately
6879 0.01 dB more than sc_factor=6), but noticably worse visual quality. 6879 0.01 dB more than sc_factor=6), but noticably worse visual quality.
6880 . 6880 .
6881 .TP 6881 .TP
6882 .B vb_strategy=<0\-2> (pass one only) 6882 .B vb_strategy=<0\-2> (pass one only)
6883 strategy to choose between I/\:P/\:B-frames: 6883 strategy to choose between I/P/B-frames:
6884 .PD 0 6884 .PD 0
6885 .RSs 6885 .RSs
6886 .IPs 0 6886 .IPs 0
6887 Always use the maximum number of B-frames (default). 6887 Always use the maximum number of B-frames (default).
6888 .IPs 1 6888 .IPs 1
6974 CPU-intensive options. 6974 CPU-intensive options.
6975 This will probably reduce global PSNR a little bit (around 0.01dB) and 6975 This will probably reduce global PSNR a little bit (around 0.01dB) and
6976 change individual frame type and PSNR a little bit more (up to 0.03dB). 6976 change individual frame type and PSNR a little bit more (up to 0.03dB).
6977 . 6977 .
6978 .TP 6978 .TP
6979 .B aspect=<x/\:y> 6979 .B aspect=<x/y>
6980 Store movie aspect internally, just like with MPEG files. 6980 Store movie aspect internally, just like with MPEG files.
6981 Much nicer than rescaling, because quality is not decreased. 6981 Much nicer than rescaling, because quality is not decreased.
6982 Only MPlayer will play these files correctly, other players will display 6982 Only MPlayer will play these files correctly, other players will display
6983 them with wrong aspect. 6983 them with wrong aspect.
6984 The aspect parameter can be given as a ratio or a floating point number. 6984 The aspect parameter can be given as a ratio or a floating point number.
6986 .RS 6986 .RS
6987 .I EXAMPLE: 6987 .I EXAMPLE:
6988 .RE 6988 .RE
6989 .RSs 6989 .RSs
6990 .PD 0 6990 .PD 0
6991 .IPs "aspect=16/\:9 or aspect=1.78" 6991 .IPs "aspect=16/9 or aspect=1.78"
6992 .PD 1 6992 .PD 1
6993 .RE 6993 .RE
6994 . 6994 .
6995 .TP 6995 .TP
6996 .B autoaspect 6996 .B autoaspect
7000 Does not incur a performance penalty, so you can safely leave it 7000 Does not incur a performance penalty, so you can safely leave it
7001 always on. 7001 always on.
7002 . 7002 .
7003 .TP 7003 .TP
7004 .B vbitrate=<value> 7004 .B vbitrate=<value>
7005 Specify bitrate (pass 1/\:2) (default: 800). 7005 Specify bitrate (pass 1/2) (default: 800).
7006 .br 7006 .br
7007 .I WARNING: 7007 .I WARNING:
7008 1kbit = 1000 bits 7008 1kbit = 1000 bits
7009 .PD 0 7009 .PD 0
7010 .RSs 7010 .RSs
7026 vratetol should not be too large during the second pass or there might 7026 vratetol should not be too large during the second pass or there might
7027 be problems if vrc_(min|max)rate is used. 7027 be problems if vrc_(min|max)rate is used.
7028 . 7028 .
7029 .TP 7029 .TP
7030 .B vrc_maxrate=<value> 7030 .B vrc_maxrate=<value>
7031 maximum bitrate in kbit/\:sec (pass 1/\:2) 7031 maximum bitrate in kbit/\:sec (pass 1/2)
7032 (default: 0, unlimited) 7032 (default: 0, unlimited)
7033 . 7033 .
7034 .TP 7034 .TP
7035 .B vrc_minrate=<value> 7035 .B vrc_minrate=<value>
7036 minimum bitrate in kbit/\:sec (pass 1/\:2) 7036 minimum bitrate in kbit/\:sec (pass 1/2)
7037 (default: 0, unlimited) 7037 (default: 0, unlimited)
7038 . 7038 .
7039 .TP 7039 .TP
7040 .B vrc_buf_size=<value> 7040 .B vrc_buf_size=<value>
7041 buffer size in kbit (pass 1/\:2). 7041 buffer size in kbit (pass 1/2).
7042 For MPEG-1/2 this also sets the vbv buffer size, use 327 for VCD, 7042 For MPEG-1/2 this also sets the vbv buffer size, use 327 for VCD,
7043 917 for SVCD and 1835 for DVD. 7043 917 for SVCD and 1835 for DVD.
7044 . 7044 .
7045 .TP 7045 .TP
7046 .B vrc_buf_aggressivity 7046 .B vrc_buf_aggressivity
7050 .B vrc_strategy 7050 .B vrc_strategy
7051 Dummy, reserved for future use. 7051 Dummy, reserved for future use.
7052 . 7052 .
7053 .TP 7053 .TP
7054 .B vb_qfactor=<-31.0\-31.0> 7054 .B vb_qfactor=<-31.0\-31.0>
7055 quantizer factor between B- and non-B-frames (pass 1/\:2) (default: 1.25) 7055 quantizer factor between B- and non-B-frames (pass 1/2) (default: 1.25)
7056 . 7056 .
7057 .TP 7057 .TP
7058 .B vi_qfactor=<-31.0\-31.0> 7058 .B vi_qfactor=<-31.0\-31.0>
7059 quantizer factor between I- and non-I-frames (pass 1/\:2) (default: 0.8) 7059 quantizer factor between I- and non-I-frames (pass 1/2) (default: 0.8)
7060 . 7060 .
7061 .TP 7061 .TP
7062 .B vb_qoffset=<-31.0\-31.0> 7062 .B vb_qoffset=<-31.0\-31.0>
7063 quantizer offset between B- and non-B-frames (pass 1/\:2) (default: 1.25) 7063 quantizer offset between B- and non-B-frames (pass 1/2) (default: 1.25)
7064 . 7064 .
7065 .TP 7065 .TP
7066 .B vi_qoffset=<-31.0\-31.0> 7066 .B vi_qoffset=<-31.0\-31.0>
7067 (pass 1/\:2) (default: 0.0) 7067 (pass 1/2) (default: 0.0)
7068 .br 7068 .br
7069 if v{b|i}_qfactor > 0 7069 if v{b|i}_qfactor > 0
7070 .br 7070 .br
7071 I/\:B-frame quantizer = P-frame quantizer * v{b|i}_qfactor + v{b|i}_qoffset 7071 I/B-frame quantizer = P-frame quantizer * v{b|i}_qfactor + v{b|i}_qoffset
7072 .br 7072 .br
7073 else 7073 else
7074 .br 7074 .br
7075 do normal ratecontrol (do not lock to next P-frame quantizer) and 7075 do normal ratecontrol (do not lock to next P-frame quantizer) and
7076 set q= -q * v{b|i}_qfactor + v{b|i}_qoffset 7076 set q= -q * v{b|i}_qfactor + v{b|i}_qoffset
7077 .br 7077 .br
7078 .I HINT: 7078 .I HINT:
7079 To do constant quantizer encoding with different quantizers for 7079 To do constant quantizer encoding with different quantizers for
7080 I/\:P- and B-frames you can use: 7080 I/P- and B-frames you can use:
7081 lmin= <ip_quant>:lmax= <ip_quant>:vb_qfactor= <b_quant/\:ip_quant>. 7081 lmin= <ip_quant>:lmax= <ip_quant>:vb_qfactor= <b_quant/\:ip_quant>.
7082 . 7082 .
7083 .TP 7083 .TP
7084 .B vqblur=<0.0\-1.0> (pass one) 7084 .B vqblur=<0.0\-1.0> (pass one)
7085 Quantizer blur (default: 0.5), larger values will average the 7085 Quantizer blur (default: 0.5), larger values will average the
7098 Quantizer gaussian blur (default: 0.5), larger values will average 7098 Quantizer gaussian blur (default: 0.5), larger values will average
7099 the quantizer more over time (slower change). 7099 the quantizer more over time (slower change).
7100 . 7100 .
7101 .TP 7101 .TP
7102 .B vqcomp=<0.0\-1.0> 7102 .B vqcomp=<0.0\-1.0>
7103 Quantizer compression, vrc_eq depends upon this (pass 1/\:2) (default: 0.5). 7103 Quantizer compression, vrc_eq depends upon this (pass 1/2) (default: 0.5).
7104 For instance, assuming the default rate control equation is used, 7104 For instance, assuming the default rate control equation is used,
7105 if vqcomp=1.0, the ratecontrol allocates to each frame the number of bits 7105 if vqcomp=1.0, the ratecontrol allocates to each frame the number of bits
7106 needed to encode them all at the same QP. 7106 needed to encode them all at the same QP.
7107 If vqcomp=0.0, the ratecontrol allocates the same number of bits to each 7107 If vqcomp=0.0, the ratecontrol allocates the same number of bits to each
7108 frame, i.e. strict CBR. 7108 frame, i.e. strict CBR.
7110 Those are extreme settings and should never be used. 7110 Those are extreme settings and should never be used.
7111 Perceptual quality will be optimal somewhere in between these two extremes. 7111 Perceptual quality will be optimal somewhere in between these two extremes.
7112 . 7112 .
7113 .TP 7113 .TP
7114 .B vrc_eq=<equation> 7114 .B vrc_eq=<equation>
7115 main ratecontrol equation (pass 1/\:2) 7115 main ratecontrol equation (pass 1/2)
7116 .RE 7116 .RE
7117 .RSs 7117 .RSs
7118 .IPs 1\ \ \ \ 7118 .IPs 1\ \ \ \
7119 constant bitrate 7119 constant bitrate
7120 .IPs tex\ \ 7120 .IPs tex\ \
7161 .IPs mcVar 7161 .IPs mcVar
7162 temporal complexity 7162 temporal complexity
7163 .IPs qComp 7163 .IPs qComp
7164 qcomp from the command line 7164 qcomp from the command line
7165 .IPs "isI, isP, isB" 7165 .IPs "isI, isP, isB"
7166 Is 1 if picture type is I/\:P/\:B else 0. 7166 Is 1 if picture type is I/P/B else 0.
7167 .IPs Pi,E\ 7167 .IPs Pi,E\
7168 See your favorite math book. 7168 See your favorite math book.
7169 .RE 7169 .RE
7170 .PP 7170 .PP
7171 .RS 7171 .RS
7183 .IPs "sin, cos, tan, sinh, cosh, tanh, exp, log, abs" 7183 .IPs "sin, cos, tan, sinh, cosh, tanh, exp, log, abs"
7184 .RE 7184 .RE
7185 . 7185 .
7186 .TP 7186 .TP
7187 .B vrc_override=<options> 7187 .B vrc_override=<options>
7188 User specified quality for specific parts (ending, credits, ...) (pass 1/\:2). 7188 User specified quality for specific parts (ending, credits, ...) (pass 1/2).
7189 The options are <start-frame>, <end-frame>, <quality>[/\:<start-frame>, 7189 The options are <start-frame>, <end-frame>, <quality>[/<start-frame>,
7190 <end-frame>, <quality>[/\:...]]: 7190 <end-frame>, <quality>[/...]]:
7191 .PD 0 7191 .PD 0
7192 .RSs 7192 .RSs
7193 .IPs "quality (2\-31)" 7193 .IPs "quality (2\-31)"
7194 quantizer 7194 quantizer
7195 .IPs "quality (-500\-0)" 7195 .IPs "quality (-500\-0)"
7205 .B vrc_init_occupancy=<0.0\-1.0> 7205 .B vrc_init_occupancy=<0.0\-1.0>
7206 initial buffer occupancy, as a fraction of vrc_buf_size (default: 0.9) 7206 initial buffer occupancy, as a fraction of vrc_buf_size (default: 0.9)
7207 . 7207 .
7208 .TP 7208 .TP
7209 .B vqsquish=<0|1> 7209 .B vqsquish=<0|1>
7210 Specify how to keep the quantizer between qmin and qmax (pass 1/\:2). 7210 Specify how to keep the quantizer between qmin and qmax (pass 1/2).
7211 .PD 0 7211 .PD 0
7212 .RSs 7212 .RSs
7213 .IPs 0 7213 .IPs 0
7214 Use clipping. 7214 Use clipping.
7215 .IPs 1 7215 .IPs 1
7944 .B bitrate=<value> (CBR or two pass mode) 7944 .B bitrate=<value> (CBR or two pass mode)
7945 Sets the bitrate to be used in kbits/\:second if <16000 or in bits/\:second 7945 Sets the bitrate to be used in kbits/\:second if <16000 or in bits/\:second
7946 if >16000. 7946 if >16000.
7947 If <value> is negative, XviD will use its absolute value as the target size 7947 If <value> is negative, XviD will use its absolute value as the target size
7948 (in kBytes) of the video and compute the associated bitrate automagically 7948 (in kBytes) of the video and compute the associated bitrate automagically
7949 (default: 687 kbits/\:s). 7949 (default: 687 kbits/s).
7950 . 7950 .
7951 .TP 7951 .TP
7952 .B fixed_quant=<1\-31> 7952 .B fixed_quant=<1\-31>
7953 Switch to fixed quantizer mode and specify the quantizer to be used. 7953 Switch to fixed quantizer mode and specify the quantizer to be used.
7954 . 7954 .
7955 .TP 7955 .TP
7956 .B zones=<zone0>[/\:<zone1>[/\:...]] (CBR or two pass mode) 7956 .B zones=<zone0>[/<zone1>[/...]] (CBR or two pass mode)
7957 User specified quality for specific parts (ending, credits, ...). 7957 User specified quality for specific parts (ending, credits, ...).
7958 Each zone is <start-frame>,<mode>,<value> where <mode> may be 7958 Each zone is <start-frame>,<mode>,<value> where <mode> may be
7959 .PD 0 7959 .PD 0
7960 .RSs 7960 .RSs
7961 .IPs "q" 7961 .IPs "q"
8028 .TP 8028 .TP
8029 .B rc_buffer=<value> 8029 .B rc_buffer=<value>
8030 size of the rate control buffer 8030 size of the rate control buffer
8031 . 8031 .
8032 .TP 8032 .TP
8033 .B quant_range=<1\-31>\-<1\-31>[/\:<1\-31>\-<1\-31>] 8033 .B quant_range=<1\-31>\-<1\-31>[/<1\-31>\-<1\-31>]
8034 CBR mode: min & max quantizer for all frames (default: 2\-31) 8034 CBR mode: min & max quantizer for all frames (default: 2\-31)
8035 .br 8035 .br
8036 two pass mode: min & max quantizer for I/\:P-frames (default: 2\-31/\:2\-31) 8036 two pass mode: min & max quantizer for I/P-frames (default: 2\-31/\:2\-31)
8037 .br 8037 .br
8038 .I WARNING: 8038 .I WARNING:
8039 As of XviD-1.0.x, this option is replaced by the 8039 As of XviD-1.0.x, this option is replaced by the
8040 [min|max]_[i|p|b]quant options. 8040 [min|max]_[i|p|b]quant options.
8041 . 8041 .
8136 This will also store a fake DivX version in the file so the bug 8136 This will also store a fake DivX version in the file so the bug
8137 autodetection of some decoders might be confused. 8137 autodetection of some decoders might be confused.
8138 . 8138 .
8139 .TP 8139 .TP
8140 .B max_bframes=<0\-4> 8140 .B max_bframes=<0\-4>
8141 Maximum number of B-frames to put between I/\:P-frames (default: 2). 8141 Maximum number of B-frames to put between I/P-frames (default: 2).
8142 . 8142 .
8143 .TP 8143 .TP
8144 .B bquant_ratio=<0\-1000> 8144 .B bquant_ratio=<0\-1000>
8145 quantizer ratio between B- and non-B-frames, 150=1.50 (default: 150) 8145 quantizer ratio between B- and non-B-frames, 150=1.50 (default: 150)
8146 . 8146 .
8470 .TP 8470 .TP
8471 .B par_height=<1\-255> (par=ext only) 8471 .B par_height=<1\-255> (par=ext only)
8472 Specifies the height of the custom pixel aspect ratio. 8472 Specifies the height of the custom pixel aspect ratio.
8473 . 8473 .
8474 .TP 8474 .TP
8475 .B aspect=<x/\:y | f (float value)> 8475 .B aspect=<x/y | f (float value)>
8476 Store movie aspect internally, just like MPEG files. 8476 Store movie aspect internally, just like MPEG files.
8477 Much nicer solution than rescaling, because quality is not decreased. 8477 Much nicer solution than rescaling, because quality is not decreased.
8478 MPlayer and a few others players will play these files correctly, others 8478 MPlayer and a few others players will play these files correctly, others
8479 will display them with the wrong aspect. 8479 will display them with the wrong aspect.
8480 The aspect parameter can be given as a ratio or a floating point number. 8480 The aspect parameter can be given as a ratio or a floating point number.
8771 (default: 0.5). 8771 (default: 0.5).
8772 Lower values allow the quantizer value to jump around more, 8772 Lower values allow the quantizer value to jump around more,
8773 higher values force it to vary more smoothly. 8773 higher values force it to vary more smoothly.
8774 . 8774 .
8775 .TP 8775 .TP
8776 .B zones=<zone0>[/\:<zone1>[/\:...]] 8776 .B zones=<zone0>[/<zone1>[/...]]
8777 User specified quality for specific parts (ending, credits, ...) 8777 User specified quality for specific parts (ending, credits, ...)
8778 (ABR or two pass). 8778 (ABR or two pass).
8779 Each zone is <start-frame>,<end-frame>,<option> where option may be 8779 Each zone is <start-frame>,<end-frame>,<option> where option may be
8780 .PD 0 8780 .PD 0
8781 .RSs 8781 .RSs
9567 .fi 9567 .fi
9568 . 9568 .
9569 .PP 9569 .PP
9570 .B Stream from HTTP: 9570 .B Stream from HTTP:
9571 .nf 9571 .nf
9572 mplayer http://mplayer.hq/\:example.avi 9572 mplayer http://mplayer.hq/example.avi
9573 .fi 9573 .fi
9574 . 9574 .
9575 .PP 9575 .PP
9576 .B Stream using RTSP: 9576 .B Stream using RTSP:
9577 .nf 9577 .nf
9578 mplayer rtsp://server.example.com/\:streamName 9578 mplayer rtsp://server.example.com/streamName
9579 .fi 9579 .fi
9580 . 9580 .
9581 .PP 9581 .PP
9582 .B Convert subtitles to MPsub format: 9582 .B Convert subtitles to MPsub format:
9583 .nf 9583 .nf