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:
# Get YouTube ID from various YouTube URL | |
# Ruby port from JavaScript version: https://gist.github.com/takien/4077195/ | |
def get_youtube_id(url) | |
id = '' | |
url = url.gsub(/(>|<)/i,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/) | |
if url[2] != nil | |
id = url[2].split(/[^0-9a-z_\-]/i) | |
id = id[0]; | |
else |