def images
video.fade.in(duration=1.,video.fade.out(duration=1.,
video.add_text(metadata="filename","",
size=12,
playlist(prefix="annotate:duration=3:",argv(1)))))
end
def sound
playlist(argv(2))
end
output.ao(fallible=true,sound)
clock(id="video", output.sdl(fallible=true,images))
# You can also combine the two in a Theora file.
# Play the result in VLC rather than mplayer (or even liquidsoap)
# as it is a sequentialized ogg stream.
# output.file(%ogg(%vorbis,%theora),"slideshow.ogg",
# mksafe(mux_video(video=images,sound)))