notes/BASH Create a DVD with Chapters-xsvKfgv0.sh
#!/bin/bash
cd /tmp
of=`date +%s`
szSavePath=$(zenity --file-selection)
ffmpeg -i "$szSavePath" -target dvd -aspect 16:9 -sameq /tmp/$of.mpg
mkdir $of
dvdauthor --title -c 0,05:00,10:00,15:00,20:00,25:00,30:00,35:00,40:00,45:00,50:00,55:00,01:00:00,01:05:00,01:10:00,01:15:00,01:20:00,01:25:00,01:30:00 -f $of.mpg -o $of
dvdauthor -T -o $of
zenity --info --text "Please Make Sure you have a Blank DVD in your Drive."
growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd /tmp/$of/
syntax highlighted by Code2HTML, v. 0.9.1