Is there a tipping point between hardware and software transcoding?

I currently run an i5 9400 Ubuntu box headless server/DVR. I was exploring using an Nvidia 1060 as a dedicated transcoder or using an i9-9900k. However, I was advised that the 9900k would give me more benefit as a server processor. Now, this got me to wondering if there was a tipping point is between a rapid HW solution like Quicksync or an Nvidia card vs. brute force through software on multiple cores. Are there jobs that make more sense in software vs hardware? Are there times to disable hardware acceleration?

I am not going to make a change, but when consumer CPU’s are at 32/64 cores, will hardware transcoding still be optimal?

Love that sound of crickets.

HEVC/h.265 is the tipping point for going with a GPU over a CPU.

Love the sound of sarcasm in the morning from those who don’t know how to search for their own answers

I have done quite a lot of searching. And I let the question sit for 11 days. The articles I checked were:
https://support.plex.tv/articles/115002178853-using-hardware-accelerated-streaming/
and

Neither of which really addressed my question. Are there ones I am missing that address the use of massive numbers of CPU cores?

The forum posts I checked were:

And then another thread I have loked had a good answer by you regarding hw vs sw, and how strong the Ryzen 7 3700x is compared to an i7 8700.

It also touts the strength of the Ryzen 7 mated to an Nvidia video card. But “screaming” is hard to quantify. Nor does that look at when things get to 64/128 threads. Is there a point where software (CPU with very high numbers of cores) in brute force will be more effective than hardware (Intel QSV (seems like this is approachable) or Nvidia (seems nearly untouchable))?

I’m sorry to disagree but a single hit on google yields an insane amount of results.

Within the first page are some heavy hitters.
There is a great deal of technical discussion on the Reddit links.

Now, to really answer the question requires additional information –

Which type(s) of media? (cutting to the chase for most)

  1. 1080p H.264
  2. 2160p HEVC HDR

Math wise, it works out this way:

  1. UHD630 is good for about 6x 100 Mbps simultaneous transcodes UHD to 1080p
  2. Each Nvidia transcode uses about 600-800 MB of card memory (IIRC)
1 Like

No there is no tipping point.

GPU will always outperform cpu.

each 4k transcode requires about 17000 passmark, so you do the math on any current or future cpu.

further, other processes are few or single threaded, so pure core count is not the solution alone, you need to have sufficient single core power and qty to handle audio/subs/tone mapping (for each individual stream, in addition to the passmarks for the cpu video transcodes).

As with a lot of things this is subjective - technically or practically?

Technically - SW/CPU encoding is the better quality encode result. Does that matter when you’re trying to watch some show on a 6 inch phone screen on a plane? Or even in just another room of the house? Or while at the in-laws? Not really. Go GPU for this sort of stuff - the ‘usage’ stuff.

Now, if you’re encoding for archiving purposes and not just ‘at that very moment passive consumption’, that’s when I suggest go CPU over GPU.

1 Like

good point, for plex transcoding on the fly, as long as the quality is ‘good enough’, it is all that is needed. It’s not like the transcode is being saved.

Besides the point, when converting 4k/hdr to sdr, quality-wise most will be better off using an original SDR source file, vs trying to convert 4k hdr to sdr with tone mapping.

1 Like

Are you advocating that I trust random users over the support forums where Plex employees like yourself offer support? Moreover, I am not asking about QSV vs NVENC so much as CPU cores doing work in software becoming more effective than hardware transcoding. So, for our purposes, let’s think in terms of 2160 HEVC HDR and the lowest things are transcoded to are 1080/30. So, granted that a dedicated GPU is better than CPU for transcoded. But what about QSV vs a 32 core Threadripper 3970x?

As stated by TechnoJunky,

The answer here is subjective.

Good luck with whatever you decide.

Ok. Thanks for looking.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.