The simple way for recording Timelapse's of Screencast
Supported OS: MacOS
- Open
System Preferences
->Security
->Privacy
->Screen Recording
, and add your terminal or iTerm
-
Open
System Preferences
->Sound
, and turn offPlay user interface sound effects
-
Create folder
screen
on your Desktop (After this guide you will can rename this folder or move everywhere) -
Install
ffmpeg
, the simplest waybrew install ffmpeg
- 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--
- 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