Convert Then Burn AVI to DVD in Linux



An AVI file converted to MPEG can be burned to DVD using the command line. The information below contains excerpts from an article written by forum user, ptesone. The process has been streamlined for widescreen formats with stereo sound.

System Requirements:

  • transcode
  • mplayer
  • mjpegtools
  • ffmpeg
  • dvd+rw-tools
  • dvdauthor
  • sufficient disk space

I had most of these components installed already. I was able to obtain the missing packages via the Synaptic Package Manager.

Step 1:

Split the .avi file into 2 separate files, one for video and one for audio … this will make: movie.m2v (video) movie.ac3 (audio)

transcode -i movie.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o movie -D0 -s2 -m movie.ac3 -J modfps=clonetype=3 --export_fps 29.97

Step 2:

Put the video & audio file back together … this will make dvd_movie.mpg ready for DVD authoring.

mplex -f 8 -o dvd_movie.mpg movie.m2v movie.ac3

Step 3:

Open your favorite text editor and paste the following … save the file as dvdauthor.xml in the same directory as your movie files.

<dvdauthor dest="DVD">
  <vmgm />
         <vob file="dvd_movie.mpg" chapters="0,15:00,30:00,45:00,1:00:00"/>

Step 4:

Apply dvdauthor to the resulting file.

dvdauthor -x dvdauthor.xml

Step 5:

Burn it.

growisofs -Z /dev/dvd -dvd-video DVD/

The process takes some time. However, the resulting DVD can be played on a standard DVD player.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: