Fandom

CHDK Wiki

UBASIC/Scripts: Zoom-Video

< UBASIC

599pages on
this wiki
Add New Page
Talk3 Share

Zoom-VideoEdit

Written for/on: Powershot A610
Also works on: A-series

Using zoom-rocker to control zoom during video recording. (Required build #129 or later)

rem Author GrAnd
rem Enables zoom during video recording on A-series

@title Video with zoom

print "Half-press shoot button"
print "to stop video recording"
print ""

get_zoom z

click "shoot_full"

:loop
  wait_click

  is_key k "zoom_in"
    if k=1 then set_zoom_rel +1
  is_key k "zoom_out"
    if k=1 then set_zoom_rel -1
  is_key k "shoot_half"
    if k=1 then goto "end"
goto "loop"

:end
click "shoot_full"
sleep 2000
set_zoom z

end

--GrAnd

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki