supplierdeeply

Timelapse problem in SX20 IS

  • 6 Replies
  • 1169 Views
Timelapse problem in SX20 IS
« on: 31 / July / 2013, 20:02:42 »
Advertisements
I use CHDK to make timelapses, but i'm having a problem:
I set up my camera in P mode and set "manual focus" to infinite, I start "Ultra Intervalometer" script... after each shot, the camera gets a little out of focus, until its out of focus completely and restart the process itself.

Any suggestions?
PD: In 3/4 position of video, the camera is completely out of focus, then it's focused again immediately, and starts unfocusing again.
I'm using Canon SX 20IS

Video: http://www.youtube.com/watch?v=oQMxviHCFCg#

Re: Timelapse problem in SX20 IS
« Reply #1 on: 31 / July / 2013, 20:18:19 »
I use CHDK to make timelapses, but i'm having a problem:
I set up my camera in P mode and set "manual focus" to infinite, I start "Ultra Intervalometer" script... after each shot, the camera gets a little out of focus, until its out of focus completely and restart the process itself.
Please post a link the exact script you used - or reply and post it as an attachment.  There are several scripts out there calling themselves "Ultra Intervalometer" so its hard to answer your question.

I all likelihood you need a call to the  set_aflock function added to the script.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Timelapse problem in SX20 IS
« Reply #2 on: 31 / July / 2013, 20:21:13 »
I'm using this:

rem Author - Keoeeit
 rem Upgraded by Mika Tanninen
 rem Time accuracy and shutdown for a710is by Viktoras Stanaitis
 rem h-accuracy for delay, j-accuracy for interval
 rem Zoom by Frollino [email protected]
 h=-1
 j=-1755
 @title Ultra Intervalometer Zoom
 @param a Delay 1st Shot (Mins)
 @default a 0
 @param b Delay 1st Shot (Secs)
 @default b 0
 @param c Number of Shots (0 inf)
 @default c 0
 @param d Interval (Minutes)
 @default d 0
 @param e Interval (Seconds)
 @default e 10
 @param f Interval (10th Seconds)
 @default f 0
 @param g Zoom (0-8)
 @default g 2
 rem JPEG best quality
 set_prop 23 0
 rem Zoom 0-8 for A Serie and 0-14 for S Serie etc...
 set_zoom 0
 set_zoom_rel g
 n=0
 t=(d*600+e*10+f)*100+j
 if c<1 then let c=0
 if t<100 then let t=100
 g=(a*60)+b+h
 if g<=0 then goto "interval"
 for m=1 to g
  print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
  sleep 930
  next m
 :interval
   n=n+1
   if c=0 then print "Shot", n else print "Shot", n, "of", c
   shoot
   if n=c then shut_down
   sleep t
   goto "interval"

Where do in need to put the set_aflock function?
What it does?

Re: Timelapse problem in SX20 IS
« Reply #3 on: 31 / July / 2013, 20:47:56 »
Where do in need to put the set_aflock function?
What it does?
Try this script:  ( reference  http://chdk.wikia.com/wiki/Script_commands#set_aflock )
Code: [Select]
rem Author - Keoeeit
 rem Upgraded by Mika Tanninen
 rem Time accuracy and shutdown for a710is by Viktoras Stanaitis
 rem h-accuracy for delay, j-accuracy for interval
 rem Zoom by Frollino [email protected]
 h=-1
 j=-1755
 @title Ultra Intervalometer Zoom
 @param a Delay 1st Shot (Mins)
 @default a 0
 @param b Delay 1st Shot (Secs)
 @default b 0
 @param c Number of Shots (0 inf)
 @default c 0
 @param d Interval (Minutes)
 @default d 0
 @param e Interval (Seconds)
 @default e 10
 @param f Interval (10th Seconds)
 @default f 0
 @param g Zoom (0-8)
 @default g 2
 rem JPEG best quality
 set_prop 23 0
 rem Zoom 0-8 for A Serie and 0-14 for S Serie etc...
 set_zoom 0
 set_zoom_rel g
 set_aflock 1
 n=0
 t=(d*600+e*10+f)*100+j
 if c<1 then let c=0
 if t<100 then let t=100
 g=(a*60)+b+h
 if g<=0 then goto "interval"
 for m=1 to g
  print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
  sleep 930
  next m
 :interval
   n=n+1
   if c=0 then print "Shot", n else print "Shot", n, "of", c
   shoot
   if n=c then shut_down
   sleep t
   goto "interval"
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline lapser

  • *****
  • 1093
Re: Timelapse problem in SX20 IS
« Reply #4 on: 31 / July / 2013, 20:57:00 »
I think your problem may be coming from the "safety manual focus." See if you can find a menu option to turn it off.

set_aflock is supposed to lock the focus. On my cameras, it always re-focuses first, even in manual focus mode.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: Timelapse problem in SX20 IS
« Reply #5 on: 31 / July / 2013, 22:01:38 »
I think your problem may be coming from the "safety manual focus." See if you can find a menu option to turn it off.
Did a little googling to understand this option.  What a mess!   Its supposed to be used when you have enabled Manual Focus  to  "focus to a more accurate focussing point".  In other words,  the camera assumes you can't focus as accurately as it can so it adjusts whatever setting you made.

Wow.

Quote
set_aflock is supposed to lock the focus. On my cameras, it always re-focuses first, even in manual focus mode.
I've been playing with set_aflock() and set_focus() the last couple of days.  In addition to the behavior you describe, aflock (and MF too apparently) turn off when the display blanks.  So my battery power saving method override my attempt at aflock

I think I've also resigned myself to needing to be in an MF mode to get set_focus() to work.  I wonder if there is an event_proc for that - rather than relying on fake button presses to enter MF mode.

Edit :  I wonder what happens to the set_aflock() problem if you do this :

Code: [Select]
x=get_focus()
set_aflock()
set_focus(x)
« Last Edit: 31 / July / 2013, 22:23:38 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Timelapse problem in SX20 IS
« Reply #6 on: 01 / August / 2013, 14:07:28 »
I will test your script this weekend.

Thank you :)

 

Related Topics