Skip to content

This two Mac OS bash scripts are made for take timed screenshots and put them together in a video. It support customize resolution and quality.

License

Notifications You must be signed in to change notification settings

czyang/timelapse-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timelapse Bash Script

This two Mac OS bash scripts are made for take timed screenshots and put them together in a video.

USE AT YOUR OWN RISK. The License is WTFPL (see LICENSE.txt).

Features

  • Take screenshots by custom interval.
  • Custom screenshot's resolution and quality. (It's means support Retina screen.)
  • Gather screenshots to create a video.

Requirements

  • System: Mac OS X (10.8 or later)
  • screencapture (built in to Mac OS X)
  • ImageMagick
  • ffmpeg

Useage

./recorder to start recorder. 'Ctrl+C' to stop. ./create-video.sh to make the video.

For customize:

In file recorder.sh

  • Change screenshot's qulity by change "-quality 80%" in line 21.
  • Change screenshot's resolution by change "-resize 800x600" to what you want value like: "-resize 1024x768" or "-resize 100%"
  • Change screenshot capture interval by change "sleep 1;", default is take screenshot every 1 seconds.

In file make_video.sh

  • To keep the screenshots after created the video, comments the line: rm output/screen/*.jpg
  • Change the result vedio fps by change "ffmpeg -r 24" default is 24 fps.

Credits

This project crate by chengzhi yang.

Actually this project is modify from osx-timelapse(written by Patrick Ward) for support high resolution screen such as Retina screen.

About

This two Mac OS bash scripts are made for take timed screenshots and put them together in a video. It support customize resolution and quality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages