Over the last few days I hacked together a little slide show generator that was inspired by still2dv, but as still2dv was a little to slow to be usable for me, I hacked together my own that can render in realtime using OpenGL. It also supports offline rendering to JPEG files which can then be further processed with mencoder/ffmpeg.
The slideshow generator works by supplying a bunch of JPEG files and a control file, the control file defines what path the camera shall take, how long fadeovers should last and things like that. The control file looks like this:
set fade 2.0
set dt 10.0
fade $fade
image test/screenshot5.jpg
pos center center
zoom fill
duration $dt
pos 60% center
zoom 1.5
end
fade $fade
image test/screenshot6.jpg
pos 60% center
zoom 1.5
duration $dt
zoom fill
end
fade $fade
image test/screenshot7.jpg
zoom fill
duration $dt
pos 40% center
zoom 1.5
end
[...]
An example video produced with the slideshow generator would look like this:
The code for the thing is floating around in the Windstille SVN repository in the directory extra/slideshow/. It is not separated from the whole thing, so you have to grab everything to build it:
svn co svn://svn.berlios.de/windstille/trunk/windstille
Monday, September 20, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment