Well, I started out doing timelapse photography with my Canon EOS 40D on a tripod, running the EOS Utility program that came with the camera, then using
JPGVideo to compile all the images into an avi video. Workes realy well, and I still think it is the best way to go because you have better control over the quality and size of the final product.
But, this is a Pi forum, so I must tell you how to do this on the Pi. After digging around, I found instructions how to do it. Of course, they also tell how to make the Pi a WebCam server, but I am only interest in collecting the images... so far.
I got this info from
here.
First, install Streamer:
sudo apt-get install streamerand that's it... hehe It all runs from the command line. if you do a
server --help, it will show you all the options availible. Here is a sample line that actually works:
sudo streamer -o 0000.jpeg -s 352x248 -j 100 -t 00:20:00 -r 0.1 -c /dev/video0
.
Some notes on the options:
- "-o 0000.jpeg" specifies the filename format for the individual frames
- "-s 352x248" specifies the resolution. I have used as high as 1280x720.
- "-j 100" is the JPEG quality"
- "-t 00:20:00" instructs it to capture for 20 minutes OR -t 20 will take 20 frames
- "-r 0.1" indicates the frame rate of 0.1 frames/second (1 frame every 10 seconds)
- "-c /dev/video0" specifies the video device.
I have made the above work with no problems. I have not tried capturing just video, yet, but according to the help file, you should be able to do several different formats of videos and different framerates. Obviously, it depends on how fast the Pi turns out and what it can handle. For timelapse, I think it will work fine. I just have to get portable and take the whole thing outside. hehe