Fandom

CHDK Wiki

UBASIC/Scripts/CanonA640: Zoom Video

< UBASIC | Scripts

598pages on
this wiki
Add New Page
Talk0 Share

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.

Zoom Video Edit

Written for/on: Canon A640 / A630
Also works on: Other Canon AXXX (Not tested)

Zoom Video by Johan Van Barel (http://www.vanbarel.tk) and edited by Ivan Dimov The Canon A640 does not allow to zoom in videocapture mode. This script allows to zoom-in and zoom-out (8 steps) while in videocapture mode. The only problem is that the Canon A640/A630 only focuses when zooming finishes and not inbetween. This problem is not yet fixed.

Documentation/Help (save as a small ZoomVideo.txt" file to your /CHDK/SCRIPTS/ folder)


Select Movie mode on your Canon A640/A630

Parameters: None


Script Code (save as "ZoomVideo.bas" to your /CHDK/SCRIPTS/ folder)

rem Johan Van Barel 07-07-2007
rem Zoom-Video for Canon A640

@title Zoom Video

get_zoom z
click "shoot_full"
click "shoot_full"

:video
  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 "video"

:end
click "shoot_full"
sleep 1000
set_zoom z

end

Also on Fandom

Random Wiki