You can use any good dvd burning software like Nero etc. to put your mp4 movies on a dvd. The software will encode the mp4 movies to burn on a dvd. You don't need xvid for this purpose.
The Xvid Codec is a video encoding and decoding (playback) codec.