User:Revansx/Gource/How to make a wiki evolution video using Gource

Upload a mini text file to your wiki

 * 1) create a text file named "GourceDataFromWiki.csv.txt" with content "123"
 * 2) * the contents don't matter. It will be over-written later with the gource log file
 * 3) Upload "GourceDataFromWiki.csv.txt" to your wiki

Make a shell script to automate the query of the edit history to file and other post-sql editing steps
1. Create a shell script called "GetGourceDataFromWiki.sh" on your server

2. Copy the shell script below into

Download the gource custom log file to windows
https:///FOO/img_auth.php/7/7d/GourceDataFromWiki.csv.txt

Download and install gource
https://gource.io/

Run gource on the log file
Open a cmd and run: "c:\Program Files\Gource\gource.exe" "c:\Users\user1\Desktop\stuff\gource\ptc\GourceDataFromWiki.csv.txt" --file-idle-time 0 --bloom-intensity 0.4 --max-file-lag 0.1 --seconds-per-day 0.5 --auto-skip-seconds 2 --date-format "%Y/%m/%d" --hide dirnames,filenames --font-size 36 --logo "c:\Users\user1\Desktop\stuff\gource\nasa-200x167.png" --title "Some Title" Ref: https://github.com/acaudwell/Gource/wiki/Controls

Pipe gource into ffmpeg specifying bitrate to get smaller file
Open a cmd and run: "c:\Program Files\Gource\gource.exe" "c:\Users\user1\Desktop\stuff\gource\ptc\GourceDataFromWiki.csv.txt" --file-idle-time 0 --bloom-intensity 0.4 --max-file-lag 0.1 --seconds-per-day 0.5 --auto-skip-seconds 2 --date-format "%Y/%m/%d" --hide dirnames,filenames --font-size 36 -2560x1440 --logo "c:\Users\user1\Desktop\stuff\gource\logo.png" --title "Title" -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -b:v 5M -bufsize 2M "c:\Users\user1\Desktop\GourceWikiEvolution.mp4"

Upload to YouTube
In the usual way