Guide: NVDEC Hardware Acceleration Patch for Plex Media Server on Linux

So to follow up with a few notes and history. This patch will insert the ‘-hwaccel nvdec’ attribute to transcodes when calling the Plex Transcoder.

From the prior thread, this will insert said attribute for all source files except mpeg4 format. mpeg4 has reportedly had decode issues running through nvdec, but I personally have not tested this myself to verify.

When it comes to 4K content on HVEC, you should expect approx. 1GB of VRAM to be used per transcode, so your VRAM will very likely be a limit if you expect to do multiple streams. H264 content is much less intense on the VRAM in this instance if you are willing to tolerate a lack of HDR and a 25% increase in file size.
Another common limitation at this point with 4K content is usually audio transcoding. Audio transcodes are limited to a single thread/CPU. So, if a 7 channel TRUEHD codec cannot be directly streamed to your player, then PMS will have to transcode it and will likely choke due to not being able to multi-thread the audio transcode.

I do appreciate all other comment here so we can all get the best info together to enable this feature to the fullest and we all can be killing it with 4K content in our libraries!