Simple but effective timelapse. Note that raspistill has many more interesting configuration parameters!
Based upon notes by James Singleton.
Test the camera
raspistill -o testimage.jpg
The red LED on the camera module should light up for 5 seconds and a JPEG image will be saved to the current directory. If the camera is mounted upside down, then you can use the vertical and horizontal flip command-line switches (-vf and -hf).
Install and configure software
Install a web server to access your images remotely. Run this command to install Apache:
$ sudo apt-get install apache2
Remove the default page to see the contents of the directory:
$ sudo rm /var/www/index.html
Browse from a PC to http://<ip raspberry> and refresh the page, you should see an image file listed. You run this as a superuser so you can write to the directory.
$ sudo raspistill -o /var/www/testimage.jpg
Click on the file link and you’ll see the image in your browser.
Capture the images
Set up your scene and check the positioning of the camera.
$ sudo raspistill -w 1920 -h 1080 -o /var/www/testimageFullHD.jpg
The width and height have been changed to capture a smaller image in 16:9 aspect ratio. The top and bottom are cropped, so make sure that your subject is in frame.
Run this to start the capture:
$ sudo raspistill -w 1920 -h 1080 -t 10800000 -tl 1000 -o /var/www/frame%04d.jpg &
This takes a photograph every ten seconds (10,000 milliseconds) for three hours (10,800,000 milliseconds). The ampersand (&) at the end runs the process in the background.
Copy the resulting images over to a powerfull PC with e.g filezilla and process it to a video. I use Adobe Premiere Elements.
When using a Raspberry Pi in your network it is very convenient to let it use DHCP to assign IP addresses, Setting up wi...
The Raspberry Camera Module is a giant success. Flexible, high quality, well supported. I have shown you already tow pos...
This is my second test of the timelapse/video facilities of a Raspberry Pi with the camera on top. So I did a standar...
One of the exciting projects with the Raspberry Pi and the camera used to be the timelapse video. And it has been the...