I know handbrake gets the job done but I personally use Amerisoft iPhone video converter suite. I paid for it but it was well worth the money. This can do DVDs or videos to iPhone H.264 which looks a little better IMO then Mpeg4.
Here is the link...
http://www.aimersoft.com/iphone-converter-suite.html