软件实测:
视频编码测试;
X265:
5950X Pass1 5.11 fps , Pass2 6.80 fps:
y4m [info]: 1920x1080 fps 60000/1001 i420p8 unknown frame count raw [info]: output file: pass1.hevc x265 [info]: HEVC encoder version 3.4+12-g9103319fc x265 [info]: build info [Windows][MSVC 1927][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires x265 [warning]: enabling VBV with vbv-bufsize=160000kb vbv-maxrate=160000kbps. VBV outputs are non-deterministic! x265 [info]: Main 10 profile, Level-5.1 (High tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 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 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 160000 / 160000 / 0.900 x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: rskip mode=1 limit-tu=4 signhide tmvp b-intra x265 [info]: tools: strong-intra-smoothing deblock sao stats-write Output 8400 frames in 1641.93 seconds (5.12 fps) x265 [info]: frame I: 48, Avg QP:15.69 kb/s: 84771.67 x265 [info]: frame P: 1861, Avg QP:16.52 kb/s: 30356.28 x265 [info]: frame B: 6491, Avg QP:25.28 kb/s: 2146.32 x265 [info]: Weighted P-Frames: Y:4.4% UV:1.7% x265 [info]: Weighted B-Frames: Y:2.0% UV:1.3% x265 [info]: consecutive B-frames: 3.8% 1.0% 5.2% 41.9% 41.4% 5.0% 0.4% 0.6% 0.7% encoded 8400 frames in 1642.88s (5.11 fps), 8868.32 kb/s, Avg QP:23.29
y4m [info]: 1920x1080 fps 60000/1001 i420p8 unknown frame count raw [info]: output file: pass2.hevc x265 [info]: HEVC encoder version 3.4+12-g9103319fc x265 [info]: build info [Windows][MSVC 1927][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-5.1 (Main tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 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 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-10000 kbps / 0.60 x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: rskip mode=1 limit-tu=4 signhide tmvp b-intra x265 [info]: tools: strong-intra-smoothing deblock sao stats-read Output 8400 frames in 1233.73 seconds (6.81 fps) x265 [info]: frame I: 48, Avg QP:13.77 kb/s: 101034.95 x265 [info]: frame P: 1861, Avg QP:16.14 kb/s: 33431.42 x265 [info]: frame B: 6491, Avg QP:24.29 kb/s: 2601.78 x265 [info]: Weighted P-Frames: Y:4.1% UV:1.6% x265 [info]: Weighted B-Frames: Y:1.9% UV:1.3% x265 [info]: consecutive B-frames: 3.8% 1.0% 5.2% 41.9% 41.4% 5.0% 0.4% 0.6% 0.7% encoded 8400 frames in 1234.48s (6.80 fps), 9994.49 kb/s, Avg QP:22.43
3950X Pass1 3.92 fps , Pass2 5.00 fps:
y4m [info]: 1920x1080 fps 60000/1001 i420p8 unknown frame count raw [info]: output file: pass1.hevc x265 [info]: HEVC encoder version 3.4+12-g9103319fc x265 [info]: build info [Windows][MSVC 1927][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires x265 [warning]: enabling VBV with vbv-bufsize=160000kb vbv-maxrate=160000kbps. VBV outputs are non-deterministic! x265 [info]: Main 10 profile, Level-5.1 (High tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 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 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 160000 / 160000 / 0.900 x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: rskip mode=1 limit-tu=4 signhide tmvp b-intra x265 [info]: tools: strong-intra-smoothing deblock sao stats-write Output 8400 frames in 2141.44 seconds (3.92 fps) x265 [info]: frame I: 48, Avg QP:15.69 kb/s: 84799.13 x265 [info]: frame P: 1861, Avg QP:16.52 kb/s: 30355.89 x265 [info]: frame B: 6491, Avg QP:25.29 kb/s: 2146.50 x265 [info]: Weighted P-Frames: Y:4.4% UV:1.7% x265 [info]: Weighted B-Frames: Y:2.0% UV:1.3% x265 [info]: consecutive B-frames: 3.8% 1.0% 5.2% 41.9% 41.4% 5.0% 0.4% 0.6% 0.7% encoded 8400 frames in 2142.59s (3.92 fps), 8868.52 kb/s, Avg QP:23.29
y4m [info]: 1920x1080 fps 60000/1001 i420p8 unknown frame count raw [info]: output file: pass2.hevc x265 [info]: HEVC encoder version 3.4+12-g9103319fc x265 [info]: build info [Windows][MSVC 1927][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-5.1 (Main tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 4 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 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 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-10000 kbps / 0.60 x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: rskip mode=1 limit-tu=4 signhide tmvp b-intra x265 [info]: tools: strong-intra-smoothing deblock sao stats-read Output 8400 frames in 1677.93 seconds (5.01 fps) x265 [info]: frame I: 48, Avg QP:13.77 kb/s: 101038.84 x265 [info]: frame P: 1861, Avg QP:16.14 kb/s: 33431.50 x265 [info]: frame B: 6491, Avg QP:24.29 kb/s: 2601.72 x265 [info]: Weighted P-Frames: Y:4.1% UV:1.6% x265 [info]: Weighted B-Frames: Y:1.9% UV:1.3% x265 [info]: consecutive B-frames: 3.8% 1.0% 5.2% 41.9% 41.4% 5.0% 0.4% 0.6% 0.7% encoded 8400 frames in 1678.86s (5.00 fps), 9994.49 kb/s, Avg QP:22.43
SVT-AV1 虽然已经是测试时的最新版本,但看起来没有针对Zen3优化:
5950X 4.583 fps
SVT [version]: SVT-AV1 Encoder Lib v0.8.5 SVT [build] : Visual Studio 2019 64 bit LIB Build date: Sep 7 2020 07:25:49 Number of logical cores available: 32 Number of PPCS 116 [asm level on system : up to avx2] [asm level selected : up to avx2] SVT [config]: Main Profile Tier (auto) Level (auto) SVT [config]: Preset : 3 SVT [config]: EncoderBitDepth / EncoderColorFormat / CompressedTenBitFormat : 8 / 1 / 0 SVT [config]: SourceWidth / SourceHeight : 1920 / 1080 SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 60000 / 1001 / 64 / 1 SVT [config]: HierarchicalLevels / PredStructure : 4 / 2 SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 50 / 16 / 0 Encoding 2000 Average System Encoding Speed: 4.66 4000 Average System Encoding Speed: 4.61 6000 Average System Encoding Speed: 4.57 8000 Average System Encoding Speed: 4.56 8232Output 8400 frames in 1817.65 seconds (4.62 fps) 8400 SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 8400 59.94 fps 23412378 1336.51 kbps Channel 1 Average Speed: 4.583 fps Total Encoding Time: 1832741 ms Total Execution Time: 1833527 ms Average Latency: 26821 ms Max Latency: 48947 ms
3950X 5.845 fps
SVT-AV1 Encoder SVT [version]: SVT-AV1 Encoder Lib v0.8.1 SVT [build] : Visual Studio 2017 64 bit LIB Build date: Jan 29 2020 14:56:28 Number of logical cores available: 32 Number of PPCS 127 [asm level on system : up to avx2] [asm level selected : up to avx2] SVT [config]: Main Profile Tier (auto) Level (auto) SVT [config]: EncoderMode : 3 SVT [config]: EncoderBitDepth / EncoderColorFormat / CompressedTenBitFormat : 8 / 1 / 0 SVT [config]: SourceWidth / SourceHeight : 1920 / 1080 SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 60000 / 1001 / 64 / 1 SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 4 / 0 / 2 SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 50 / 33 / 0 Encoding 2000 Average System Encoding Speed: 6.22 4000 Average System Encoding Speed: 5.51 6000 Average System Encoding Speed: 5.69 8000 Average System Encoding Speed: 5.79 8230Output 8400 frames in 1425.11 seconds (5.89 fps) 8400 SUMMARY --------------------------------- Channel 1 -------------------------------- Total Frames Frame Rate Byte Count Bitrate 8400 59.94 fps 26124766 1491.35 kbps Channel 1 Average Speed: 5.845 fps Total Encoding Time: 1437160 ms Total Execution Time: 1438669 ms Average Latency: 22681 ms Max Latency: 64783 ms Encoder finished
滤镜测试,采用Vapoursynth跑NNEDI3实现最简单的缩放功能,并且使用显卡编码来消除编码器瓶颈,两个CPU的测试中,显卡编码器均远未满载。
5950X 19.26 fps:
vceenc.hevc VCEEnc (x64) 6.05 (r634) by rigaya, Sep 23 2020 11:26:55 (VC 1927/Win/avx2) OS Version Windows 10 x64 (19042) CPU: AMD Ryzen 9 5950X 16-Core Processor (16C/32T) GPU: AMD Radeon RX 5700 XT 50th Anniversary, AMF Runtime 1.4.17 / SDK 1.4.16 Input Info: y4m(yv12)->nv12 [AVX2], 3840x1080, 60000/1001 fps Vpp Filters copyHtoD Output: H.265/HEVC main @ Level 5.1 (high tier) 3840x1080p 0:0 59.940fps (60000/1001fps) Quality: slow VBR: 10000 kbps, Max 160000 kbps QP: Min: 0, Max: 51 VBV Bufsize: 80000 kbps Bframes: 0 frames Pre Analysis: off Ref frames: 2 frames LTR frames: 0 frames Motion Est: Q-pel Slices: 1 GOP Len: 600 frames Others: deblock lowlatency Output 8400 frames in 436.91 seconds (19.23 fps) encoded 8400 frames, 19.26 fps, 9921.44 kbps, 165.75 MB encode time 0:07:16, CPULoad: 0.7%
3950X 18.91 fps:
vceenc.hevc VCEEnc (x64) 6.05 (r634) by rigaya, Sep 23 2020 11:26:55 (VC 1927/Win/avx2) OS Version Windows 10 x64 (19042) CPU: AMD Ryzen 9 3950X 16-Core Processor (16C/32T) GPU: AMD Radeon VII, AMF Runtime 1.4.17 / SDK 1.4.16 Input Info: y4m(yv12)->nv12 [AVX2], 3840x1080, 60000/1001 fps Vpp Filters copyHtoD Output: H.265/HEVC main @ Level 5.1 (high tier) 3840x1080p 0:0 59.940fps (60000/1001fps) Quality: slow VBR: 10000 kbps, Max 160000 kbps QP: Min: 0, Max: 51 VBV Bufsize: 80000 kbps Bframes: 0 frames Pre Analysis: off Ref frames: 2 frames LTR frames: 0 frames Motion Est: Q-pel Slices: 1 GOP Len: 600 frames Others: deblock lowlatency Output 8400 frames in 444.16 seconds (18.91 fps) encoded 8400 frames, 18.97 fps, 9920.06 kbps, 165.72 MB encode time 0:07:22, CPULoad: 0.8%
音频编码 QAAC 测试:
5950X 111.4X速率:
qaac 2.68, CoreAudioToolbox 7.10.9.0 Knight's Song -GENERATION 3-.m4a AAC-LC Encoder, TVBR q127, Quality 96 [100.0%] 6:03.602/6:03.602 (111.4x), ETA 0:00.000 16034858/16034858 samples processed in 0:03.265 Overall bitrate: 347.041kbps Optimizing…done
3950X 88.5X速率:
qaac 2.68, CoreAudioToolbox 7.10.9.0 Knight's Song -GENERATION 3-.m4a AAC-LC Encoder, TVBR q127, Quality 96 [100.0%] 6:03.602/6:03.602 (88.5x), ETA 0:00.000 16034858/16034858 samples processed in 0:04.108 Overall bitrate: 347.041kbps Optimizing…done
压缩软件7zip测试:
5950X 压缩速度 135875MIPS 解压速度 216015MIPS:
3950X 压缩速度 123294MIPS 解压速度 185214MIPS: