I just got back from a week in France. While I was away I had a Raspberry Pi camera shoot a photo of the garden every ten minutes. I set it on for ten days, the day before we left. It still has a day or so to run, but I FTPed the first 1300 .jpg files from my Pi while it’s still running and made them into a video using Videopad. (You can also do this natively on the Pi with FFMPEG, but I haven’t played with that yet.)
The subject matter isn’t the most exciting ever, but it does give you an idea of what the weather was like over the nine day period. Fortunately for us, it was a bit nicer in France while we were away. :) There’s no sound for the time-lapse part. It started on Friday 24th, so the first period of darkness is Friday night.
I used the paid version of Videopad, but I think you can also do this with the free version. The trick is to change the settings in Options > Default still image duration to 0.04s, which gives you 25 frames per second. Then you just import all your images and make the movie.
But first we have to shoot the stills for the movie.
How to shoot a ten-day time-lapse video
First, I started a “screen” session (which enables me to disconnect and leave it running, but also to log back in and check on it).
Then, I used this command to shoot the photos for a 1080p time-lapse video of 1440 frames over 10 days
raspistill -t 864000000 -vf -w 1920 -h 1080 -tl 600000 -o 6_%05d_ten-days.jpg
-t 864000000 is the number of milliseconds in 10 days. This is how long the program runs for.
-vf is vertical flip (otherwise, the image comes out reversed for me)
-w 1920 -h 1080 width and height for 1080p video output. I figured shooting it the size I want the output would be optimum.
-tl 600000 number of milliseconds between shots (10 minutes)
-o 6_%05d_ten-days.jpg Name of output file.
%05d part gives you a 5 figure integer padded with leading zeros. So, the first one will be 00001, the thousandth would be 01000. This is ideal because, when assembling the video, the files can be bulk imported in numerical order which will be the order we want them in.
A ten minute time period was chosen because it would ensure that there would still be enough space on the SD card for all the images. Each image is ~2 Mb. It also means that the overall video would be about a minute long (at 25 fps).
I didn’t want it any longer than that because there are periods of darkness and we don’t want people getting bored. Next time-lapse video I want to make will be in a location with some movement and a more frequent shooting time-period.