Tuesday, September 27, 2011

uDig Source Code Visualisation

Continuing on to uDig for a great gource visualisation showing the impact of a couple of code sprints in 2010; and a new development team starting up in 2011.

Here is the link: http://www.youtube.com/watch?v=cqxXJ7bOBTg and the video itself is shown below.

Aside: This is a much better visualisation as I have been learning to gource control options (so the video tracks activity for a better view of what is going on).

By popular request (on IRC) here are the command line options used for code.google.com/p/gource project.

I started by using "camera-mode" track to make the action focused; I also really lowered the number of seconds used to represent each day so that we could quickly cover two years of development.

gource -title uDig -1280x720 --camera-mode track --auto-skip-seconds 1 --seconds-per-day 0.05 -o udig.ppm 

And then I stitched the result into a movie using ffmpeg:

 ffmpeg -y -b 10000K -r 60 -f image2pipe -vcodec ppm -i udig.ppm -vcodec libx264 -vpre slow -threads 0 -bf 0 udig.x264.mp4
Post a Comment