The NAS can output 4K video and the Apple TV can read those files. You could buy two Apple TV’s for less price than the computer.
so OP wants to use the NAS for storage with the Mac computer to send 1080p files encoded from the M1 Mac to what? Other computers or a TV ?
Details are light on this list to work out exactly what they’re trying to do.