Convert AVI to VCD/DVD

$ ffmpeg -i input.avi -target ntsc-vcd output.mpg
$ ffmpeg -i input.avi -target ntsc-svcd output.mpg
$ ffmpeg -i input.avi -target ntsc-dvd output.mpg

Note: Replace ntsc with pal where appropriate.

Try using ffmpeg. Ffmpeg will use preset values for video encoding based on keywords from the command line. From above, the first will create a ntsc vcd compatible file, the second, a ntsc svcd file and lastly, a ntsc dvd compatible file.

For this example lets make a dvd compatible file and disc.
$ ffmpeg -i input.avi -target ntsc-dvd output.mpg

Next, we do dvd authoring, we use a directory called tempdir for this example.
$ dvdauthor -o tempdir -t output.mpg

Next, type
$ dvdauthor -o tempdir -T

Next, open k3b and choose “New Video DVD project” from the further actions button. On the left panel, double click on VIDEO_TS. On the top window, change to the directory where you did the dvd authoring and open the VIDEO_TS folder. Select all files and drag to the bottom window. Next, click on burn.

That’s it. These steps will create a dvd that will play automatically when played on a dvd player.

If you wish to create a dvd with menus and such, just do the ffmpeg part and use a program called dvdstyler. Once you added the menus, titles, images etc, dvdstyler will use a xml file to create an iso image. To burn the iso image go to Tools -> Burn DVD iso image.