For best quality you should be using Nero's Recode 2! That way you can keep full DVD rez, use High Efficiency Audio (5.1), multiple audio streams ie include directors commentary, subs ..etc
Nero's Mp4's are far more modern and advanced than Xvid or DivX which have serious limitations..