Wikia

CHDK Wiki

UBASIC/Scripts/CanonA640: Zoom Video

Talk0
572pages on
this wiki

< UBASIC | Scripts

Revision as of 15:21, October 14, 2007 by GrAnd (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.com) 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

Around Wikia's network

Random Wiki