Very Simple Example

From DVD-Slideshow

Jump to: navigation, search

Very Simple Example

This very simple example shows off the very basics of dvd-slideshow.

  • Displaying images
  • Slide duration
  • Subtitles
# 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:This is my title

# 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.

 picture 1.jpg:4:Picture 1

 pano.jpg:4:What a cool picture

 picture2.jpg:3

# 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

Be aware that if you run this script on a Linux box, the first space in the commands and filenames from the examples above is significant. So for example (taken from my directory), with files called j01.jpg j02.jpg j03.jpg ... the script must read:

title:5:This is my title
j01.jpg:2
j02.jpg:2
j03.jpg:2

and NOT

 title:5:This is my title
 j01.jpg:2
 j02.jpg:2
 j03.jpg:2

If you have spaces before the filenames, you'll get "file not found errors". if you leave a space before the word "title" you'll get an error saying Unrecognized or malformed line in your input file:

Personal tools