How to Show Code History As a Video

by lzu in Workshop > Tools

926 Views, 7 Favorites, 0 Comments

How to Show Code History As a Video

ArdulinkHistory.gif

I'm the creator of Ardulink an open source java library to control and coordinate Arduino boards (www.ardulink.org). I like to show in a video how much work was needed for the current version of the project. So I've produced the video you can see in the next step.

Video History From Ardulink Project

Ardulink SVN Activity Log
NewLogo.png

This is video I've produced from the Ardulink repository (http://code.google.com/p/ardulink/).

What You Need

gource-logo.png
ffmpeg.jpg

I've done this video from a Windows PC but you can do it from a Linux or MAC system. I use SVN but GOURCE supports many repositories.


  1. Download Gource Software (http://code.google.com/p/gource/)
  2. Download FFmpeg Software (http://www.ffmpeg.org/)
  3. Check out your SVN repository in a local folder
  4. Run gource with SVN local folder parameter
  5. Run ffmepg to convert PPM file into AVI file
  6. Upload in Youtube or use the video as you want

Run gource... you can do it with this command:

gource -1280x720 -o gource.ppm C:\\path\\to\\code\\repository

Run ffmpeg... you can do it with this command:

ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i gource.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.x264.avi

For more detailed info see http://code.google.com/p/gource/wiki/Videos

Please take a look to my Arduino related project here: http://www.ardulink.org/