Skip to content

A small script to capture screenshots and isight camera images at an interval

Notifications You must be signed in to change notification settings

Barryrowe/macosx-timelapse-capturer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac OSX Timelapse Script

This script will generate screenshots and webcam images on a 1 minute interval. These could then be processed with a toole to generate a timelapse video.

Dependencies

NOTE: if you do not have homebrew I recommend it for installing these dependencies

  1. imagesnap

    brew install imagesnap
    

    Or Install manually as described in documentation for imagesnap

  2. ffmpeg

    brew install ffmpeg
    

Usage

  1. Change into the directory containing the repo

    cd macosx-timelapse-capture
    
  2. Run timelapse.sh

    ./timelapse.sh
    

    or

    ./timelapse.sh /path/to/root/output/directory
    

Output

The output files will be under ./capture/screen and ./capture/webcam. They will be named with date stamps like screenshot-ymdHMS.png and webcam-ymdHMS.jpg

Creating Timelapse Videos

  1. Run the create-movies.sh script. It defaults to 16 fps, and will output two files: screen-timelapse.mp4 and webcamp-timelapse.mp4

    ./create-movies.sh
    
  2. Once you've created the source movie files, you can combine them into a Picture-in-Picture movie with the combine.sh script. It is setup to put the webcam overlaid in the bottom-right corner with a resolution of 960x540, and leave the main video the original resolution. You can optionally provide an mp3 for audio.

    ./combine.sh /path/to/your/audio.mp3
    

    Or no audio

    ./combine.sh
    

About

A small script to capture screenshots and isight camera images at an interval

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages