Please post an example of a specific command you used and the resulting error.You might also find some useful information inhttps://app.assembla.com/spaces/chdkptp/wiki/CLI_Quickstarthttps://app.assembla.com/spaces/chdkptp/wiki/Scripting_Guide
Now =set_focus() and =return get_focus() work. Even during recording a video(at least in MF). So will this really disable AF ?
Strangely enough if I set_focus(20000) the get_focus() returns -1.
If you want to focus on an object 2m ahead would you use half_press or set_focus(2000)? I ask b/c I got a feeling that the script focus is not really accurate.
But maybe it's b/c the DOF of the camera (so that focus(1) and focus(20) look very similar).
=press'shoot_half' sleep(1000) click'left'
BTW I asked before about controlling exposure during video recording and you said that this is on the risky side. Is the problem with setting the ISO value? or the shutter speed?
Is there's a way at least to disable the auto exposure hunting?
And last question - how can I get rid of the annoying menu that appears randomly in <ALT> mode?
QuoteBTW I asked before about controlling exposure during video recording and you said that this is on the risky side. Is the problem with setting the ISO value? or the shutter speed?I wouldn't say it's risky in terms of hurting the camera. Crashing or not working, maybe.
QuoteAnd last question - how can I get rid of the annoying menu that appears randomly in <ALT> mode?If you mean the help screen, go to CHDK settings, Menu, and uncheck "Show <ALT> Help Screen"
sleep(1000)set_autostart(0) set_mf(1) sleep(500) press "shoot_half" sleep(2000) click "left" sleep(400) release "shoot_half"sleep(800)set_aelock(1)----------------------------------- this part alone works set_record(true) --record while ( get_mode() == false ) do sleep(100) end sleep( 1000) play_sound(1) click("video")
set_record(true) --recordwhile ( get_mode() == false ) do sleep(100) end
The script works withoutCode: [Select]set_record(true) --recordwhile ( get_mode() == false ) do sleep(100) endbut crashes (after starting to record) when I move to play mode (I need this part). And sometimes during the recording.
ASSERT!! AudioHandle.c Line 224Occured Time 2020:05:03 13:00:14Task ID: 18022441Task name: PhySwSP: 0x0057B590
The AF lock doesn't work without moving to Manual focus( in script and also manually).
Started by toby LUA Scripting
Started by JvdP « 1 2 » General Discussion and Assistance
Started by axman General Help and Assistance on using CHDK stable releases
Started by andrew.stephens.754365 General Help and Assistance on using CHDK stable releases
Started by reyalp RAW Shooting and Processing