What I'd like to do is change the download folder and have all of the pictures stored directly inside (as apposed to being in subfolders).
${serial,strfmt} camera serial number, or empty if not available, default format %s${pid,strfmt} camera platform ID, default format %x${ldate,datefmt} PC clock date, os.date format, default %Y%m%d_%H%M%S${lts,strfmt} PC clock date as unix timestamp + microseconds, default format %f${lms,strfmt} PC clock milliseconds part, default format %03d${mdate,datefmt} Camera file modified date, converted to PC time, os.date format, default %Y%m%d_%H%M%S${mts,strfmt} Camera file modified date, as unix timestamp converted to PC time, default format %d${name} Image full name, like IMG_1234.JPG${basename} Image name without extension, like IMG_1234${ext} Image extension, like .JPG${subdir} Image DCIM subdirectory, like 100CANON or 100___01 or 100_0101${imgnum} Image number like 1234${imgpfx} Image prefix like IMG${dirnum} Image directory number like 101${dirmonth} Image DCIM subdirectory month, like 01, date folder naming cameras only${dirday} Image DCIM subdirectory day, like 01, date folder naming cameras only${dlseq} Sequential number incremented per file downloaded${shotseq} Sequential number incremented when imgnum changes.
!mc:download_images({dst='${id}_${name}'})
I'd like to make a script that switches the cameras to record and syncs them with a command, then waits for me to cut usb power to take the picture as I've heard that provides a better sync than using software, then allows me to download the images off the cameras into a folder and deletes them from the cameras with another command.
!mc=require('multicam')!mc:connect()
I can now change the download folder and delete the images off the cameras afterwards, but is there some way I can delete the DCIM sub directory as well?
Another quick question; how do I automate commands in the chdkptp command line? Like if I were to make a new script that automatically executes Code: [Select]!mc=require('multicam')!mc:connect()and so on, how do I start?
mc=require('multicam')mc:connect()
!dofile('myfile.lua')
!mc = require('multicam')!mc:connect()
!mc:start()and so on...
Sorry for these late replies. Would there be some way to make a lua script for chdkptp that I could run, then call functions from the console?
function camCount() mc = require('multicam') mc:connect() printf('%d\n',#mc.cams)end
edit: I just tried using !dofile and it threw the error "No such file or directory". Should it be somewhere other than the chdkptp lua folder?
self:connect()quay = #self.cams .. " camera detected"return quay
Now I've gotten cocky and I'm thinking about "re-purposing" some of the gui elements to run this code for me. Would there happen to be an easy way to do that?
title='rec',
Started by jmonty General Help and Assistance on using CHDK stable releases
Started by Mike Lee 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