How to point an Apple TV to an iTunes Library on a NAS?
(Assuming you have an Apple TV 2…) You can't do it without jailbreaking.

Once you do that, you just need to run Plex or XBMC. I only have experience with the former, but we're very happy with the results.