Yet Another Sunset Script (yass) v4.5 - page 11 - LUA Scripting - CHDK Forum
supplierdeeply

Yet Another Sunset Script (yass) v4.5

  • 166 Replies
  • 58533 Views
Re: Yet Another Sunset Script (yass) v4.5
« Reply #100 on: 11 / November / 2014, 07:47:30 »
Advertisements
Do you mean hard coding a very high normal speed value (like 1/3200) directly into the script
Yes, I meant a high normal speed value  (like 1/3200 or even 1/640). 
Quote
, or just using the highest value in the parameter available range (which is 1/15 if I'm not wrong)?
But as you noticed, you can't do that with the values available in the script parameters for the Tv normal limit

However, as you suggested you can hard code it :
Code: [Select]
    tv_normal_limit = tv_ref[e+16] to
Code: [Select]
    tv_normal_limit = 1192
Update :  on second thought,  it's probably worth making a better mod to the script that allows the 'Tv Normal Limit' to be turned off.  Something like :

Code: [Select]
@param     e Tv normal limit (sec)
  @default e 10
  @values  e Off 2.0 1.6 1.3 1.0 0.8 0.6 0.5 0.4 0.3 1/4 1/5 1/6 1/8 1/10 1/13 1/15
and

Code: [Select]
  if ( e >0 ) then  tv_normal_limit = tv_ref[e+15]  else tv_normal_limit = 1192 end
« Last Edit: 11 / November / 2014, 08:38:29 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.5
« Reply #101 on: 11 / November / 2014, 12:18:35 »
Thanks, I'll try that.

Before that, however, I'll try just increasing ramp rate. Like you said before,

Quote
As the sun was rising,  the light level was increasing quickly.  The ramp filter was not keeping up...

So, maybe increasing ramp rate will get it keep up with the actual light increase rate.

Testing this script in sunrises really requires you to be in zen mode: not only will you have only one single attempt per day, but also not all days show the perfect light conditions or are you able to wake up so early...

Not complaining, it's my choice to insist using it in sunrises. I only wish there could be a way of simulating sunrises... ::)
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

Re: Yet Another Sunset Script (yass) v4.5
« Reply #102 on: 18 / November / 2014, 13:40:43 »
As I told in my last post, I increased the ramp rate to VFast.

I consider that it solved the previous exposure jumps that were happening whenever the script switched from ramp rate mode to speed average mode (I'm referring to the three operation modes you describe in the script presentation)

For anyone else that reads this, I'm strongly convinced, after this testings, that exposure ramp rate relates to the event duration, be it sunrise or sunset. In my case, I live in a tropical city, where those events last, at most, one hour (one hour to go from complete darkness to very bright daylight and vice-versa). Other latitudes probably require lower ramp rate values.

In the link below, I show two photos in ramp rate mode (speed 1/3) and the next first two photos in speed average mode (speed 1/4). Unlike the other session, this time there's no noticeable flickering.

https://www.flickr.com/photos/129411018@N06/sets/72157649358647165/

However, when the camera was still in ISO ramp mode (tv needed below my 10s low limit), it presented flickering in these two photos:

https://www.flickr.com/photos/129411018@N06/sets/72157648939836149/

What I found strange is that the EXIF information shows a shutter speed value below the low shutter speed limit. I thought the shutter speed would be locked in tv low limit, according to the script presentation. Coincidentally or not, in those two photos, there was a change in speed from 13s to 10s, according to the EXIF info, together with a change in ISO, from 100 to 80.

Attached, follow yass4.csv (the session I'm referring to starts in line 641)
Canon A3100IS - 100d
CHDK a3100-100d-1.2.0-3643-full_ALPHA

Re: Yet Another Sunset Script (yass) v4.5
« Reply #103 on: 26 / March / 2015, 14:09:31 »
Hi I am using your YASS script with my G12.
My question belongs to the shot rate. If I set the rate for example to 5 seconds, when does the script begin to count those 5 seconds? When I press the shutter or when the picture is taken?
What do I have to set the shot rate to when my max Tv is 5 seconds?


Re: Yet Another Sunset Script (yass) v4.5
« Reply #104 on: 26 / March / 2015, 14:28:22 »
My question belongs to the shot rate. If I set the rate for example to 5 seconds, when does the script begin to count those 5 seconds?
The script starts when you press the shutter button in <ALT> mode, does some initialization (which can take a few seconds), then records a time stamp of the current time (in mSec) and proceeds to take the first picture.  Once shooting is done,  the script then waits until the current time is greater than the time stamp value it recorded plus the requested Shot Rate interval. It then start the next shot.  This process repeats until you press the shutter buttton to halt the script.

Quote
When I press the shutter or when the picture is taken?
Per the above description,  I'd say the answer to that is probably neither.

Quote
What do I have to set the shot rate to when my max Tv is 5 seconds?
Whatever you want.  If you set the value to be shorter than the time the shutter is open plus the time to process & store the image, then script will just immediately start the next shooting cycle with no delay.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.5
« Reply #105 on: 14 / May / 2015, 08:25:14 »
Hi,
YASS is not working anymore on my G15.
The scripts stops after 1 or + pictures and shows an error message (see picture).
I think that this happens since I've used Stick to automatically load CHDK on my DSLR (I was using the manual update before).
All he scripts settings are default, mode P, saving picture to Canon RAW.
Any thoughts?

Re: Yet Another Sunset Script (yass) v4.5
« Reply #106 on: 14 / May / 2015, 09:13:20 »
I think that this happens since I've used Stick to automatically load CHDK on my DSLR (I was using the manual update before).
Tell me more about this?  CHDK does not work on DSLR's so you might have corrupted your installation.

Reinstall from scratch?   The script itself looks okay.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.5
« Reply #107 on: 14 / May / 2015, 10:44:48 »
Reinstall from scratch?   The script itself looks okay.
Following your advice, I've done that and just set images to be saved to Canon RAW only, the script terminated prematurely.

I've switched back to JPG only, script ran without problem.

I've then tried to use Enable Raw (DNG) in Yass script, script ran without problem.

Seems like the problem is linked to enabling Canon Raw (and has nothing to do with Stick).

Is there a way with CHDK just to save to DNG raw (no JPG)?

PS: By the way, waterwingz, I love your dedication to CHDK and helping users.
PS2: As you've guessed, english is not my native language, pardon me for mistakes or rudeness.


Re: Yet Another Sunset Script (yass) v4.5
« Reply #108 on: 14 / May / 2015, 10:57:43 »
There is no way for CHDK to disable saving JPG images. Do you get an error message when the script terminates prematurely?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Yet Another Sunset Script (yass) v4.5
« Reply #109 on: 14 / May / 2015, 11:04:14 »
There is no way for CHDK to disable saving JPG images. Do you get an error message when the script terminates prematurely?
The one you see in the picture of post 105 : attempt to index global 'log' (a nil value).
I've never had this saving Canon RAW problem with other scripts (MDFB2013 or TLapse1 per example). Only with YASS.
« Last Edit: 14 / May / 2015, 11:05:46 by Pierre »

 

Related Topics