Skip to content

Shell scripts for capturing and compiling timelapse photography

Notifications You must be signed in to change notification settings

rocktronica/timelapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell scripts for capturing and compiling timelapse photography, like this:

Example timelapse output

Requirements

Software

Hardware

  • An iPhone or webcam with a live JPG photo URL

Because my phone is the best camera I own, I use it plus the ipCamera app; its undocumented photo URL path is /photo. To get it in the right physical position, I have a cheap gooseneck phone holder. Scrappy!

Installation

For Mac with Homebrew:

brew install ffmpeg
brew install gifsicle
brew install imagemagick

Usage

First run capture.sh by passing it the URL:

./capture.sh -u http://127.0.0.1:8080/capture

This script will run forever, so press ctrl+c when want to quit.

Next, run compile.sh:

./compile.sh

That will put an MP4 video and myriad smaller GIFs in the output folder.

When it's done, it will ask if you want to delete the captured photos. Maybe verify the output is acceptable before letting it do that!

Options and help

For a full list of the optional arguments, pass -h to either script:

./capture.sh -h
./compile.sh -h

License

MIT license or as components allow

About

Shell scripts for capturing and compiling timelapse photography

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages