mirror of https://github.com/mpv-player/mpv
x264: disable subq=0 (the huge bitrate penalty wasn't worth the speed),
and set default subq to best. wording. renumber direct_pred (temporal seems to be best) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14412 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3501332aab
commit
b0cd65d541
|
@ -7283,15 +7283,15 @@ in B-frames.
|
||||||
.IPs 0
|
.IPs 0
|
||||||
None: direct macroblocks are not used.
|
None: direct macroblocks are not used.
|
||||||
.IPs 1
|
.IPs 1
|
||||||
|
Spatial: motion vectors are extrapolated from neighboring blocks.
|
||||||
|
.IPs 2
|
||||||
Temporal: motion vectors are interpolated from the following P-frame.
|
Temporal: motion vectors are interpolated from the following P-frame.
|
||||||
(default)
|
(default)
|
||||||
.IPs 2
|
|
||||||
Spatial: motion vectors are extrapolated from neighboring blocks.
|
|
||||||
.RE
|
.RE
|
||||||
.PD 1
|
.PD 1
|
||||||
Spatial and temporal are approximately the same speed, and neither is
|
|
||||||
strictly better than the other.
|
|
||||||
The best choice depends on the movie.
|
The best choice depends on the movie.
|
||||||
|
Spatial and temporal are approximately the same speed and PSNR,
|
||||||
|
but temporal often looks better.
|
||||||
direct_pred=0 is usually both slower and lower quality.
|
direct_pred=0 is usually both slower and lower quality.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
@ -7315,23 +7315,21 @@ small moving objects are better represented by smaller blocks.
|
||||||
4x4mv is recommended only with subq >= 3.
|
4x4mv is recommended only with subq >= 3.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B subq=<0\-5>
|
.B subq=<1\-5>
|
||||||
Adjust subpel refinement quality.
|
Adjust subpel refinement quality.
|
||||||
This parameter controls quality versus speed tradeoffs involved in the motion
|
This parameter controls quality versus speed tradeoffs involved in the motion
|
||||||
estimation decision process.
|
estimation decision process.
|
||||||
It can improve quality significantly.
|
It can improve quality significantly.
|
||||||
.RSs
|
.RSs
|
||||||
0: halfpel only
|
1: fullpixel mode decision, 1 iteration of qpel on the winner (fastest)
|
||||||
.br
|
.br
|
||||||
1: 1 iteration of qpel on the winning candidate
|
2: fullpixel mode decision, 2 iterations of qpel on the winner
|
||||||
.br
|
.br
|
||||||
2: 2 iterations of qpel on the winning candidate
|
3: halfpel mode decision, qpel on the winner
|
||||||
.br
|
.br
|
||||||
3: halfpel on all MB types, qpel on the winner (default)
|
4: qpel mode decision
|
||||||
.br
|
.br
|
||||||
4: qpel on all
|
5: qpel mode decision, more iterations (best, default)
|
||||||
.br
|
|
||||||
5: more iterations of qpel
|
|
||||||
.REss
|
.REss
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -90,7 +90,7 @@ static float qcomp = 0.6;
|
||||||
static float qblur = 0.5;
|
static float qblur = 0.5;
|
||||||
static float complexity_blur = 20;
|
static float complexity_blur = 20;
|
||||||
static char *rc_eq = "tex*blurTex^(qComp-1)";
|
static char *rc_eq = "tex*blurTex^(qComp-1)";
|
||||||
static int subq = 3;
|
static int subq = 5;
|
||||||
static int psnr = 0;
|
static int psnr = 0;
|
||||||
static int log_level = 2;
|
static int log_level = 2;
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ m_option_t x264encopts_conf[] = {
|
||||||
{"qcomp", &qcomp, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1, NULL},
|
{"qcomp", &qcomp, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1, NULL},
|
||||||
{"qblur", &qblur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
|
{"qblur", &qblur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
|
||||||
{"cplx_blur", &complexity_blur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 999, NULL},
|
{"cplx_blur", &complexity_blur, CONF_TYPE_FLOAT, CONF_RANGE, 0, 999, NULL},
|
||||||
{"subq", &subq, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
|
{"subq", &subq, CONF_TYPE_INT, CONF_RANGE, 1, 5, NULL},
|
||||||
{"psnr", &psnr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
{"psnr", &psnr, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||||
{"nopsnr", &psnr, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
{"nopsnr", &psnr, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
||||||
{"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL},
|
{"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL},
|
||||||
|
|
Loading…
Reference in New Issue