Skip to content

Instantly share code, notes, and snippets.

@maddo
Created June 13, 2013 17:43
Show Gist options
  • Select an option

  • Save maddo/5775734 to your computer and use it in GitHub Desktop.

Select an option

Save maddo/5775734 to your computer and use it in GitHub Desktop.
i=1;while [ 1 ];do screencapture -t jpg -x ~/screens/$i.jpg; let i++;sleep 1; done
#later
cd ~/screens
ffmpeg -y -i "%d.jpg" output.m4v
rm *.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment