Time-lapse photography using Raspberry Pi Camera Board

We can utlize a Raspberry Pi Camera board to perform time-lapse photography.
How does it work?
In this tutorial I will explain how to capture getting dark using raspberry pi camera. We will set the camera on a window facing outside. Preferably around 5:30 PM.
We will take pictures for two hours. 1 photo every 5 seconds.
Once photos are taken, we will stitch them in to a avi file.

setting up the camera to take snaps for 133 minutes 1 in evry five seconds. Note that tim given is in miliseconds.

Once the command is completed, we will capture all image file names to stills.txt

Now we will process stills.txt to generate the video.
Here is the end result,