|Timescapes - Digital Timelapse Discussion
|Canon script - chdk
|Page 1 of 1|
|Author:||marcin-smidowicz [ Wed Apr 23, 2014 8:31 pm ]|
|Post subject:||Canon script - chdk|
I've been using Canon G12 & G1X for shooting timelapses for about a year.
After installing CHDK software (canon hack development kit), the camera can utilize a bunch of timelapse scripts.
I'm using this script a lot (and I was testing it extensively in the field to provide feedback for the author - to help eliminate bugs, introduce ideas for new functions, etc.). It's good for sunrises, sunsets, anything with changing exposure:
Here's an example timelapse I've shoot with yass 4 script:
When I need to shoot at a fastest rate possible, I switch to jpeg and use this script (it cannot change exposure, but is very fast):
I'm also using a simple intervalometer script sometimes (it is useful for hyperlapses, astrolapses), which just shoots at a set interval (it's included in any standard CHDK compilation).
CHDK download page:
Canon G12 & G1X are really capable for a small cameras they are. Raw files contain much information to work with later, the cameras are light, don't have a mechanical shutter (no mechanical wear, virtually no vibration introduced), the aperture is 100% consistent between frames. For me it's the best of both worlds.
|Author:||oneaty [ Tue Oct 07, 2014 11:54 am ]|
|Post subject:||Re: Canon script - chdk|
Thanks for the tip on CHDK and scripts you mentioned.
Yours is probably not the first post on CHDK in this forum, but it was the first I read when I browsed the forum yesterday (my first time around).
It was really a BIG surprise to know that my old, humble PowerShot A3100 could be hacked and improved!!
I'm not new to hacking equipment like routers, but I simply never thought it could be also possible on these little cameras. (better thinking, why shouldn't it?...)
With CHDK, I could finally override the poor intervalometer that comes with the camera and make an unlimited number of sequential exposures.
And here's my first nightly 8 sec time lapse video: http://youtu.be/dKFr7HogXsM (too much polution, few stars, but I love it, since it's my first acceptable one )
For the records, since I'm over an Ubuntu 14.04 laptop, the video was produced this way:
A - Shooting
I shoot 88 10 sec exposure pictures using CHDK default intervalometer.
B - Post-production
1) I gathered the photos in a specific directory;
2) I renamed the file names so that they start from 0001 upwards. To do this, I ran this smal script, adapted from the reference at the bottom of this post:
x=1; for i in *.JPG; do counter=$(printf %04d $x); ln -sv "/your_time_lapse_directory/$i" /your_time_lapse_directory/tmp/img"$counter".jpg; x=$(($x+1)); done
3) I joined the photos in a video. I executed the following command line from the /tmp directory (the directory where the renamed images stay, see script above):
avconv -f image2 -r 10 -i img%04d.jpg -vcodec libx264 time-lapse-10fps.mp4
(The -r option let you set up the video frame rate, the -f option I don't know what it means)
Btw, nice sunrise video in Gdansk. I soon will try to use the script you mentioned and see what happens.
Thanks once more.
|Page 1 of 1||All times are UTC - 8 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group