MeGui is a great program that is updated very regularly.
I have ripped many tv shows/dvds into the x264/AAC format and the amount of freedom you have with config is amazing (a bit like MP really). I always use the "filesize" method and it always encodes spot on.
Hope you have a fast system tho, good quality 2 pass encodes take a fair while compared to AutoGK.
Megui allows Xvid encodes also, but I generally just use AutoGK for them
Why do Xvid if x264 exits and you're using a htpc?