Home Forums Reviews Tutorials Articles Register Search Today's Posts Mark Forums Read User Name Remember Me? Password

Notices



By ptesone at 2005-08-30 14:58 here's 6 basic steps to convert a .AVI to DVD so you can watch your movies on your home player, not just your computer. . .But first we need to figure out if it's a fullscreen movie or letterbox movie. . .Movies normally come in two sizes: 4:3 (fullscreen) or 16:9 (letterbox) which they call aspect ratio. . .They also come in two formats PAL (Non-US) and NTSC (US). . .The following examples are for NTSC Only!



what you need first:

transcode

mplayer

Mjpegtools

ffmpeg

dvd+rw-tools

Dvdauthor

some hardrive space



in this example I will be using a 16:9 movie.avi for our conversion. . .



1.) Split the .avi file into 2 separate files, one for video and one for audio:



Code: 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

movie.m2v (video)

movie.ac3 (audio)



note: if you're doing a fullscreen (4:3) movie then simply change --export_asr 3 to --export_asr 2



2.) (optional) Extract 5.1 Audio:



Code: tcextract -d2 -i movie.avi -a0 -x ac3 | tcextract -d2 -x ac3 -t raw > movie.ac3

How can you tell? Do this first:



Code: mplayer -vo dummy -identify movie.avi 2> /dev/null | grep "5.1 ("



Code: AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s



3.) Put the video & audio file back together:



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



4.) open your favorite text editor and paste the following:



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

in the same directory as your movie files

(you can also change the chapters to fit the times of your movie)



5.) Create a DVD directory where your movie files are and do this:



Code: dvdauthor -x dvdauthor.xml



6.) Test it & Burn it:



to test it:

Code: xine dvd:/full/path/to/DVD/VIDEO_TS/

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

If all goes well, the above will produce movie with no menus, just the movie that should play when you put in your disc. . .and if there's more than one .avi then simply do this in your dvdauthor.xml file:



Code: <dvdauthor dest="DVD"> <vmgm /> <titleset> <titles> <pgc> <vob file="dvd_movie_part1.mpg" chapters="0,15:00,30:00,45:00,1:00:00"/> </pgc> <pgc> <vob file="dvd_movie_part2.mpg" chapters="0,15:00,30:00,45:00,1:00:00"/> </pgc> </titles> </titleset> </dvdauthor>

GOOD LUCK!











All times are GMT -5. The time now is 01:01 AM .

