Your MiniPC being utilized is total overkill. Also I would get your media content and place them in a NAS. Use JDM_WAAAT’s guide: [Guide] Hardware Transcoding: The JDM way! QuickSync and NVENC - #4 by JDM_WAAAT
Do a clean install of Ubuntu Desktop is suggested.