Used smartripper to rip a dvd.

Opened up dvdx and chose the output setting to have 16:9
I also specified divx 5.02 codec.

The "ratio" looks good, but the picture is not very clear. What codec gives the best results when encoding from ripped dvd, to avi?

Thanks