Skip to content

rocktronica/timelapse

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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