That is a good question. The qnap units I have don’t have a space for a video card so they don’t support hardware transcoding.
This script leverages the FFMPEG library that comes factory in qnap os.
It looks like FFMPEG does support hardware encoding but you have to make sure you are running a build of FFMPEG that supports that functionality.
Installing newer versions of FFMPEG on qnap I think would be complicated and probably to many steps for even the more advanced user. So I think its probably not in the cards for anything in the near future.
We would need to find a qnap app developer who could get something into the app store. That would be the best solution.