Tuesday 10 February 2009

DVD authoring with one click

I have this set up with nautilus-actions so i can select 1, 2 or 3 video files and it will automatically make a dvd.iso for me. You select:

1 video file : A dvd is created with no menu.

2 video files (containing cd1 & cd1 in their filename) : Both files are joined and dvd is created with no menu.

2 video files (not containing cd1 & cd2) : The script assumes they are episodes or individual films and creates a dvd with a menu.

3 video files : The script creates a dvd with a menu for all 3 files.

Requirements:
ffmpeg, dvdauthor, tovid scripts, mkisofs

I've got my dvd3 script in my path so the target I use for nautilus-actions is: gnome-terminal -x dvd3

Here's the script, and here's the dvd menu background image I use. Be sure to specify it's path near the top of the script. You'll also want to change the ffmpeg option -target pal-dvd on line 82 to -target ntsc-dvd if you live in that part of the world.