Best Settings for Apple TV?

I use DVDFab Platinum 3.1.2.6 for ripping DVD to MP4 for ipod/Apple TV. I am trying to achieve quality that is close to what I get if I buy a movie (m4v) from iTunes (DVD quality). What are the best settings in DVDFab to get this type of quality? I am not concerned with output size, I just want to get the very best quality I can. I have been ripping to MP4, should I consider ripping to m4v? If so, what are the specific settings I should adjust to?