I perfer to use custom x264 builds, scales very well, even with hyperthreading! You *can* get much better quality due to the amount of control you have.
x264.tk - Its a command line program but you can use a gui program to control it like meGUI
MeGUI - MeWiki