!return mc:testshots{tv=384,sv=411,nshots=1}
I would like to ask, while running the script on the cameras (after entering the line !mc:start() )Could someone please write me the correct command for zoom (zoom by step or by specific ammount i dont really care)?
Quote from: goriskil on 11 / February / 2016, 11:45:13!return mc:testshots{tv=384,sv=411,nshots=1}FWIW, I suggest using mc:shoot instead of testshots. They are similar, but shoot allows you to control more options and shoot bursts, while testshots prints a bunch of extra timing stuff you probably don't need. The idea of testshots is that you can point the cameras at the screen and get a rough idea when they shot based on which timestamps are visible.QuoteI would like to ask, while running the script on the cameras (after entering the line !mc:start() )Could someone please write me the correct command for zoom (zoom by step or by specific ammount i dont really care)?You can run lua code on all the cameras using the call command. That means you can use almost any function listed on http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_PageTo zoom all the cameras in to the 3rd zoom step, you could do something like!mc:cmdwait('set_zoom(3)')You can also use simulated key presses like!mc:cmdwait('click("zoom_in")')Some cameras don't perform jpeg distortion correction correctly if you use set_zoom. However, on cameras with a lot of zoom steps, using clicks can be slow and imprecise.
The mc:sel() function lets you select a subset of cameras, so you could use the same commands with just one selected. e.g. !mc:sel(5)!mc:cmdwait('set_zoom(1)')!mc:sel('all')See the comments in the source for how to specify which cameras are selected.Some other functions that might be usefulmc:list_sel() mc:list_all()mc:save_list()mc:load_list()To identify specific physical cameras, you can toggle an on-screen ID number using mc:cmdwait('id')
I tried testing the zoom step on a single camera (A2500 ) but the camera crashes (Shuts off without lens retract disconnecting from PC). Below is output..
Here's a test build with CAM_NEED_SET_ZOOM_DELAY set to 300, maybe that will help.
Started by dance621 General Discussion and Assistance
Started by plua_mea General Discussion and Assistance
Started by lipefrs « 1 2 » Script Writing
Started by cpat83 « 1 2 ... 8 9 » Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by Jaki « 1 2 3 » General Help and Assistance on using CHDK stable releases