Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Dec 2010
Posts: 60
|
New home-made cross-OS x265 benchmark
I've made a series of HEVC encoding using x265 on my home laptop, now equipped with two OSs (LMDE (64 bit) and Haiku (64bit)), both with fresh updates.
Source content were the two files provided by Ben here (SolLevante and TearsOfSteel) and the command line was as simple as: Code:
x265 --preset slow --crf 22 --input filename --aq-mode 3 --selective-sao 2 --pools 4 --output output.265 linux 4 means: Code:
Linux debbieb1 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux Code:
Linux debbieb1 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 GNU/Linux Code:
Haiku shredder 1 hrev55874 Feb 14 2022 09:04:41 x86_64 x86_64 Haiku On the other hand, x265 3.3 means: Code:
x265 [info]: HEVC encoder version 3.3+10-gd4b5ab60b x265 [info]: build info [Linux][GCC 8.3.0][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 Code:
x265 [info]: HEVC encoder version 3.4.1+1-1827b372c x265 [info]: build info [Linux][GCC 8.3.0][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 Code:
x265 [info]: HEVC encoder version 3.4.1+1-1827b372c x265 [info]: build info [Unk-OS][GCC 11.2.0][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 My laptop is equipped with a Core i7 7500u processor (2 cores+HT), with 8 GB (4+4) Kingston DDR4. Source y4m files were both copied on an USB 3.0 stick, assuring safe access times. I launched each encoding three times after an OS reboot, then took an average of reported fps stats (stat values were substantially constant, though). Finally, the numbers: Code:
| x265 3.4 | x265 3.4 | x265 3.3 | x265 3.4 | x265 3.4 | | haikuD2 | haikuD0 | linux 4 | linux 4 | linux 5 | ----------------------------------------------------------------------------------------------- Sol Levante | 1.19 fps | 1.20 fps | 1.95 fps | 1.94 fps | 1.78 fps | ----------------------------------------------------------------------------------------------- Tears Of Steel | 2.19 fps | 2.23 fps | 3.65 fps | 3.66 fps | 2.26 fps | ----------------------------------------------------------------------------------------------- Last edited by Losko; 28th February 2022 at 15:03. Reason: the haiku build is a nightly |
![]() |
![]() |
![]() |
#2 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,490
|
It'd be interesting to compare these results to Windows 11 on the same hardware.
As for a benchmark, I might recommend using --preset slower instead of slow. Slower adds some new interesting things for the encoder to chew on, and reduces the odds of IO limitations being a material factor. I'd probably be using --aq-mode 4 by default these days. |
![]() |
![]() |
![]() |
#3 | Link | ||
Registered User
Join Date: Dec 2010
Posts: 60
|
As one of the results of this comparison was a noticeable interest in the haiku forum (here) and my purpose is actually support their development, I will likely go further and run again the benchmark (read: I will tolerate more wait for the encoding at slower preset).
Quote:
Quote:
Last edited by Losko; 21st February 2022 at 18:18. |
||
![]() |
![]() |
![]() |
#5 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: Belgium
Posts: 1,782
|
You're crazy. You should be using aq-mode 1 and high values of psy-rd and psy-rdoq. These are the only optimal values, especially if you don't want banding.
All other aq-modes are sub-optimal. Again, you're crazy
__________________
TV: Samsung 50" QE50Q60T AVR: Yamaha RX-V481 5.1 CD Player: Yamaha CD-S300 DAB+ Tuner: Yamaha T-D500 BD Player: Samsung UBD-M8500 UHD Speakers: Klipsch 5.1 Reference Phono: Audio-Technica AT-LP120XUSB |
![]() |
![]() |
![]() |
#6 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 301
|
Quote:
For lowish bitrate encoding though... |
|
![]() |
![]() |
![]() |
#7 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: Belgium
Posts: 1,782
|
Quote:
I've done a dozens of test encode on clean source testing the different aq-modes and none of them were able to perform as they claim to (all tests on Blade Runner 2049). The only thing that can match the input as close as possible is aq-mode 1 with high values of psy-rd and psy-rdoq
__________________
TV: Samsung 50" QE50Q60T AVR: Yamaha RX-V481 5.1 CD Player: Yamaha CD-S300 DAB+ Tuner: Yamaha T-D500 BD Player: Samsung UBD-M8500 UHD Speakers: Klipsch 5.1 Reference Phono: Audio-Technica AT-LP120XUSB |
|
![]() |
![]() |
![]() |
#8 | Link | ||
Lost my old account :(
Join Date: Jul 2017
Posts: 301
|
Quote:
I have no idea what it does to the bitrate as I always test settings with 2pass vbr. Quote:
Last edited by excellentswordfight; 28th February 2022 at 21:30. |
||
![]() |
![]() |
![]() |
#9 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,490
|
Which is really the only good way to do it. A parameter change that increases bitrate and increases quality is a lot harder to evaluate in CRF mode. With 2-pass VBR, you're always comparing at a fixed ABR so all you are evaluating are the quality differences.
|
![]() |
![]() |
![]() |
Tags |
benchmarking, haiku, linux, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|