Inizio  >  Docs  >  Linux  >  How to  >  Dvd-slideshow on ubuntu  
Dvd-slideshow on ubuntuDvd-slideshow on ubuntu

Index

setup

Install dependencies:

sudo apt-get install dvdauthor mjpegtools imagemagick ffmpeg mkisofs  dvdrtools lame oggz-tools toolame sox libsox-fmt-all vorbis-tools

get the svn code:

with subversion client (svn):

<tt>svn co https://dvd-slideshow.svn.sourceforge.net/svnroot/dvd-slideshow dvd-slideshow </tt>

or download latest tarball from:

http://dvd-slideshow.svn.sourceforge.net/viewvc/dvd-slideshow.tar.gz?view=tar

and untar the archive:

tar xfvz dvd-slideshow.tar.gz
cd dvd-slideshow/

before install modify install.sh

#!/bin/bash

## install some files and such:

# copy documentation:
cp -v man/dvd-slideshow.1 /usr/share/man/man1/.
cp -v man/dvd-menu.1 /usr/share/man/man1/.
cp -v man/dir2slideshow.1 /usr/share/man/man1/.
cp -v man/gallery1-to-slideshow.1 /usr/share/man/man1/.
cp -v man/jigl2slideshow.1 /usr/share/man/man1/.


# copy executables:
cp -v dvd-slideshow /usr/bin/
cp -v dvd-menu /usr/bin/
cp -v gallery1-to-slideshow /usr/bin/
cp -v jigl2slideshow /usr/bin/
cp -v dir2slideshow /usr/bin/

chmod +x /usr/bin/dvd-slideshow
chmod +x /usr/bin/dvd-menu
chmod +x /usr/bin/gallery1-to-slideshow
chmod +x /usr/bin/jigl2slideshow
chmod +x /usr/bin/dir2slideshow

# remove old versions:
if [ -r '/usr/bin/gallery2slideshow' ] ; then
    echo 'Removing old gallery2slideshow and installing gallery1-to-slideshow instead'
    echo 'See changelog for details.'
    rm -v "/usr/bin/gallery2slideshow"
    rm -v "/usr/share/man/man1/gallery2slideshow.1"
fi

###########################################################

then install:

chmod +x install.sh
sudo ./install.sh

let's try:

/usr/bin/dvd-slideshow -f verysimple.txt -L -p -o test -mp2 -a amy.mp3

where verysimple.txt is:

# very simple example with no special effects
# blank lines and lines starting with '#' are ignored
# use "title" in the image field to create a title slide.
# title:duration:description
# The "description" string gets put on the title slide.
title:5:Very Simple Example
# each picture gets put on a separate line.  The format is:
# full_path_to_file.jpg:Duration:Subtitle
# duration is how long the picture will be visible in seconds.
# The Subtitle field is optional and can be left blank.
../images/picture 1.jpg:5:Picture 1
../images/pano.jpg:5:What a cool picture
../images/picture2.jpg:5:
# At any time in the slideshow, you can use special keywords:
# "background:2:subtitle:black" will insert a black background frame
# for 2 seconds
background:2:This is a black frame:black
# so this would work fine as well:
#background:2:This is a background image:background.jpg
# You can also use the "background" keyword to display the current
# background image (black or some passed image) for a given time:
background:2:This is the background

To top