Re: Using gphoto2 for eclipse photography with Canon liveview and mirror lock
Hubert Figuière <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <[email protected]> |
On 19/06/17 07:51 AM, Hooked on Astronomy wrote: > I'm using sh in Python to issue gphoto2 CLI commands. That works well apart > from the problems I am having with Canon mirror lock. There are several > other ways in Python to invoke CLI commands that I can try, but I suspect my > problem with mirror lock may be deeper than that as I can successfully use > sh to change the shutter speed, iso and take images. Using the CLI that way is more than suboptimal, to put it lightly. What you want is to use libgphoto2 from Python. You can find a few bindings for Python with your favourite search engine. I don't have any to recommend as I use C++, but I found some for Python and they seem to be what you'd want (might be available with PIP). That's the way I'd go in any other language. Hub ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot