For media server, I recommend Serviio, and not _too_ worry about video encoding that much (on-the-fly transcoding, but a few mkv files do have issues, depending on how they were encoded). And Linux/Windows/Mac version are available for free.
Congratulations! You are the one-millionth user to log into our system. If there's anything special we can do for you, anything at all, don't hesitate to ask!