Can your NAS run VMs? If yes, run a Linux or Windows VM and install on there. The downside the GPU will not be available for commercial skipping so the CPU will need to do it. Alternatively, keep the video storage on the NAS and use an external system to run he server. I've been super happy running a Windows VM on TrueNAS.
Good luck,
Morris