bazuka5801 / ScreencastTimelapse

The simple way for recording Timelapse's of Screencast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScreencastTimelapse

The simple way for recording Timelapse's of Screencast

Supported OS: MacOS

Mac OS (guide)

Preparation:

  1. Open System Preferences -> Security -> Privacy -> Screen Recording, and add your terminal or iTerm

  1. Open System Preferences -> Sound, and turn off Play user interface sound effects

  2. Create folder screen on your Desktop (After this guide you will can rename this folder or move everywhere)

  3. Install ffmpeg, the simplest way brew install ffmpeg

Guide:

  1. Capture screenshots every N seconds
while :;do screencapture ~/Desktop/screen/CG--$(date "+%y-%m-%d--%H-%M-%S").png;sleep 10;done

P.s. press Ctrl+C to stop recording P.s. In previous command, you can change CG-- to your short video title or project name ex: MyTitle--

  1. Convert all screenshots to 60fps video
cd ~/Desktop/screen
ffmpeg -framerate 60 -pattern_type glob -i '*.png' \
  -c:v libx264 -pix_fmt yuv420p ../out.mp4

About

The simple way for recording Timelapse's of Screencast

License:GNU General Public License v3.0