Last active
December 21, 2015 17:25
-
-
Save macbre/8a398a1acebc3a1a2228 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
resolution=1360x720 | |
seconds_per_day=0.01 | |
auto_skip_seconds=0.1 | |
elasticity=0.05 | |
fps=25 | |
bitrate=4000K | |
extension=webm | |
input=8bit.gource | |
output=8bit.$extension | |
xvfb-run -a -s '-screen 0 1360x720x16' gource \ | |
--log-format custom \ | |
--stop-at-end \ | |
--seconds-per-day $seconds_per_day \ | |
--auto-skip-seconds $auto_skip_seconds \ | |
--elasticity $elasticity \ | |
-b 000000 --hide filenames,dirnames,progress,mouse --user-friction .2 \ | |
--background-image Wiki-background.png --logo Wiki-wordmark.png \ | |
-$resolution \ | |
--output-ppm-stream - \ | |
--output-framerate $fps \ | |
$input | avconv -y -r $fps -f image2pipe -vcodec ppm -i - -b $bitrate $output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment