It is currently Fri Jan 19, 2018 5:33 pm




Post new topic Reply to topic  [ 2 posts ] 
 Canon script - chdk 
Author Message
User avatar

Joined: Wed Apr 23, 2014 8:01 pm
Posts: 19
Location: Gdansk, Poland
Post 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.

YASS 4
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:
http://chdk.setepontos.com/index.php?topic=10493.0
Here's an example timelapse I've shoot with yass 4 script:
http://www.youtube.com/watch?v=pFu-GrfJIZE

FAST INTERVALOMETER
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):
http://chdk.wikia.com/wiki/UBASIC/Scripts:_A_fast_%22intervalometer%22

SIMPLE INTERVALOMETER
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:
http://chdk.wikia.com/wiki/Downloads

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.

_________________
I'm shooting timelapses with Canon G12, Canon G1X and Nikon D800.
http://www.youtube.com/channel/UCompyNbctuSFxw8w1xv9t_Q


Wed Apr 23, 2014 8:31 pm
Profile

Joined: Tue Oct 07, 2014 10:55 am
Posts: 1
Post 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!! :o

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 :roll: )

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:

Code:
#!/bin/sh
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
exit 0


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):

Code:
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)

Reference: http://ubuntuforums.org/showthread.php?t=2022316

Btw, nice sunrise video in Gdansk. I soon will try to use the script you mentioned and see what happens.

Thanks once more.


Tue Oct 07, 2014 11:54 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore. pozycjonowanie