First Timelapse video at HackJam 06/10/2013 with the help of @RPiSpy

Posted: October 6, 2013 by schoolpiclub in General News, Raspberry Pi Camera

Here is our first Timelapse video. It was created at today’s HackJam.

We followed the instructions via this link

We used the command to take a photo every 10 seconds (10000 milliseconds) for a 5 minute period (300000 milliseconds) resulting in a sequence of 30 images. This was the command we typed into LX Terminal on our Raspberry Pi.

raspistill -o myimage_%04d.jpg -tl 10000 -t 300000

We then had to combine the images into a video. We used “avconv”. You can install this useful library with the following command:-

sudo apt-get -y install libav-tools

To construct the video file from our image sequence we used the command below. We cropped the images and create a standard 1280×720 resolution. Please note this must be entered as a single line command:-

avconv -r 10 -i timelapse_%04d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 -vf crop=2592:1458,scale=1280:720 timelapse.mp4

The video was quite fast so I used iMovie just to slow it down a little, I also added the movie again but in reverse.

We are planning to do more Timelapse video’s in the near future.


Comments are closed.