Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
calendar
video
.gitignore
.rvmrc
README.md
blank_dark.jpg
blank_white.jpg
calendar.rb
color.jpg
com.alexgirard.lifestream.plist
day_to_day.rb
lifestream.rb
lifestream.sh

README.md

LifeStream - Webcam Lifelapse

Requirements

Installation

git clone http://github.com/alx/lifestream
cd lifestream
brew install imagesnap
cp lifestream.sh /usr/local/bin/
cp com.alexgirard.lifestream.plist ~/Library/LaunchAgents/
launchctl load com.alexgirard.lifestream.plist
mkdir -p ~/lifestream/archives/

Calendar

Run:

ruby calendar.rb
open calendar/index.html

Day to Day

Configure the script:

# Size of the mosaic to be generated in montage
tile_size = 20

# Source of webcam images
lifestream_archive = "/Users/alx/lifestream/archives/"

# Geometry of resized webcam images
geometry = "64x48"

Run to create montage files:

ruby day_to_day.rb

Create a movie from montage files with ffmpeg:

ffmpeg -r 10 -b 1800 -i day_to_day/montage_%03d.jpg test1800.mp4
Something went wrong with that request. Please try again.