Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Time-lapse camera driver, supports multiple exposures.
Python CSS Shell C
branch: master

This branch is 90 commits ahead, 2 commits behind dwiel:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
html
.gitignore
README.md
Shoot.py
calib.xml
config-example.md
ensure-timelapse-is-running.py
gphoto2-install
init.xml
install
rc.timelapse
shoot.xml
sun.py
test.xml
timelapse.py
usbreset.c

README.md

Description

gphoto2-timelapse allows you to create timelapse photography using a supported DSLR camera connected via USB (http://gphoto.org/proj/libgphoto2/support.php), and the gphoto2 unix tool (http://www.gphoto.org/).

Supports:

  • single photo
  • continuous time-lapse
  • continous day-time time-lapse
  • multiple exposures
  • automatic configuration from XML file.

Installation

You will need to install python to run the scripts: http://www.python.org/getit/

You can use the install scripts - gphoto2-install / install

It's a great idea to install gphoto2 from source as the pre-built libraries are generally old. The gphoto2-install script does just this.

Dependencies

You will need the ephem python toolbox, available from: http://rhodesmill.org/pyephem/.

Use

Once everything is installed, you need to tweak the script and the XML configuration file a bit to get it to work with your own camera. Once you have the camera specific parameters and functions in place, you can use the python scripts to start taking images:

python timelapse.py test.xml

See config-example.md for additional documentation on the XML configuration file. Editing this file will allow you to easily change the behavior of the time-lapse sequence you're capturing.

Credits

This code originated from the following python script by dwiel:

Thank you for the inspiration!

Something went wrong with that request. Please try again.