Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added some options to burst capture mode (see below)#2

Open
TheCapsLock wants to merge 4 commits intobalgamat:masterfrom
TheCapsLock:burstmode-additional-options
Open

Added some options to burst capture mode (see below)#2
TheCapsLock wants to merge 4 commits intobalgamat:masterfrom
TheCapsLock:burstmode-additional-options

Conversation

@TheCapsLock
Copy link

I added the following options:

  • captureTarget: allows one to select wether pictures are saved in
    internal memory or on storage card. Internal memory can be too small
    to store capture pictures resulting on PTP errors preventing us to do
    more captures
  • forceOverwrite: allows overwriting existing files if any (without this
    and with existing pictures on disk the next captures was failing
    because gphoto2 requested a user input in interactive shell asking if it
    is allowed to overwrite existing files)
  • burstMode: allow using fast or slow burst mode instead of slow mode
    only

CapsLock added 4 commits November 22, 2021 11:34
I added the following options:

- captureTarget: allows one to select wether pictures are saved in
  internal memory or on storage card. Internal memory can be too small
to store capture pictures resulting on PTP errors preventing us to do
more captures
- forceOverwrite: allows overwriting existing files if any (without this
  and with existing pictures on disk the next captures was failing
because gphoto2 requested a user input in interactive shell asking if it
is allowed to overwrite existing files)
- burstMode: allow using fast or slow burst mode instead of slow mode
  only
using --wait-event=1s makes gphoto2 terminate after exactly one second
regardless if processing is finished.

An alternative way is to use string match on CAPTURECOMPLETE action as
stated on manpages and
https://github.com/gphoto/gphoto2/blob/eab149c6d71c406e2d0ce74028e200b71ceb0601/gphoto2/actions.c#L1228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant