zoom during exposure on sx100 IS - Script Writing - CHDK Forum

zoom during exposure on sx100 IS

  • 65 Replies
  • 32977 Views
zoom during exposure on sx100 IS
« on: 30 / October / 2008, 08:49:54 »
Advertisements
hi, i wonder if is possible to enable zooming during long exposures on SX100 IS using a script?
Powershot SX 100 IS

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: zoom during exposure on sx100 IS
« Reply #1 on: 30 / October / 2008, 08:53:48 »
if i remember correctly this should be possible

Re: zoom during exposure on sx100 IS
« Reply #2 on: 30 / October / 2008, 09:13:58 »
i use the latest chdk firmware for this camera and didnt find any script to enable that. usig the camera standard is not available zoomig during long exposure.
i am not familiar with scripting so if anyone can make such a script would be wellcome.
Powershot SX 100 IS

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: zoom during exposure on sx100 IS
« Reply #3 on: 30 / October / 2008, 13:50:33 »
You'll have to get into script writing a bit to actually do the kind of shot you desire. But below is a quick example script that demonstrates a way to do it. It first zooms to wide angle, then starts taking a photo and after 100ms of exposure it starts zooming to full tele.

I tried it with Tv mode about 1,5 s exposure and it appears to work.

Code: (Lua) [Select]
--[[
Test zooming during long exposure.

1) Set camera to shoot a very long exposure (either M or Tv mode or
CHDK Tv override).

2) run the script
--]]

max_zoom = get_zoom_steps() - 1

if get_zoom() ~= 0 then
  set_zoom(0)
  sleep(5000)
end

press("shoot_half")
repeat
  sleep(1)
until get_shooting() == true
press("shoot_full")
sleep(100)
set_zoom(max_zoom)

repeat
  sleep(1)
until get_shooting() ~= true

release("shoot_full")
release("shoot_half")


Re: zoom during exposure on sx100 IS
« Reply #4 on: 31 / October / 2008, 15:51:45 »
hi fudgey ,

i tried you version but unfortunately it doesnt appear to work with my SX100 IS. every  exposure i set ( 1s, 5s, 10s) the camera shut-off after 7-8 secs after i start the script. i'm zero at scripting (programming). any ideas?
Powershot SX 100 IS

*

Offline Hacki

  • ****
  • 359
  • EOS 80D
Re: zoom during exposure on sx100 IS
« Reply #5 on: 31 / October / 2008, 16:36:04 »
Works on my SX100 1.00c.

Attached example picture.. Anyone has an idea where those vertical horizontal (corrected) stripes, or gaps, come from?  :blink:
« Last Edit: 01 / November / 2008, 05:39:10 by Hacki »

Re: zoom during exposure on sx100 IS
« Reply #6 on: 01 / November / 2008, 03:13:03 »
You mean the horizontal stripes that look like video interlace lines?

Does the SX100 use an ultrasonic motor for its zoom mechanism? It might be some interference between its frequencies and something in the camera, or interfering with your memory card. Some brands of memory cards are more prone to interference from strong RF (radio frequency) signals. People shooting under or near noisy (RF noisy) sports-stadium illumination along with all their high-power RF communications systems find all sorts of artifacts in their digital images at times, later finding out that it is memory-card brand dependent.

No, wait, it's not your memory card now that I rethink this. If that were true, your ultrasonic motor, if you have one, would have to be operating while it is writing to the card. I bet its an interference between the zooming motor circuitry and your sensor's recording circuitry. If it is an ultrasonic motor, just its vibrations transmitting to the sensor might be enough to "shake" it enough during an exposure and cause odd results, from the ultra-fast physical motion alone.

Neat script! And sample photo! Thanks for sharing both.

p.s. Most good photo editors have de-interlace filters in their tweaking tools. Often used for people that are taking screen-grabs from video-input sources. It would clean those up pretty good.


*

Offline fbonomi

  • ****
  • 469
  • A570IS SD1100/Ixus80
    • Francesco Bonomi
Re: zoom during exposure on sx100 IS
« Reply #7 on: 01 / November / 2008, 04:23:37 »
Super cool!!

Ah, the useless but nice things we can do with CHDK !! :-)

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: zoom during exposure on sx100 IS
« Reply #8 on: 01 / November / 2008, 05:08:48 »
Doing this


then this



in photoshop seems to get rid of most lines like NewbieToobie said. This is under filter>video>de-interlace.
This script works with A540.
I took some pictures last night just to test, and it seems that some pictures are free or almost free from theese lines, while other have them?

Re: zoom during exposure on sx100 IS
« Reply #9 on: 01 / November / 2008, 05:13:13 »
@Hacki : i have SX100 1.00c too with latest chkdk. i tried both M and Tv and same result : after 10 secs the display turns black, all the leds are turned off and the lens are still out (not retracting). i have to swich on/off to restart the camera. did you made some modifications?
Powershot SX 100 IS

 

Related Topics


SimplePortal © 2008-2014, SimplePortal