ACPI administration advocacy advocacy advocacy opinion alsa amarok apache apple apt aptitude audio audo authentication automount avi awk bash BIOS boot business cache calendar calibre censorship commandline computerscience console cron cut database date debian degree design desktop development disk dpkg dvd economics education emacs email europe exim faad ffmpeg files firefox firewall flash foss freedom ftp fun fuse git gnumeric grep growisofs grub gtkpod hardware hardware html idiocy images installation ip iphone ipod iptables iso itunes ivman kde kernel keyboard knoppix lame laptop latex linux locale lockin longlines m4a microsoft mimetypes minitab mount mp3 mp4 mplayer multimedia music mysql network nfs nfs4 nmap openbox openoffice opinion opinion partition pdf perl php politics postgresql printing privacy programming rant remote rhythmbox rss rsync rxvt scp script scripting scsi security sed server shell siteadmin sitenews sitesoftware skype skype slackware sound sox spam spreadsheet ssh statistics subversion sudo svk swap t23 t43 terminal text thinkpad thunderbird time timezone ubuntu udev upgrade usb usbmount users uuid versioncontrol vfat video vnc windows wine wordpress wordprocessing X40 xwindows xwindows youtube
Once you start playing around with video, you come to realise how flexible video on a computer is, and how hobbled some other formats are, such as video DVDs.
To burn a video with a 2.35 aspect ratio to DVD requires some conversion of the video. This means either the video needs to be cropped - the sides need to be sliced off - or you need to squash it by placing two black bars at the top and the bottom, causing a more severe letter box effect than you might otherwise have.
This script, using mplayer, converts the video to mpeg 2 and creates the letterboxing:
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \ -srate 48000 -af lavcresample=48000 \ -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=4900:keyint=15:aspect=16/9:\ acodec=ac3:abitrate=192 -ofps 25 \ -vf scale=720:432,expand=720:576,harddup \ -o your_video.mpg "$1"
Note that 'your_video.mpg' is the output file and $1 is the first argument you pass to the script. The magic is in the "scale" and "expand" attributes. More info on this can be found here. A smarter script would automatically create a better name for the output file.
Now create an xml file with the video data in it.
Run the dvdauthor command:
dvdauthor -o dvd/ -x dvd.xml
And burn the dvd:
growisofs -dvd-compat -Z /dev/dvd -dvd-video ./dvd/.
Thanks to linux.com and Gentoo Wiki for helping me to sort this out.