Ultimate Intervalometer - a script for shooting over a long duration - v4.9 - page 58 - Completed and Working Scripts - CHDK Forum
supplierdeeply

Ultimate Intervalometer - a script for shooting over a long duration - v4.9

  • 651 Replies
  • 220823 Views
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #570 on: 14 / February / 2019, 17:02:02 »
Advertisements
what i'm seeing is the result of calculations on tipping points?
I wondered about that too but I don't think that is happening.  CHDK will always pick the same zoom step for any 0-100% zoom setting request - no tipping point.

Let's see if the added delay mentioned earlier helps?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #571 on: 15 / February / 2019, 02:38:05 »
i was mistaken, because it is not only between reboots that it can happen.
there is also the chance of a small zoom difference between shots while the script is running. (focus @ infinity in script)

let's say the chance that zoom is not exact due to poor build quality, wear, moist, temp change, bad day or whatever is 1000 to one.

the difference when i do not use zoom in the script, is that if i set it manual to 50mm it only happens once during the running of the script,
the only possibilty for different zoom would happen at restart after that...and that does not work right now because it moves to play mode.

but if i let the script set zoom it happens for every shot making chances that something like slight zoom difference happens a lot bigger.

simultaniously i'm wondering a bit how much wear this constant resetting of zoom to (nearly) the same point does.
I can understand that you weren't sure how different cams would handle this zoom setting in UI. but i think you can assume that only setting zoom after the script is started and at reboot should suffice.

my first indoor test with the longer delay had no zoom issues, but i have to test that outdoors to really spot differences in zoom and barrel distortion.
will happen this afternoon
« Last Edit: 15 / February / 2019, 03:58:47 by Mlapse »
frustration is a key ingredient in progress

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #572 on: 15 / February / 2019, 02:58:12 »
guessing i have thick fingers this morning
« Last Edit: 15 / February / 2019, 03:00:11 by Mlapse »
frustration is a key ingredient in progress

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #573 on: 15 / February / 2019, 02:59:03 »
@admin please delete these last 2 posts
frustration is a key ingredient in progress


*

Offline c_joerg

  • *****
  • 1248
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #574 on: 15 / February / 2019, 04:45:51 »
I have already gained some experience with long-term time-lapse that I would like to share here.
A change in the lens system always leads to problems (for example, when rebooting or by the extension and retraction of the lens). A small change in focus leads to a slightly different section.

The most suitable method is to switch to playback mode with cancels the retract timers. It's been going on for about three weeks now.

https://chdk.setepontos.com/index.php?topic=9969.540

Alternative I could use also a M3 or M10 with a manual lens and this option:
https://chdk.setepontos.com/index.php?topic=12542.msg137151#msg137151

« Last Edit: 15 / February / 2019, 05:50:24 by c_joerg »
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #575 on: 15 / February / 2019, 05:03:08 »
to minimize possible changes i like the manual mode of setting zoom, would love the script to take over.
but consistancy is more important than ease of use to me.

@waterwingz, i have tested the delay change from 2000 to 5000 but it did not help to make the zoom more stable..it might even have made it slightly worse...enough for me to spot it.
setting it once at the start of the script (much like if i set it in canon's firmware before i load the script) is much more reliable..and naturally setting it again after a reboot.
I think that might fix it for me.
But if you would like to create a time lapse with a changing zoom position, this has the possibility i guess. you'd only need a zoom-multiplier every so many shots.

If i look at the screen i see a shift in zoom position between waiting for the next shot and when it actually shoots (tiny bit more zoomed)
I think it actually zooms in and out a tiny bit to reasert it's position, but the shoot comes too quickly....and ends up very close to where it was after the shot.
after the shot it is back to the 11mm setting as far as i can tell and it all starts over, getting ready to shoot, change zoom slightly, take a shot, drop back to the original settings..

I used 60%, and that should correspond to the 11mm position I can fix in the canon software (as 50mm)..and it looks good until it shoots.
if i look at the data on the picture, it shows 11mm...but that is probably because it does not state smaller increments, otherwise i guess it would be 11.1.
This shift in zoom does not happen when i set it on 11mm manually and set zoom in UI to off before i start the script.
In all cases focus is set @ infinity.

disabled under function activate_display(seconds) the two entries update_zoom(zoom_setpoint)
so the only entry left is in the main program, but that is still triggered every shot....i found something in accurate intervalometer to set focus only once, but could not translate that to zoom once in UI.
should a one time setting be in CHDK instead of the script?
« Last Edit: 16 / February / 2019, 02:43:36 by Mlapse »
frustration is a key ingredient in progress

Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #576 on: 16 / February / 2019, 09:59:29 »
If i look at the screen i see a shift in zoom position between waiting for the next shot and when it actually shoots (tiny bit more zoomed)
The script only sets the zoom position once - when it switches to shooting mode on a start or restart.  And then only if it's enable in the user parameter settings.  It does nothing with zoom position between shots - this sounds more like a position shift actually caused by the focus mechanism?

(Note : zoom position is reset in a couple of the power saving modes - PlayKey & ShrtCut when coming out of those modes)

Quote
if i look at the data on the picture, it shows 11mm...but that is probably because it does not state smaller increments, otherwise i guess it would be 11.1.
That would be my guess too. These little cameras are not precision optical instruments.

Quote
This shift in zoom does not happen when i set it on 11mm manually and set zoom in UI to off before i start the script.
That's what is really strange here. From this, I can only guess that the exact sequence of function calls that CHDK makes to set a zoom position are somehow different than those used by that the Canon UI. And that later affects how the focus / shooting sequence operates.

Quote
In all cases focus is set @ infinity.
Doing that should eliminate any attempt to refocus between shots! 

However, a script can lock focus in two ways - by activating the AFL function of the camera or by asking the camera to go into MF mode or by using either.  Which modes work is something set during camera porting and it could be wrong in your camera. When we added that functionality we had to update some of the cameras "blind" as we did not have every camera available to test. Or it could be that both work but one works better than the other.

You could try little brute force test here and force one or the other in the lock_focus( ) function starting at line 697.   Change :
Code: [Select]
        local sd_modes = get_sd_over_modes()
        if ( bitand(sd_modes, 0x02) ~= 0 ) then
            set_aflock(true)
        elseif ( bitand(sd_modes, 0x04) ~= 0 ) then
            set_mf(true)
            if (get_prop(props.FOCUS_MODE) ~= 1) then printf("Warning:MF enable failed***") end
        end

just to either
Code: [Select]
            set_aflock(true)or
Code: [Select]
            set_mf(true)
and see what happens?

Also what happens if you disable that the focus at infinity setting?

Quote
found something in accurate intervalometer to set focus only once, but could not translate that to zoom once in UI.
I took a look - that script just calls set_aflock(1) to lock focus. See my earlier comments about focus lock in this post.

Quote
should a one time setting be in CHDK instead of the script?
It essentially is - per my previous comments.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #577 on: 16 / February / 2019, 14:32:27 »
first tries with diasbled infinity, but alas no change.
the same goes for set_aflock(true) and set_mf(true).
retested manual zoom @ 11mm, zoom in script off, still stable.

maybe this is relevant.
when i engage script mode is that the ring i use to set the zoom in standard steps is disabled..but then again also the zoom button around the shutter is disabled.
so, normally chdk is loaded, i will then change zoom 2 clicks to 11mm(50mm) with the ring around the lens.
then go to script mode and, after checking settings, start it.
« Last Edit: 16 / February / 2019, 15:03:09 by Mlapse »
frustration is a key ingredient in progress


Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #578 on: 16 / February / 2019, 16:42:44 »
first tries with diasbled infinity, but alas no change.
the same goes for set_aflock(true) and set_mf(true).
retested manual zoom @ 11mm, zoom in script off, still stable.
Thanks for trying that.  I'm running out of ideas here but I will take a break and think about it some more.

Quote
maybe this is relevant.
when i engage script mode is that the ring i use to set the zoom in standard steps is disabled..but then again also the zoom button around the shutter is disabled.
so, normally chdk is loaded, i will then change zoom 2 clicks to 11mm(50mm) with the ring around the lens.
then go to script mode and, after checking settings, start it.
That sound pretty normal.  Once you start the script, all button pushes including lens rings and zoom levers are not reported to the Canon firmware so that they can be used by the script if desired.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Mlapse

  • *****
  • 583
  • S95 S110
Re: Ultimate Intervalometer - a script for shooting over a long duration - v4.8
« Reply #579 on: 16 / February / 2019, 18:10:28 »
Quote
Thanks for trying that.  I'm running out of ideas here but I will take a break and think about it some more.

i understand, i came at that point a while back.
and no problem, testing is easy, coming up with possible solutions is much harder work, so thank you.
luckely the manual zoom is at least stable on my s95.
 
« Last Edit: 16 / February / 2019, 18:17:35 by Mlapse »
frustration is a key ingredient in progress

 

Related Topics