Converting AVI files to DVD in Linux

   Here is a script to convert video avi files to dvd. I wrote this script to convert some videos that I downloaded from the internet into dvd format. As with other scripts I have written, I only write the video to an iso file so that I can test the final product before burning and somtimes wasting a dvd. If you disect this script you will find that it is very simillar to my other scripts.

 

   First the script makes temperary working directories for the video conversion to an mpeg2 format. Then it will split the audio and video into seperate files. I am still not sure why this is done but it is the procedure I found on a few different websites and it seems to do the job quite nicely.

 

   Next the script will merge the audio and video files together into an mpeg2 format for creating chapers (optional) and creating the actual dvd structure. Once this is done it will create an iso file and erase all of the temperary files it used to create the final image file. This will not erase the original avi file you are converting. Once you have ran the script and have your new iso file, just open it in vlc and make sure everything went well. if all is good then use your favorite dvd burning application to burn it to a disk.

 

   Go ahead and give it a shot. The video conversion is quite demanding on a system but this script gets the job done quite well. I have tried other programs like 'tovid' and 'avidemux' which are great programs, but I like to be a little bit geekier than that. I hope you will find this script usefull. Feel free to disect it and see how I made it work. You may find yourself converting your videos on the command line from now on.

 


Filename/TitleSize
avi2dvd (avi2dvd.)2.34 KB