I have done it several times but now audio dont sync with video.
So is there a guide...

Input : movie.avi ac3 5ch
Output : movie.m2v(mpeg2) join the ac3 and author and burn to play on a standalone dvdplayer with 5.1 decoder....