Give more detail about your workflow, e.g.:
What did you use to extract the audio/video from the DVD in the first place?
Does Audacity read the AC3 file direct? What format does it output?
Does Windows Movie Maker read MPEG-2 video, or did you do any conversion first?
What format do you want your final AVI? (Xvid + MP3, or something else?)