How to make a DVD from AVIs on Linux:
cat 1.avi 2.avi | mencoder -noidx -ovc copy -oac copy -o finalmovie.avi -
ffmpeg -i finalmovie.avi -y -target ntsc-dvd -sameq -aspect 16:9 finalmovie.mpg
dvdauthor --title -o dvd -f finalmovie.mpg
dvdauthor -o dvd -T
growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd ./dvd/*
Also,another article, about writing DVDs, using mplayer instead of ffmpeg.