转自:http://blog.csdn.net/cyril1121/article/details/51323824
不同的Preset将直接影响编码的速度和解码后图像的质量,Preset级别越高,编码速度越慢,解码后的质量也越高;级别越低,速度也越快,解码后的图像质量也就越差,可以通过几下几个参数调节编码速度和解码后图像质量。其中最常见的参数
Coding QT: max CU size, min CUsize : 32 / 16 //设置CU的大小
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : dia / 57 / 0 / 2 //表示运动估计的算法,运动估计范围,子像素搜索及其范围
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 0 //设置最大最小GOP及场景切换
Ultrafast
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(40 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 32 / 16
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : dia / 57 / 0 / 2
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 0
x265 [info]: Lookahead / bframes /badapt : 5 / 3 / 0
x265 [info]: b-pyramid / weightp /weightb : 1 / 0 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30early-skip tmvp fast-intra
x265 [info]: tools: strong-intra-smoothingdeblock
superfast
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(40 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 32 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : hex / 57 / 1 / 2
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 10 / 3 / 0
x265 [info]: b-pyramid / weightp /weightb : 1 / 0 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30early-skip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothingdeblock
veryfast
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(40 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 32 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : hex / 57 / 1 / 2
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 0
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30early-skip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothingdeblock sao
faster
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 0
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30early-skip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothingdeblock sao
fast
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 2 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothingdeblock sao
medium
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=0.30signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
slow
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel /merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect rd=4 psy-rd=0.30rdoq=2 psy-rdoq=1.00 signhide tmvp
x265 [info]: tools: strong-intra-smoothingdeblock sao
slower
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel /merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 30 / 8 / 2
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 3 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect amp rd=6psy-rd=0.30 rdoq=2 psy-rdoq=1.00 signhide
x265 [info]: tools: tmvp b-intrastrong-intra-smoothing deblock sao
veryslow
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 3 inter / 3 intra
x265 [info]: ME / range / subpel /merge : star / 57 / 4 / 4
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 40 / 8 / 2
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 5 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect amp rd=6psy-rd=0.30 rdoq=2 psy-rdoq=1.00 signhide
x265 [info]: tools: tmvp b-intrastrong-intra-smoothing deblock sao
placebo
x265 [info]: HEVC encoder version 1.8
x265 [info]: build info [Linux][GCC4.8.5][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x265 [info]: Main profile, Level-5 (Maintier)
x265 [info]: Thread pool 0 using 36 threadson NUMA node 0
x265 [info]: Thread pool 1 using 36 threadson NUMA node 1
x265 [info]: frame threads / poolfeatures : 6 / wpp(20 rows)
x265 [info]: Coding QT: max CU size, min CUsize : 64 / 8
x265 [info]: Residual QT: max TU size, maxdepth : 32 / 4 inter / 4 intra
x265 [info]: ME / range / subpel /merge : star / 92 / 5 / 5
x265 [info]: Keyframe min / max /scenecut : 25 / 250 / 40
x265 [info]: Lookahead / bframes /badapt : 60 / 8 / 2
x265 [info]: b-pyramid / weightp /weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 5 / 0 / 0
x265 [info]: AQ: mode / str / qg-size /cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect amp rd=6psy-rd=0.30 rdoq=2 psy-rdoq=1.00 tskip
x265 [info]: tools: signhide tmvp b-intrastrong-intra-smoothing deblock sao