Linux HOWTOs

About | Home | Search

HOWTO: dvd-slideshow
Description: Scripts that turn images into a DVD with menus
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything

# dvd-slideshow 0.7.5
# ===================
# Prerequisites:
# imagemagick > 5.5.4
# sox (Slackware includes sox packages)
# dvdauthor > 0.6.10
# lame (optional)
# vorbis-tools' oggdec (optional)
# cdrtools' mkisofs
# dvdrtools
# ffmpeg > 0.4.8 (optional; without it you can't do AC3, it'll fall back to mp2)

# If you have trouble downloading it with the URL below, get it here

test -f installed/dvd-slideshow-0.7.5.tar.gz &&
 mv installed/dvd-slideshow-0.7.5.tar.gz .
test ! -f dvd-slideshow-0.7.5.tar.gz &&
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "dvd-slideshow_*" -exec rm -r {} \;
find -maxdepth 1 -type d -name "dvd-slideshow-*" -exec rm -r {} \;
tar xzvf ~/dvd-slideshow-0.7.5.tar.gz
cd dvd-slideshow-0.7.5
test $UID = 0 && chown -R root:root .

# Become root to install it

# No longer exists: gallery2slideshow -> gallery1-to-slideshow
rm -f /usr/local/bin/gallery2slideshow

install dir2slideshow dvd-menu dvd-slideshow gallery1-to-slideshow \
 jigl2slideshow /usr/local/bin/
install -m 644 man/dir2slideshow.1 man/dvd-menu.1 man/dvd-slideshow.1 \
 man/gallery1-to-slideshow.1 man/jigl2slideshow.1 /usr/local/man/man1/

# Become yourself again

mkdir -p -m 0700 installed
rm -f installed/dvd-slideshow_*.tar.* installed/dvd-slideshow-*.tar.*
mv dvd-slideshow-0.7.5.tar.gz installed/

# There are a few other scripts in ~/src/dvd-slideshow-0.7.5 that
# you may want to check out.  dvd-burn (which uses cdrecord), dvd-encode
# (which uses transcode), and dvd-iso.

# If you ever want to uninstall dvd-slideshow, this should do it:
( cd /usr/local/bin ; rm -f dir2slideshow dvd-menu dvd-slideshow \
 gallery1-to-slideshow jigl2slideshow ) 
( cd /usr/local/man/man1 ; rm -f dir2slideshow.1 dvd-menu.1 \
 dvd-slideshow.1 gallery1-to-slideshow.1 jigl2slideshow.1 )
find ~/src -maxdepth 1 -type d -name "dvd-slideshow_*" -exec rm -r {} \;
find ~/src -maxdepth 1 -type d -name "dvd-slideshow-*" -exec rm -r {} \;
rm -f ~/installed/dvd-slideshow_*.tar.* ~/installed/dvd-slideshow-*.tar.*

Back to the list

Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>