Created some time lapse videos. - Creative Uses of CHDK - CHDK Forum supplierdeeply

Created some time lapse videos.

  • 3 Replies
Created some time lapse videos.
« on: 26 / November / 2010, 21:26:28 »
I've been reading the forums for a while, and have learned alot!  I bought myself an A470 to play with and thought I'd post the first driving time lapse I made:

Thanks everyone for all the info!

I was having a really hard time with all the video processing stuff, so I figured I'd post a little bit of with I did, maybe someone can post suggestions or improvements.

Here is how I made the video:

Used the Ultra Intervalometer script to take photos with a 2 second delay.
Set to focus at infinity (I had to add 'set_prop 6 3' to the intervalometer script, because the the camera would not stay at infinity for some reason, even in manual mode)
Set to a resolution of 2048x1536
The camera was mounted (upside down, with a suction-cup mount) to windshield (which is why it moves a few times), plugged into a 120 power supply which was plugged into a power inverter.

I ended up with 1524 photos.

I already have imagemagick and the mencoder(part of mplayer) installed

I pre-processed each photo:
Code: [Select]
mogrify -path processed -extract 2048x1152+0+0 img*.jpg
cd processed
mogrify -rotate 180 img*.jpg
mogrify -resize 1920x1080 img.jpg

The first command crops and creates a new file in the "processed" folder. In this case I cropped the 'bottom' of the photo away (which was mostly sky because the camera was upside down)
the second command rotates them 180, and
the third command resizes to 1920x1080 (1080p resolution)

Then I turned them into a 1080p mpeg4:
Code: [Select]
mencoder -nosound "mf://*.jpg" -mf w=1920:h=1080:type=jpg:fps=24 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:keyint=132:v4mv:vqmin=3:lumi_mask=0.07:dark_mask=0.2:mpeg_quant:scplx_mask=0.1:tcplx_mask=0.1:naq:vbitrate=10125000 -o time_lapse.avi
I don't know quite what the mencoder command does, because it's a frankensteined command from a bunch of different websites.
« Last Edit: 28 / November / 2010, 11:34:34 by dodald »

Re: Driving Timelapse
« Reply #1 on: 28 / November / 2010, 08:29:46 »
Good job Dodald!

I enjoyed your timelapse a lot. I think the rain and window wiper action made the video even better.
Canon SD780IS

Re: Created some time lapse videos.
« Reply #2 on: 28 / November / 2010, 11:37:46 »
Rather than creating a new thread, I figured I'd modify this one. (I changed the title from "Driving Timelapse" to the current title)

I did a macro test yesterday:

This one may be worth watching in HD on Youtube:

Next I think I do paint drying! (Just kidding)

This was was done essentially the same way, however I set the camera into Macro mode ('set_prop 6 1')
« Last Edit: 28 / December / 2010, 15:15:07 by dodald »

Re: Created some time lapse videos.
« Reply #3 on: 28 / December / 2010, 15:08:04 »
« Last Edit: 28 / December / 2010, 15:13:20 by dodald »


Related Topics