Re: python capture_preview speed

Khoroshyy Petro <[email protected]> Wed, 29 Dec 2021 17:55:13 +0100
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAEoO5zpmuOUSHwj1S4Beks_005iSLXC_dRL4DgBjkWNGUK2SkQ@mail.gmail.com>
HI Marcus.
Thanks.
The above command gives 72 frames. ~14FPS
My python code with preview capture and image conversion gives ~12fps.
If I add update of matplotlib figure frame rate goes down to ~2fps.
I guess I need some faster visualization library.
Best.
Petro.


On Wed, 29 Dec 2021 at 15:43, Marcus Meissner <[email protected]> wrote:

> Hi,
>
> can you reproduce this also with the gphoto2 commandline tool?
>
> gphoto2 --capture-movie=5s
>
> and report how many frames it took?
>
> Ciao, Marcus
> On Wed, Dec 29, 2021 at 03:08:34PM +0100, Khoroshyy Petro wrote:
> > Hi.
> > I am using python-gphoto2 to capture preview from a Canon 40D camera.
> But i
> > can get maximum 2 frames per second. Is there any way to speed it up or
> it
> > is a usual speed for python API?
> > Thanks.
> > Petro.
>

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user