Creating A Dvd

This is a shortcut of what I need to do in order to create my dvds. For a superb full explanation on creating dvd’s see this resource;

Note: FILENAME - is the name of the dvd you are creating

Step 1 - Transcode

Transocde AVI file into dvd friendly format. $ transcode -i FILENAME.avi -y ffmpeg –export_prof dvd-ntsc –export_asr 3 -o FILENAME -D0 -b224 -N 0x2000 -s2 -m FILENAME.ac3 -J modfps=clonetype=3 –export_fps 29.97

The above script is for a 16:9 aspect ratio, if you need that to be 4:3 aspect ratio then change the following –export_asr 3 => –export_asr 2

This results in 2 files, once for the video and the other for the sound

Step 2 - Combine

Need to combine the video and sound file together $ mplex -f 8 -o FILENAME_dvd.mpg FILENAME.m2v FILENAME.ac3

Step 3 - Menu

Create an xml file (this is one without a menu) <dvdauthor dest=‘DVD’>     <vmgm />     <titleset>        <titles>           <video widescreen=‘nopanscan’ />           <pgc>              <vob file=‘FILENAME_dvd.mpg’ chapters=‘0,0:30,1:00,1:30,2:30,3:00,3:30,4:00’/>           </pgc>        </titles>     </titleset> </dvdauthor>

Step 4 - Author

This run the xml file through dvdauthor $ dvdauthor -x dvdauthor.xml

Step 5 - Burn

Create DVD image that will be used to burn DVD $ growisofs -Z /dev/dvd -dvd-video DVD/

That is is. Except that I should create some scripts for all this and maybe package it into a simple program


general

224 Words

2006-06-16 20:00 -0400