Thanks for the tips, they were very useful. It got me somewhere. In fact my script now works and I actually can do a time lapse with it. There's only one trouble. It doesn't store the files on my pc, it stores the files on camera instead.
I read usage.txt and it's almost a rocket science to me.
Quote from: Kasius Klej on 11 / October / 2016, 15:53:21Thanks for the tips, they were very useful. It got me somewhere. In fact my script now works and I actually can do a time lapse with it. There's only one trouble. It doesn't store the files on my pc, it stores the files on camera instead.What camera are you using? Not all ports support remote shoot with jpeg.
I'm using Canon 127 HS. It all works well when i click JPG remote shoot in GUI.
chdkptp -c -e"rec" -e"rs c:\Users\KasiusKlej\Downloads\Canon PTP"
If you have a lot of commands, you can put them in a file and run them with -e"source path_to_file"
Quote from: reyalp on 12 / October / 2016, 12:50:11If you have a lot of commands, you can put them in a file and run them with -e"source path_to_file"I have 172.800 commands, that is for a 2 hour movie. Timelapse movies are usualy shorter, more like 5*60*24=7200 frames. That all fits well in Excel, too.
You could of course do your entire timelapse in chdkptp without involving excel, but in that case I'd strongly using a loop instead of putting them all in a file.
If you can program vbscript in excel, picking up enough Lua to do this probably wouldn't be that hard, but using the tools you already know is also a perfectly reasonable way to go about it.
Note that if you don't need to do anything else fancy, you can just specify an interval in the rs command, likers -shots=7200 -int=2If you don't want the camera to recalculate exposure and refocus between shots, use -cont= or -quick= instead of -shots.
-c -e"rs -quick=7200 -int=2 'C:\download path'"
One good thing with Excel script is you can change batteries without interrupting the script. Imagine a photographer shooting 4 days and nights outdoors.
That would be a challenge, learning Lua language. Does that mean that with Lua one could redesign chkptp-732 GUI? Is it open source?
The GUI code is relatively complicated (as GUIs tend to be...) but it's not clear that your application requires GUI.
Started by bdasmith « 1 2 ... 9 10 » General Help and Assistance on using CHDK stable releases
Started by toby LUA Scripting
Started by JvdP « 1 2 » General Discussion and Assistance
Started by reyalp General Help and Assistance on using CHDK stable releases
Started by allclay1993 General Help and Assistance on using CHDK stable releases