I would recommend
OGMRip, it rips the DVD, and has many options on how to encode it including size restrictions. I have tried many other programs and they have failed me, so this is the only one so far that I can recommend. It also has threading options, so if you have a Dual or Quad core, it's somewhat faster.