Hey all.
Now that hugin recently switched to Mercurial for Code revision, I thought I 
could try something fun with it:
Recently I stumblede over gource [1] a nice tool for the visualization of 
sourcecode. I've used gource to visualize the progress of my PhD-Thesis ([2], 
which was handed in a week ago btw) and thought I'd do this for hugin.
It turned out to be a little bit of a challenge, but let me walk through to the 
end-result:

On OS X it's pretty easy to install all the necessary things to make the 
resulting movie, just make sure you've installed MacPorts [3] and issue
  $ sudo port install mercurial ffmpeg gource
in Terminal.app to install the necessary stuff. Then drink a coffee, because 
this takes a long time :)

Using a simple
  $ hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin hugin
in a directory of choice downloads hugin's source code. Again, do this in the 
Terminal.app.

"Cd" into hugins directory and enter the following command:
  gource -800x600 --disable-progress --stop-at-end --bloom-multiplier 1.25 -a 
0.05 --output-ppm-stream - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm 
-i - -vcodec libx264 -vpre default hugin.mp4
This command instructs gource to make a 800x600 pixel movie with some tweaks, 
outputs this to a ppm-stream and converts this stream with ffmpeg to a 
resulting movie, hugin.mp4. Go and have another coffee, since this can take 
even longer than the command above... After you've marveled at the nearly 3 GB, 
two-hour (!) long movie (or maybe not :) you wonder how to present this movie.

Fiddling around with iMovie [4] in the end you get this: 
http://vimeo.com/12442226

It's beautiful! My way of saying "Thank you" to all the developers and coders 
of hugin. You've done a great job, I love to use hugin. Keep it up!

Greetings from Switzerland
Habi


[1]: http://code.google.com/p/gource/
[2]: 
http://habi.gna.ch/2010/05/14/codevisualisierung-mit-gource-so-arbeitete-ich-an-meiner-diss/
[3]: http://www.macports.org/
[4]: http://www.apple.com/ilife/imovie/. The fiddling with iMovie involved 
conversion of the movie to alter its speed, since iMovie can only speed up to 
2000%, which was not enough to go from +2 hours to 4 minutes in one step. Since 
I've had a nice song as a background, I had to to multiple exports and imports 
to speed the movie up to the necessary 4.5 minutes,


-- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to