#!/bin/bash

# apt-get install gource

cd l10n-kde4/sq/
gource --output-custom-log kde_sq.log
sed -e '/scripty/d' -i kde_sq.log

gource kde_sq.log -s 0.1 -i 0 --max-files 0 --date-format "%B %Y" --hide dirnames,filenames -640x360 -o - | ffmpeg -y -r 25 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K kde_sq.webm

