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:
const http = require('http'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const fileLocation = path.join(__dirname, 'video.mp4'); | |
fs.writeFileSync(fileLocation, ''); | |
const file = fs.createWriteStream(fileLocation); | |
function printSize(bytes) { |