I recently decided to try to transcode an .mp4 (quicktime) movie to burn on to a dvd. Using a windows version of MPlayer and following these instructions I started the transcoding process.
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:432,expand=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835: vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:acodec=ac3: abitrate=192:aspect=16/9 -ofps 25 -o movie.mpg movie.mp4
This was not the end of the story however. The next step was to convert the output MPG file info a DVD filesystem. This was done using DVDAuthour fortunately version 0.6.9 comes in precompiled windows binaries. The documentation for DVDAuthour was a little flakey however the easiest way was to create the XML file
<dvdauthor> <vmgm /> <titleset> <titles> <video format="pal" aspect="16:9" resolution="720x576"/> <pgc> <vob file="movie.mpg" /> </pgc> </titles> </titleset> </dvdauthor>
And then build the dvd filesystem using
dvdauthor -o ./dvd -x dvdauthour.xml
Finally I have to burn the files to disk using the windows version of growisofs (which requires mkisofs) Using the command
growisofs -dvd-compat -Z e: -dvd-video -V "VIDEO_DVD" ./dvd