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. |
14th January 2022, 19:42 | #1 | Link |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 259
|
News cards Nvidia (NVEnc) Can you compete with x265?
Good evening.
I ask if the new Nvidia RTX 3xxxx video cards (NVENC) can compete with X265 at a qualitative level. I ask this if I should apply a less expensive video card and mount a multicore processor like Ryzen 9 5900x Thank you |
16th January 2022, 02:15 | #3 | Link |
Video Fanatic
Join Date: Jul 2021
Location: Surrey
Posts: 89
|
The quality is slowly improving, and for non-grainy sources most people probably wouldn't notice. That being said, even the best NVENC encode with an RTX 3080 looks worse than a software --fast encode with x265.
One use I've found for NVENC is SD content, such as old DVDs. It does a good enough job there as there's not much detail to start with.
__________________
PC: R9 5900X | 32GB 3600 MT/s RAM | 2*1TB NVMe | RTX 3080 | water-cooled NAS: SM 48-bay 240TB+ storage | Xeon 1220 | 32GB DDR4 ECC HTPC: Pentium J5005 | 16GB RAM | 256GB SSD | 15W |
16th January 2022, 02:40 | #4 | Link | |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
|
Quote:
Yes, I would weight expenses towards CPU in your case, qualitywise it may be not worth to pay up for GPU too much. Besides, IIRC the 20xx series are reported to have the same encoding engine. But if you intend to go for AI resizing sooner or later: You will need a beefy GPU as well.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
|
16th January 2022, 23:11 | #5 | Link |
Registered User
Join Date: Sep 2011
Posts: 362
|
I made two tests some time ago. GTX 1660S and RTX 3000 same encoder, no difference.
https://forum.doom9.org/showpost.php...&postcount=451 https://forum.doom9.org/showpost.php...&postcount=450 There are 2-3 encoding options which can boost the quality quite a bit. With these the quality in best preset is respectable around x265 faster level. |
17th January 2022, 07:12 | #6 | Link | |
Registered User
Join Date: May 2009
Posts: 328
|
Quote:
|
|
17th January 2022, 12:37 | #7 | Link |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 259
|
Thank you for the confirmation.
I will orient my bugget on the CPU, at this point you do not need a powerful latest generation video card, perhaps a smaller RTX 3050. The problem is finding a good compromise setting for x265 (StaxRip), but I assume that a Slow or Very Slow preset is essential for good quality. Unfortunately, there is no solution to long CPU processing times. Last edited by DMD; 17th January 2022 at 13:20. |
17th January 2022, 19:11 | #8 | Link | |
Registered User
Join Date: May 2009
Posts: 328
|
Quote:
Again, go through the hardware encoding thread and near the end there is discussion of the new XE ASICS and how the quality is far superior to NVENC and almost borderline to x265. |
|
17th January 2022, 21:35 | #9 | Link | |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 259
|
Quote:
Can it be compared to x265 in terms of quality? Thank you Last edited by DMD; 17th January 2022 at 21:58. |
|
17th January 2022, 21:38 | #10 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 322
|
Quote:
Results of an very quick test: x265 medium, x264 veryslow and QSVEncC64 all reached around 50fps on an 12700k for an 1080p Bluray RIP @ 4Mbps, NVEncC64 200fps. In terms of quality x264>x265>NVEncC64>QSVEncC64. Nvenc did indeed seems to be similar to x265 preset fast. Last edited by excellentswordfight; 17th January 2022 at 22:08. |
|
18th January 2022, 02:35 | #11 | Link | |
Registered User
Join Date: Sep 2011
Posts: 362
|
Quote:
CBR/VBR is better on Nvidia, CQP is better on Intel. You have to use CQP and 14 bframes on Intel for best quality, Nvidia is limited to 5 bframes. ICQ mode is worse than CQP on Intel. Ok I actually posted the preferred settings for Xe here: https://forum.doom9.org/showpost.php...&postcount=494 Also you are using the hybrid mode obviously, try low power mode and you get a huge performance boost. Quality is a bit lower in this mode but performance is a different world. |
|
21st January 2022, 15:43 | #12 | Link |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 259
|
I am in favor of using the x265 encoder for high quality sources such as upscaled 4K movies or footage from professional camcorders, where the time spent is worth the final quality.
Use the NVEnc encoder only for videos coming from smartphones or low quality sources, it might be a good one compromise? Last edited by DMD; 21st January 2022 at 16:33. |
22nd January 2022, 01:50 | #13 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
|
I doubt any HW encoder will ever be as good as the best SW encoder for the best codec of any given era. As codec complexity increases, optimal algorithms are way much more about little branchy early-exit software-defined decisions that are really well suited to having lots of cores + SIMD sharing L3 cache.
|
22nd January 2022, 06:18 | #14 | Link | |
Registered User
Join Date: May 2009
Posts: 328
|
Quote:
|
|
23rd January 2022, 01:36 | #15 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
|
Quote:
Nor is x265 the best encoder for every HEVC scenario. Beamr and Elemental can beat even an optimally tuned x265 with very grainy content, for example. All the professional-grade HEVC encoders use SW encoders last I deep dived. I've not seen an example of a HEVC HW encode that couldn't be matched or beat by a properly tuned software encoder. HW encoders shine most with quality @ perf and quality @ CPU. HW on GPU is great for game streaming, for example, as the CPU and memory bandwidth saved can really improve the game's performance. |
|
1st February 2022, 01:58 | #16 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
|
I wasn't aware Elemental had improved significantly. I was pretty underwhelmed at their HEVC encoding quality last I looked It's been several years though.
__________________
These are all my personal statements, not those of my employer :) |
1st February 2022, 23:54 | #17 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
|
Elemental's HEVC has a lot of valuable improvements in the last few years. It's definitely superior to x265 for realtime 4K encoding on equivalent hardware. Lots of psychovisual tuning, improved adaptive quantization, etc.
|
22nd February 2022, 11:45 | #18 | Link | |
Registered User
Join Date: Jan 2007
Posts: 4
|
Quote:
|
|
10th April 2022, 12:26 | #19 | Link |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 259
|
For the moment the only problem of hardware encoding NVEnc HEVC
It has no support for b-frames, nor 4:2:2 chroma subsampling and the decoder only support 4:2:0 chroma subsampling. From the beginning the Nvidia codec has been finalized for streaming play, I don't know if this problem will be solved. I found some interesting articles: https://codecalamity.com/hardware-en...-hdr10-videos/ https://www.linkedin.com/pulse/gpu-v...3%B6rn-isakson https://www.linkedin.com/pulse/video...3%B6rn-isakson Last edited by DMD; 10th April 2022 at 13:56. |
10th April 2022, 13:54 | #20 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|