#!/bin/bash TMP=.dvd [ -z "$2" ] && echo "usage: $0 [ ...]" && exit 1 [ -e $TMP ] && echo "$TMP already exists!" && exit 1 ISO=$1 shift # ugly hack mkdir -p ~/.config echo "NTSC" > ~/.config/video_format [ -e $ISO ] && echo "$ISO already exists!" && exit 1 mkdir $TMP dvdauthor -o $TMP -t "$@" dvdauthor -o $TMP -T mkisofs -dvd-video -udf -o $ISO $TMP rm -rf $TMP # http://groups.google.com/group/tovid-users/browse_thread/thread/39559510aa824b32 # dvdauthor version 0.7.0. # Changes: no longer defaults to NTSC