Audio/video out of sync in all xvid movies

i have recently started to back up my movies to xvid by using a program called dvdx - all of audio in the movies i have converted is out of sync with the video, does anyone know of a program that would be good to convert a ripped dvd to xvid.

thanks for any help in advance!