Log in

HCMC Journal

Generating a video from an svn log

: Martin Holmes
Minutes: 20

This is a repost from our old blog of something fun and useful, which I’m about to use again. You can make a neat video of activity in an svn repo. To create a visualization with gource (on Linux), first install gource (it’s in the Ubuntu repo), then:

        cd [the SVN directory you want to work on]
        
        svn log -r 11019:11452 --xml --verbose --quiet > svnlog.xml
        [Choose the revision numbers or dates you want.]
        
        gource --title "DVPP Work October 2024" --start-date 2024-10-01 00:00:01 +8 -1280x720 -o - svnlog.xml | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K gource.webm -crf 1 -threads 0 -bf 0 video.mp4