AI support on AMD GPUs is pretty poor, and even worse on their NPU (granted NPU support in general is poor).
AMD transcode is also not as good as Intel, even on that old 8400.
My advice to you is if you have nothing else in mind for this mini PC, sell it alongside the i5 8400 and its motherboard, and pick up a 12th Gen CPU and its motherboard. Once you get Jellyfin to work on its iGPU sell the GTX 1050.