mirror of https://github.com/mpv-player/mpv
sync to x264 rev264 (lossless)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15745 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8193073010
commit
8348626c8f
|
@ -7851,11 +7851,12 @@ Constant bitrate can be achieved by combining this with vbv_maxrate,
|
|||
at significant reduction in quality.
|
||||
.
|
||||
.TP
|
||||
.B qp_constant=<1\-51>
|
||||
.B qp_constant=<0\-51>
|
||||
This selects the quantizer to use for P-frames.
|
||||
I- and B-frames are offset from this value by ip_factor and pb_factor, respectively.
|
||||
20\-40 is a useful range (default: 26).
|
||||
Lower values result in better fidelity, but higher bitrates.
|
||||
0 is lossless.
|
||||
Note that quantization in H.264 works differently from MPEG-1/2/4:
|
||||
H.264's quantization parameter (QP) is on a logarithmic scale.
|
||||
The mapping is approximately H264QP = 12 + 6*log2(MPEGQP).
|
||||
|
|
|
@ -107,7 +107,7 @@ static int log_level = 2;
|
|||
|
||||
m_option_t x264encopts_conf[] = {
|
||||
{"bitrate", &bitrate, CONF_TYPE_INT, CONF_RANGE, 0, 24000000, NULL},
|
||||
{"qp_constant", &qp_constant, CONF_TYPE_INT, CONF_RANGE, 1, 51, NULL},
|
||||
{"qp_constant", &qp_constant, CONF_TYPE_INT, CONF_RANGE, 0, 51, NULL},
|
||||
{"frameref", &frame_ref, CONF_TYPE_INT, CONF_RANGE, 1, 16, NULL},
|
||||
{"keyint", &keyint_max, CONF_TYPE_INT, CONF_RANGE, 1, 24000000, NULL},
|
||||
{"keyint_min", &keyint_min, CONF_TYPE_INT, CONF_RANGE, 1, 24000000, NULL},
|
||||
|
|
Loading…
Reference in New Issue