Hybrid is a powerful multiplatform tool you can use to convert almost all types of input to Xvid/x264/ogg/flac/mp3/ac3 within avi/mp4/mkv/mov/webm/m2ts containers, AVCHD structures or Blu-ray. It is a freeware x264 configuration application that's advanced.
Here are some screenshots to illustrate the features and user interface of this application: