Plex, 4k, transcoding, and you has a lot of information that might be relevant, including links to the intel and nvidia info on what cards support what codecs.
the simplest solution for a new build is an intel 7000 series CPU (or newer) with an integrated 600 series intel GPU.
simple, cost effective, low power, low complexity, no extra gpu required, works with plex on linux and windows.