Yet Another Sunset Script (yass) v2
Script to shoot time-lapse videos of sunsets, or anything else.
There are many Sunset scripts available and this is yet another.
I did not write the original code! YASS is based on sunset4.bas.
Goal of YASS: Need for speed! MUST GO FAST! Make it simple to use.
++++++++++++++++
How to use
++++++++++++++++
NOTE: I added most of the below options to work with my SD 1100 IS (IXUS 80 IS).
Your camera may or may not be fully compatible.
Please post your cam model, yass version number and results in the CHDK forum for others to see.
Thanks.
**
SET YOUR ND FILTER!!!
SET YOUR ND FILTER!!!
SET YOUR ND FILTER!!!
Unfortunately, the script commands for settings the ND filter are not quite working
the proper way.
IF you plan on just capturing a sunset, set the ND filter to IN
If you plan to capture night sky and stars, set ND filter to OUT
If you set ND filter to OFF, it will run on auto and will randomly cut in or out.
If you are not sure how to set the ND filter, see the CHDK help or forum.
****
YASS02 Settings
****
Delay each photo(sec)
Default = 0 seconds
This is the minimum delay between each photo. On my cam, the script run time is about 1.5 seconds.
With the 0 second default, I can get 30+ shots each min. More photos = smoother the video.
**
Limit Tv
Default = -320
Shutter Speed.
On my cam, 5 or 10 sec is all I need to capture an awesome night sky with stars.
Use Tv-settings.txt as a reference to get the exact Tv setting you need.
**
Default Sv
Default = 480 (ISO 160)
First photo ISO setting.
ISO (Sv 480 = ISO 160) (Sv 776 = ISO 1250) (Sv 960 = ISO 5000)
In a future version I would like to replace "Sv" with "ISO" and have the script do the math for
you.
**
Limit Sv
Default = 500 (ISO 200)
Maximum photo ISO setting.
ISO (Sv 480 = ISO 160) (Sv 776 = ISO 1250, Sv 960 = ISO 5000)
If the ISO is too high, the photos will look grainy or pixilated.
I suggest ISO 200 (500), but you can decide for yourself.
In a future version I would like to replace "Sv" with "ISO" and have the script do the math for
you.
**
Guess mode limit
Default = 0
Sudden exposure change.
If the photo had a sudden change in brightness or darkness,
then the exposure (Tv) will attempt to compensate. To prevent overcompensation,
the guess mode limit marks a stopping point.
The default setting (0 tv) will cause to script to not sudden jump past 1 second exposure.
If you want to allow the exposure correction to jump higher or lower,
use the Tv-settings.txt as a reference.
To disable the guess mode limit and allow the script to attempt to jump what it thinks is
a reasonable limit on its own, change to -576 (maximum setting)
**
Slope in guess mode
Default = 8
Increment of adjustment for auto exposure (+-Tv). Also known as exposure smoothing.
If the script sees the photo is too bright, it will reduce the exposure (tv) by this number.
If the script sees the photo is too dark, it will increase the exposure (tv) by this number.
Major exposure points are in increments of 32,
so it will take 4 increments (32/8 = 4) to reach the next major point. See Tv-settings.txt
as a reference.
Lower number makes exposure changes smoother but takes longer to equalize. Lower numbers
are good if you have little or no delay between photos (first setting).
Higher numbers make the exposure jumps larger (less smoothing).
**
0-4,6,8:L,M1,M2,M3,S,TS,W
Default = 8
Photo dimensions.
0 = L
1 = M1
2 = M2
3 = M3
4 = S
6 = TS
8 = W
Wide (w) is 16:9. If you want to render in HD, this setting will allow you to skip
the cropping process.
Since W auto crops to 16:9, the photo size is about 20% less. This means your memory
card can save more photos. More photos gets you longer run times.
**
RAW 0=off 1=on
Default = 0 (Off)
Save images in uncompressed RAW format when on. RAW files are large and take lots of memory
card space.
Save images as compressed JPGs when off.
**
Free Disk MB Shut down
Default = 15 MB
Low disk space shut down.
Before each photo check if the available space is less than this value.
If your free disk is less than this number in MB, then the camera automatically shuts off.
**
Focus 0=norm 1=mac 3=inf
Default = 3
Focus setting.
0=Normal 1=Macro 3=Infinity
For Sky photos, the focus should be set to the farthest distance (Infinity).
**
Img Quality 0=SF 1=F 3=N
Default = 2
Image Quality 0=Super Fine, 1=Fine, 3=Normal
If you have a small memory card, you may want to use Fine or Normal to fit more photos.
A typical sunset can easily be over 1000 photos.
I suggest starting with Normal (3) and see if the quality meets your standards once the
full video is rendered.
**
*********
Wish List
*********
There is 1 function I would still like to add:
1) Photo preview time
2) I would also like to add in the math function for Exposure and ISO.
If anyone already has the math function, please PM me in the CHDK forum or on Youtube (Soulf2).
*******
Thanks
*******
I would like to thank the CHDK community and Fbonomi for the Sunset4.bas code that drives
this version!!!