Because null has a habit of not reading entire posts:
ARC A310
I have experience with all this. First off your sources are good, the ARC and Tesla recommendations are good. But reading the thread there's some key info that's missing:
- Hardware encode has fixed quality outputs.*
- Encoding is a functions of the media engine and basically nothing else.**
- Some cards (mostly consumer grade nivida) have an artificial limit on the number of encodes they can run at once.
*This means that a H264 stream from a gtx 980 will look worse than a rtx 3080
no matter what. You
cannot spend more time on the 980 to make it look better. It wasn't in your recommendations but some people mentioned AMD. AMD encoding quality is shit and needs to be avoided.
** "Better cards" with the same media engine will perform exactly the same. ex. The A310 vs. A770 will have literally no difference in encoding speed or quality. GPU memory also essentially doesn't matter. A RTX 3080 10gb and RTX 3080 20gb will be similarly be functionally identical.
After deliberating on what formats to use, I am tempted to go to 1080p in AV1 + 720/480/360p in MPEG.
I think this is a good choice for formats (assuming by MPEG you mean h264, not MPEG-2). You might also consider in the future just having 1080/720/480/360p in both h264 and AV1 then serving AV1 if the client supports it to save bandwidth.
Going back to your recommendations from your trusted sources I would do either 1, 2, or both. Get an intel ARC card for AV1 and optionally an old datacenter nvidia card for h264. I would not try running media encode and AI on the same cards. It just leads to headaches.
Get one (or multiple) ARC A310 cards. They take minimal power (30w) and have the same encoding capability as every other intel card (the B series didn't change their media engine much). In my testing they can handle 4-5 real time 1080p streams. Expect to pay about 200$ per.
https://www.ebay.com/itm/277659062320
Nvidia tesla/pascal cards don't have a limit on the number of h264 streams and h264 encoding was pretty mature by that point. They'll fit in your server chassis and take 250w but can be power limited to 180w. They're old enough that they're cheap and moreover because gpu memory doesn't matter you can get the versions with less memory for dirt fucking cheap. This guy wants $35 and you could probably offer him $25
https://www.ebay.com/itm/358198061676
Finally you didn't mention how many pcie slots you have but presuming you have an decent board that can do bifurcation even one x16 slot could turn into 4x4x4x4x with four A310s and would avoid some of the hassle of nvidia drivers and probably not require a PSU upgrade. Honestly I'd probably just do that 4x A310 tbh. Start with one and then add more if/when you need them.