[Feature Request] Add support for AMD's Video Core Next encoding

Dear Plex, I recently built a Linux Nas server expecting Plex Pass to include Hardware support for AMD CPU’s with built in GPUs, sadly this isn’t the case. When can we see support for this?

Same. I would love to see support for VCE. Handbrake has had it for well over a year now. With AMD quickly rising in the ranks among consumers, it only makes sense to add support for a popular product.

This is the tell-all:

  • These things are beasts. They beat the 4k performance of my driver patched 1050

The fact that Plex has dragged their feet this long is a big black mark on them to me.

4 Likes

And something like a Rx 5500 8gb should be a beast to transcode on plex for only about 180-200€

2 Likes

Same here, come on, Plex guys!

I just installed Plex on my home server due to acquisition of HD Homerun atsc 3.0 networked tuner device. I have to say, I am thrilled with Plex overall… Honestly, amazing integration (I deprecated my Gerbera DLNA server in preference of Plex and switched to Tidal, for the full experience.). Again, I’m thrilled.
But…
I have an AMD 2400G processor in my home server, and it does more than enough of everything I need. …But, CPU transcode of 1…just 1 x 1080p stream take the cpu to ~50%!!!.. All while I have an integrated gpu that can handle 4 x simultaneous 1080p streams?!
So, I downloaded and compiled ffmpeg current version, and it transcodes with gpu and vaapi with no problem.
So, I played around with Plex variant of ffmpeg, and noticed it is quite behind in some ffmpeg lib versions… And it’s libva doesn’t recognize my AMD gpu, even when I just try to init /dev/dri/renderD128
So, Plex,

  1. are older versions of ffmpeg codebase the only real problem here?
  2. if so, when might your fork catch up enough for AMD vaapi support?
    Your product is great, but this gap in hardware sorry feels punitive, especially given the requestors here before me…

Stupid question… If I moved your Plex Transcoder binary (e.g. Plex Transcoder.orig) and made a soft-link named ‘Plex Transcoder’ to my ffmpeg, are there any significant “gotchas”?

3 Likes

Sadly, Plex is closed source. If it was open source then community will implement AMD Hardware acceleration. Hope they add it soon, cause its rly disappointing that “Paid” premium product lacks of basic thing. When other free alternatives support it out of box.

2 Likes

With the continued success of AMD’s CPUs and the seeming potential return to competiveness with nVidia in the GPU market with the new 6000 series cards, support for AMD CPUs/APUs/GPUs would certainly be a worthwhile feature to add as AMD CPUs/APUs are only going to get more popular for plex boxes, especially given the cost benefits.

Currently my Plex server is using an old Intel i7 6700K, but I will probably upgrade it to a Ryzen CPU at some point and losing hardware accelerated transcoding would be a dissapointment to say the least, though I’m sure the Ryzen CPU might well be able to brute force it to some extent perhaps. I’d rather not have to put a nVIDIA GPU in the system to retain hardware acceleration and increase the power draw of the system.

3 Likes

With the release of Ryzen 5000 series this is even more important: https://www.youtube.com/watch?v=iZBIeM2zE-I

3 Likes

Does it work?

1 Like

I bet we would get Apple Sillicon support before AMD support. This starts to be ridiculous.

2 Likes

@indianfoodyummy That looks like a really interesting solution. Did you have any luck with this?

No. Too many mods to their fork of ffmpeg… Definitely not drop- in replacement. Eventually I just stopped fighting it and bought an nvidia card.
However, I found 2 articles of interest:

  1. I found an article where someone ran their Plex Transcoder binary and extracted the compile-time arguments, then duplicated them for a new ffmpeg build… Amongst other things building with -fPIC
  2. Another common idea was to move the binary aside and create a script that calls me binary with specialty options

I think ultimate success will require both actions…#2 to “handle” Plex-specific options that vanilla ffmpeg won’t support, and #1 to handle loadable modules

Recently upgraded to a Plex Pass and discovered I can’t transcode with my amd gpu. I hope this feature will be given priority as AMD continues to gain market share and seems important basic functionality.

2 Likes

New release (1.21.0.3711), no fix yet in sight. Tried again today. Same multicolored pixel errata when attempting to engage hardware encoding on the latest VCN hardware. It’s still giving me what I reported to them on GitHub. It is server-side and has to do with their custom broken implementation of FFMPEG and VCN 2.0. Other software out there like Handbrake that use FFMPEG have no issues with AMD’s VCN hardware encoding. This example I provided them is with a non-live, pre-transcoded or optimized file. They have yet to fix their issue with hardware encoding:

See example case below.

> > Gofile - Your all-in-one storage solution < <

This example above is less severe since, as a CGI animated short, it has more static or stationary frames, but it is still plainly obvious where the improper encoding occurs. This does not occur with other hardware encoding implementations I use, such as Handbrake which features VCE/VCN support. I included a log and database dump as requested. Some very obvious problem points I quickly noted in the hardware encode are ~2:14, ~2:18, and ~3:11, but there are many more problem points before and after as you may have already noticed.

2 Likes

I don’t get it: everywhere you look, AMD VCE is supported by VA-API, which is funny, because it’s the same inteface used by Intel video encoders on Plex as well. No AMD VCE support on linux equals to no Plex Pass for me. I will try different solutions, at this point

Disappointed Plex doesn’t take AMD seriously… Intel is finding out the hard way the consequences
of ignoring the market/shift.

Wake up Plex… I want my linux transcoding! Seriously, even SYNOLOGY … yes, Synology is going AMD… WTF people @Plex, wake up!

2 Likes

I don’t get it: does Plex people know how much money they’re not getting by ignoring AMD hardware on solid Linux APIs like VA-API?

1 Like

AMD Please!

I need to change the CPU for my Ubuntu server. I’d like to use a Ryzen but I need the Hardware transcoding feature to work on AMD chips