There are numerous programs available that enable you to rip a DVD into a MP4 format that work just fine on any iPod or iPhone. This is perfectly legal as long as you just make a copy of the movie for your own use and don't give it away or sell it to anybody.
Do a Google search for a DVD ripper and find one that works for you.