如果我比较几个 ffmpeg 版本,即使使用相同的编码配置文件“中等”,速度也会下降 50%,所以我想知道变化是什么。这种变化发生在 2021 年夏季的任何时候。我想知道我是否需要调整任何内容,因为设置/配置文件可能已被重命名?
实际版本: https://1drv.ms/u/s!Ar_eIBtD4lGqh_otbJxfp2L67nV0Ow?e=uACriV
旧版 https://1drv.ms/u/s!Ar_eIBtD4lGqiblDjrJh3fjiLXpaFg?e=mksNlk
在 4 Ghz 的 18 核 7980 XE 上,预设介质的 4K X265 编码速度从 ~7.4 FPS 降至 3.4 FPS。两个版本的 CPU 使用率均为 100%。
编辑:注意到我的新版本(在 ubuntu VM 中完成)不使用 CPU 加速功能,而旧版本则使用相同的功能
x265 [info]: HEVC encoder version 3.5+34-7a5709048
x265 [info]: build info [Windows][GCC 10.2.0][32 bit][noasm] 10bit
x265 [info]: using cpu capabilities: none!
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [warning]: lowering VBV buffer size to 25000Kb
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 6 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 35 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-21.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 25000 / 8000 / 0.900
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=8 deblock sao
x265 [info]: HEVC encoder version 3.5+11-c8905a745
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [warning]: lowering VBV buffer size to 25000Kb
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 36 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 6 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 35 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-21.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 25000 / 8000 / 0.900
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=8 deblock sao