Video Creation HowtoFrom Globulation2It is rather straightforward to create videos from globulation 2 games, thanks to the videoshot feature. 1. Export videoshot from glob2You first need to export the videoshot from glob2. To do this, run glob2 with the following flag: glob2 -G -vs VIDEOSHOT_NAME -s640x480
2. Add website bannerA video showing glob2 without mentioning its web site is not very usefull. The trick here is to use imagemagick's tool mogrify to convert the raw bmp to png images with a text banner. To that end, you can use a simple perl script such as this one: #!/usr/bin/perl my @files = glob("*.bmp"); foreach $file (@files) { print "Processing $file\n"; system("mogrify -format png -pointsize 35 -fill white -draw 'text 40,450 \"http://www.globulation2.org\"' $file"); } The script above works fine for 640x480 images and will convert every bmp in the current directory to png with the banner. Do not forget that the new pngs will use additional disk space that might be as high as half the size of the original bmp, so do not forget to get enough free space. 3. Encode the videoNow that you have a serie of png, named ffmpeg2theora VIDEOSHOT_NAME.%10d.png -o VIDEOSHOT_NAME.ogg or an mpeg/avi movie, suitable for youtube/your parent's DVD player: ffmpeg VIDEOSHOT_NAME.%10d.png -o VIDEOSHOT_NAME.mpeg ffmpeg VIDEOSHOT_NAME.%10d.png -o VIDEOSHOT_NAME.avi | ||