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.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd February 2021, 13:05   #61  |  Link
excellentswordfight
Lost my old account :(
 
Join Date: Jul 2017
Posts: 339
Just to add some numbers regarding utilization with threading options left at default:

--main10 --preset slow --crf18 on an 24C/48T Eypc Rome:

1080p Bluray source:

With CTU 64 & Merange 57: 25-35%
With CTU 32 & Merange 26: 50-70%

2160p UHD Bluray source:

With CTU 64 & Merange 57: 50-95% (24threads pinned at 100%, the other 24 is very unstable).

1080p with CTU 32, and UHD at default should give great saturation up to 16/32 for single instance encoding. 5950X is likely the fastest single instance encoding processor you can get for these cases atm (I would guestimate that it would beat 3960X & whatever intel has to offer including all xeons).

Last edited by excellentswordfight; 3rd February 2021 at 13:28.
excellentswordfight is offline   Reply With Quote
Old 3rd February 2021, 15:47   #62  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,885
CPU usage should be even higher if you do some heavy filtering like denoising in avisynth (MDegrain + prefetch 24)
Atak_Snajpera is offline   Reply With Quote
Old 3rd February 2021, 23:30   #63  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,869
Quote:
Originally Posted by Atak_Snajpera View Post
CPU usage should be even higher if you do some heavy filtering like denoising in avisynth (MDegrain + prefetch 24)
But how many threads can those algorithms usefully use at once? Temporal denoising can be hard to parallelize because it is an interframe analysis process. But possible if each frame is doing forward and backward comparisons without reusing other analysis of the same frames. Can double the total CPU, but offer a lot better parallelism.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 4th February 2021, 00:05   #64  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Modern video processing frameworks relying on caches, no need to compute stuff twice. Just pick cached frame and reuse or fallback to full processing on cache misses. With high amount of RAM MDergain is fast enough.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
Notebbok: Ryzen 7945HX, 32 GB RAM, RTX 4060, 17'' @ 240Hz @ 1440p
DJATOM is offline   Reply With Quote
Old 4th February 2021, 21:55   #65  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,885
Quote:
Originally Posted by benwaggoner View Post
But how many threads can those algorithms usefully use at once? Temporal denoising can be hard to parallelize because it is an interframe analysis process. But possible if each frame is doing forward and backward comparisons without reusing other analysis of the same frames. Can double the total CPU, but offer a lot better parallelism.
MDegrain works very well with prefetch equal to number of physical cores.
Atak_Snajpera is offline   Reply With Quote
Old 18th August 2021, 13:36   #66  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Hi,
Does anyone already compare 3900X and 5900X in real conditions (x265 1080p and 4K) ? With the same settings, what is the expected perf difference between both ?
Thanks !
Nico8583 is offline   Reply With Quote
Old 18th August 2021, 17:36   #67  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 336
Quote:
Originally Posted by Nico8583 View Post
Hi,
Does anyone already compare 3900X and 5900X in real conditions (x265 1080p and 4K) ? With the same settings, what is the expected perf difference between both ?
Thanks !
Just look at the new benchmark thread from Sagitarre.

https://forum.doom9.org/showthread.php?t=174393&page=4

The 3900x is barely ahead of the 5800x.
RanmaCanada is offline   Reply With Quote
Old 27th August 2021, 14:13   #68  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Quote:
Originally Posted by RanmaCanada View Post
Just look at the new benchmark thread from Sagitarre.

https://forum.doom9.org/showthread.php?t=174393&page=4

The 3900x is barely ahead of the 5800x.
Thanks
Nico8583 is offline   Reply With Quote
Old 3rd September 2021, 07:31   #69  |  Link
tonemapped
Video Fanatic
 
tonemapped's Avatar
 
Join Date: Jul 2021
Location: Surrey
Posts: 89
I've just ordered an AMD 5900x and RTX 3080 for encoding (NVENC still has a few use cases outside of streaming). The reason for the 5900x (or even going for a 3000-series or any other 5000-series) is power savings, less heat, and better value for money with multithreaded workloads such as encoding. As it stands, I would recommend AMD (I believe that's the first time I've written that since I purchased an Athlon 64 X2 as a child!).
__________________
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
tonemapped is offline   Reply With Quote
Old 12th September 2021, 14:13   #70  |  Link
mindphasar
Registered User
 
Join Date: Oct 2017
Location: Italy
Posts: 3
Intel processors (11 gen) with the internal video card UHD Graphics 750 are good for x265 encoding? or better to buy an AMD processor without internal video card?
mindphasar is offline   Reply With Quote
Old 12th September 2021, 21:04   #71  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
I assume AMD will be better (HW encoding usually performs worse than SW), and 8 big + 8 small cores might make things slower against full-power 16 cores by AMD. So just wait for actual release and check speed comparisons before buy.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
Notebbok: Ryzen 7945HX, 32 GB RAM, RTX 4060, 17'' @ 240Hz @ 1440p
DJATOM is offline   Reply With Quote
Old 13th September 2021, 17:42   #72  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,869
Quote:
Originally Posted by mindphasar View Post
Intel processors (11 gen) with the internal video card UHD Graphics 750 are good for x265 encoding? or better to buy an AMD processor without internal video card?
There's no downside to having an integrated GPU, but there's no upside either for x265 itself. Depending on workflow, the GPU can be used to accelerate source decode and potentially some preprocessing operations. And there's the potential to use a HW first pass and the reuse the initial analysis in x265 for a moderate speed boost, but it's a hassle to get configured, and speed up is maybe 25% if done without quality loss.

I don't know anyone doing that in practice for file-to-file encoding.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 13th September 2021, 17:50   #73  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,853
Quote:
Originally Posted by mindphasar View Post
Intel processors (11 gen) with the internal video card UHD Graphics 750 are good for x265 encoding? or better to buy an AMD processor without internal video card?
Intel's latest generation CPUs are power consuming monsters. Keep that also in mind. I'd opt for an AMD at the moment
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 16th September 2021, 09:47   #74  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 552
You can root Intel Chipset Minix OS and get access to ucode and modify it. So Intel, of course. What a dumb question! Just simply picosecond precision digital analyser inside is already equvivalent to millions of $.
Balling is offline   Reply With Quote
Old 20th September 2021, 19:13   #75  |  Link
shootah
Registered User
 
Join Date: Nov 2012
Posts: 2
I'm also searching for new CPU, Ryzen 7 5800X would be my max budget, is this the best what I can buy for that money?
What fps should I expect on 5800X encoding x265 from 1080p, AVC source using CRF profile fast?
shootah is offline   Reply With Quote
Old 20th September 2021, 19:39   #76  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,807
Quote:
Originally Posted by benwaggoner View Post
There's no downside to having an integrated GPU, but there's no upside either for x265 itself.
All ryzen cpus with a integrated GPU have a smaller L3 cache. So there's a small downside
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 20th September 2021, 19:42   #77  |  Link
excellentswordfight
Lost my old account :(
 
Join Date: Jul 2017
Posts: 339
Quote:
Originally Posted by shootah View Post
I'm also searching for new CPU, Ryzen 7 5800X would be my max budget, is this the best what I can buy for that money?
What fps should I expect on 5800X encoding x265 from 1080p, AVC source using CRF profile fast?
Techpowerup has a decent test x265 test which you can use for some speed comparison between models.

https://tpucdn.com/review/intel-core...ncode-h265.png

Not sure about the speed as I rarely use preset fast, nor own an 5800x, but I would guestimate that it would be in in the 50fps+ range.

Last edited by excellentswordfight; 20th September 2021 at 21:15.
excellentswordfight is offline   Reply With Quote
Old 21st September 2021, 00:34   #78  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,030
Out of curiosity, still no AVX512 in the new AMD CPUs, right?
FranceBB is offline   Reply With Quote
Old 21st September 2021, 00:47   #79  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,425
Right, no AVX512 in any of the announced, or even rumored, AMD CPUs.

However, Zen3 CPUs encode with x265 very quickly, so the lack of AVX512 is not really a minus for x265 encoding.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 21st September 2021, 15:59   #80  |  Link
butterw2
Registered User
 
Join Date: Jun 2020
Posts: 303
Intel 11th gen desktop igpu has a good hardware hevc encoder (in addition to an av1 hardware decoder).

avx512 isn't reported as being available with 12th gen Intel desktop (releasing Q4 2021).
butterw2 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.