I recently was asked to create a DVD from a .mov video file. I had already made a post about how to do this under windows using windows ports of various linux based applications. Coming back to it and this time running completely on linux, I have realised that it can be done much more simply.
The required software can be installed using
sudo apt-get install ffmpeg dvdauthor growisofs
First off the video file has to be transcoded into an dvd compatible mpeg2 file.
ffmpeg -i <video.mkv> -aspect 16:9 -target pal-dvd output.mpg
Then the file has to be authored into the correct VOB files using dvdauthor. To make sure that there are no errors in the process the following environment variable must be set.
export VIDEO_FORMAT=PAL
Rather than using an xml control file for simple DVD’s the following two dvdauthor commands will suffice.
dvdauthor -o DVD/ -t output.mpg && dvdauthor -o DVD/ -T
Finally the files are burned to DVD media using growisofs
growisofs -dvd-compat -Z /dev/dvd -dvd-video -V "<name>" ./DVD