Re: decreasing time between shots

Alan Corey <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAOh3dDbemgewowUvdMTupdhFS4Ay-zZtrTg1RHXHePdtmn5mcQ@mail.gmail.com>
Doing it in C would speed it up because there's much less overhead.
You could maybe shoot a burst of frames quickly, but not 1000 frames,.
Why don't you just shoot a movie clip then separate the frames with
ffmpeg?  Just use your clip as input to ffmpeg with -i (filename),
then set jpeg as the output type.  From experience a large percentage
of frames will need to be tossed but you start with about 30 FPS.  The
frame rate won't exactly synch with the shutter rate usually.

On 2/7/20, Joseph Moore <[email protected]> wrote:
> Hello,
>
> I have a script that I'm using to take images across the focus distance of
> a lens.
>
>  for i in {1..1000}; do
>    gphoto2 --capture-preview --force-overwrite --set-config
> manualfocusdrive='10' --capture-image;
>  done
>
> Right now it takes about ten seconds between each capture. Is there any way
> to speed this process up? I'd like to keep the intervals between shots as
> regular as possible. Even getting it down to 5 second intervals would be
> great. Thanks!
>
> -Joe
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.