I'd say give Media Coder a try. Open source and free. It can be a bit overwhelming at times but once you figure out the important stuff you can usually get it to work pretty well. The only big problem I've had in the past with it was with subtitles while transcoding but I've worked thru most of that after some trial and error.