libgphoto2
libgphoto2 copied to clipboard
how to fire on multiple USB ports
I've tried a number of different approaches, but maybe its not possible.... Can multiple cameras be fired on the same Pi using gphoto? (multiple USB ports)
using gphoto2 commandline tool would be something like:
run:
gphoto2 --auto-detect
parse the listed ports , and run for each
gphoto2 --trigger-capture --port $PORT
but this will happen mostly sequential.
if you want it less sequential, you would need to write an app, e.g. in C or python to avoid unecessary delays.