- Liittynyt
- 21.06.2017
- Viestejä
- 7 296
X265 enkooderin kohdalla AVX512 enablointi hyödyttää marginaalisesti, mutta vähän eri tavalla kuin normaalisti: Nopeudessa ei ole tapahdu mitään muutosta, mutta prosessorin lämmöt ja tehonkulutus laskevat marginaalisesti.
Ja X265 nimenomaan skaalautuu prossuytimille huonommin kuin X264, koska sen CTU on suurempi. Täyden aktiivialueen 1080 pystyresoluution omaavalla materiaalilla saa täysin saturoitua vain noin 10 prosessoriydintä.
Niinkö? Testipätkänä käytetty vajaan minuutin pätkää dolby vision testivideo joka löytyy interwebistä.
2160p -> 1080p, user time kun jaetaan real niin saadaan säiemäärä mitä on saturoitu, tässä tapauksessa reilu 13.
time ffmpeg -y -loglevel panic -i ../P7_FEL_GIJoe_The_Rise_of_Cobra.mkv -c:v libx265 -preset slow -vf scale="1920
:-1" -c:a copy P7_FEL_GIJoe_The_Rise_of_Cobra.1080.mkv
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 12.0.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / 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 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I: 11, Avg QP:27.21 kb/s: 3855.31
x265 [info]: frame P: 293, Avg QP:29.81 kb/s: 1911.90
x265 [info]: frame B: 1066, Avg QP:34.01 kb/s: 435.35
x265 [info]: Weighted P-Frames: Y:2.7% UV:2.7%
x265 [info]: consecutive B-frames: 2.6% 0.3% 0.7% 36.5% 59.9%
encoded 1370 frames in 163.05s (8.40 fps), 778.59 kb/s, Avg QP:33.06
real 2m43.778s
user 35m33.381s
sys 0m17.759s
:-1" -c:a copy P7_FEL_GIJoe_The_Rise_of_Cobra.1080.mkv
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 12.0.1][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / 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 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I: 11, Avg QP:27.21 kb/s: 3855.31
x265 [info]: frame P: 293, Avg QP:29.81 kb/s: 1911.90
x265 [info]: frame B: 1066, Avg QP:34.01 kb/s: 435.35
x265 [info]: Weighted P-Frames: Y:2.7% UV:2.7%
x265 [info]: consecutive B-frames: 2.6% 0.3% 0.7% 36.5% 59.9%
encoded 1370 frames in 163.05s (8.40 fps), 778.59 kb/s, Avg QP:33.06
real 2m43.778s
user 35m33.381s
sys 0m17.759s
Ja sitten 2160p re-encode jossa tuloksena reilu 14 säiettä täysin saturoituna.
time ffmpeg -y -loglevel panic -i ../P7_FEL_GIJoe_The_Rise_of_Cobra.mkv -c:v libx265 -preset slow -c:a copy P7_FE
L_GIJoe_The_Rise_of_Cobra.2160.mkv
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 12.0.1][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 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / 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 : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I: 9, Avg QP:28.72 kb/s: 8139.72
x265 [info]: frame P: 301, Avg QP:30.27 kb/s: 5988.56
x265 [info]: frame B: 1060, Avg QP:33.50 kb/s: 1509.91
x265 [info]: Weighted P-Frames: Y:0.7% UV:0.7%
x265 [info]: consecutive B-frames: 1.9% 0.0% 0.3% 49.7% 48.1%
encoded 1370 frames in 650.00s (2.11 fps), 2537.46 kb/s, Avg QP:32.76
real 10m51.191s
user 153m17.744s
sys 1m4.343s
L_GIJoe_The_Rise_of_Cobra.2160.mkv
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 12.0.1][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 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / 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 : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
x265 [info]: frame I: 9, Avg QP:28.72 kb/s: 8139.72
x265 [info]: frame P: 301, Avg QP:30.27 kb/s: 5988.56
x265 [info]: frame B: 1060, Avg QP:33.50 kb/s: 1509.91
x265 [info]: Weighted P-Frames: Y:0.7% UV:0.7%
x265 [info]: consecutive B-frames: 1.9% 0.0% 0.3% 49.7% 48.1%
encoded 1370 frames in 650.00s (2.11 fps), 2537.46 kb/s, Avg QP:32.76
real 10m51.191s
user 153m17.744s
sys 1m4.343s
Syy miksei ole lähelle 16 johtuu siitä että tuossa purkissa on aika tasaisesti lähes parin säikeen verran kuormaa, joten toi nopea testaus ei saanut kaikkea prossuaikaa rohmuttua. Prossuja 1800X.
Sen testinhän voi tehdä 4K matskulla, ei sen ole pakko olla FHD.