简体   繁体   中英

Burst capture photos in gphoto2 on Linux

Not sure where this best belongs: photography, electronics, software, or here. I have a Canon PowerShot G9 camera and I am using gphoto2 on Linux to control it over USB.

I need to take photos continuously and copy them to the computer (asynchronously is fine, so photos could be taken at maximum speed and transfers could queue up).

With gphoto2, I can do continuous capture like this:

gphoto2 --capture-image -F <frames> -I <seconds>

This gives me at best 4 seconds between captures (0.25 fps). If I unplug the camera and use its burst mode, I can take shots at 0.8 fps. I don't seem to be able to change the burst setting when plugged in with gphoto2. I tried some sample code that uses libgphoto2 directly in C, but that was even slower. How can I accomplish faster capture with this camera, or what cameras would let me do this?

尝试突发模式:

gphoto2 --set-config viewfinder=1 --set-config capturemode='Burst' --set-config burstnumber=5 --set-config capturetarget=1 --capture-image-and-download --force-overwrite

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM