comparison DOCS/man/en/mplayer.1 @ 13517:dea5d3e8b6c1

Documentation of x264 3-pass mode, and typos/fixes on lavc's *_mask options, pointed ou by Jiri Heryan
author gpoirier
date Fri, 01 Oct 2004 08:29:35 +0000
parents 5e9d296e9692
children 3b989771a870
comparison
equal deleted inserted replaced
13516:4986a006a8c7 13517:dea5d3e8b6c1
5831 . 5831 .
5832 .TP 5832 .TP
5833 .B tcplx_mask=<0.0\-1.0> 5833 .B tcplx_mask=<0.0\-1.0>
5834 temporal complexity masking (default: 0.0 (disabled)) 5834 temporal complexity masking (default: 0.0 (disabled))
5835 Imagine a scene with a bird flying across the whole scene; tcplx_mask 5835 Imagine a scene with a bird flying across the whole scene; tcplx_mask
5836 will decrease the quantizers of the bird's macroblocks (thus decreasing their 5836 will raise the quantizers of the bird's macroblocks (thus decreasing their
5837 quality), as the human eye usually does not have time to see all the bird's 5837 quality), as the human eye usually does not have time to see all the bird's
5838 details. 5838 details.
5839 Be warned that if the masked object stops (e.g.\& the bird lands) it is 5839 Be warned that if the masked object stops (e.g.\& the bird lands) it is
5840 likely to look horrible for a a short period of time, until the encoder 5840 likely to look horrible for a short period of time, until the encoder
5841 figures out that the object is not moving and needs refined blocks. 5841 figures out that the object is not moving and needs refined blocks.
5842 The saved bits will be spent on other parts of the video, which may increase 5842 The saved bits will be spent on other parts of the video, which may increase
5843 subjective quality, provided that tcplx_mask is carefully chosen. 5843 subjective quality, provided that tcplx_mask is carefully chosen.
5844 . 5844 .
5845 .TP 5845 .TP
6871 .TP 6871 .TP
6872 .B pb_factor=<value> 6872 .B pb_factor=<value>
6873 quantizer factor between P and B frames (default: 2.0) 6873 quantizer factor between P and B frames (default: 2.0)
6874 . 6874 .
6875 .TP 6875 .TP
6876 .B pass=<1|2> 6876 .B pass=<1\-3>
6877 Enable 2-pass mode. 6877 Enable 2 or 3-pass mode.
6878 The first pass saves statistics. 6878 It is recommended to always encode in 2 or 3-pass mode as it leads to a
6879 It is recommended to always encode in 2-pass mode as it leads to a better bit 6879 better bit distribution and improves overall quality.
6880 distribution and improves overall quality. 6880 .PD 0
6881 .RSs
6882 .IPs 1
6883 first pass
6884 .IPs 2
6885 second pass
6886 .IPs 3
6887 Nth pass (second and third passes of three pass encoding)
6888 .RE
6889 .RS
6890 Here is how it works, and how to use it:
6891 .br
6892 The first pass (pass=1) collects statistics on the video and writes them
6893 to a file.
6894 You might want to deactivate some CPU-hungry options, appart from the ones
6895 that are on by default.
6896 .br
6897 In two pass mode, the second pass (pass=2) reads the stats file and
6898 bases ratecontrol decisions on it.
6899 .br
6900 In three pass mode, the second pass (pass=3, that is not a typo)
6901 does both: It first reads the stats, then overwrites them.
6902 You might want to backup divx2pass.log before doing this if there is
6903 any possibility that you will have to cancel MEncoder.
6904 You can use all encoding options, except very CPU-hungry options.
6905 .br
6906 The third pass (pass=3) is the same as the second pass, except that it has
6907 the second pass' stats to work from.
6908 You can use all encoding options, including CPU-hungry ones.
6909 .I
6910 NOTE:
6911 Three pass and x264 support being quite recent in MEncoder, we welcome any
6912 feedback you could give us on good combinations of x264 options that are
6913 both fast and provide good quality.
6914 .REss
6881 . 6915 .
6882 .TP 6916 .TP
6883 .B qcomp=<0\-1> 6917 .B qcomp=<0\-1>
6884 quantizer compression (default: 0.6). 6918 quantizer compression (default: 0.6).
6885 This affects the ratecontrol: a lower value makes the 6919 This affects the ratecontrol: a lower value makes the