This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#!/usr/bin/ruby | |
# USAGE: my_bucket_put FILE_1 [FILE_N...] | |
# Uploads $local_path_for_bucket/FILE_1 to my_bucket/FILE_1 | |
# This script has very little configuration to keep it simple (and serve my limited needs). | |
# Create a pre-configured copy of this for all your buckets. Or add command line flags. | |
# | |
# Change this to your bucket name | |
bucketname = "my_bucket" |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . index.php [L] |
#Rewerite canonical URL | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^snippetdb.com$ | |
RewriteRule (.*) http://www.snippetdb.com$1 [R=301] | |
#.htaccess rewrite examples should begin with: ^ | |
Options +FollowSymLinks | |
RewriteEngine On |
I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!
Install FFmpeg
Install ImageMagick
Based on https://techwombat.com/enable-http2-apache-ubuntu-16-04/
This totorial is for an older Ubuntu 16.04, for a Ubuntu 18.04 please read here --> https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831 and for a Ubuntu 20.04 please read here* --> https://gist.github.com/GAS85/38eb5954a27d64ae9ac17d01bfe9898c