Re: Using gphoto2 for eclipse photography with Canon liveview and mirror lock
Tomás Alonso <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Organization | OAN |
| Message-ID | <49932958.fZki9FYQZe@alonso-laptop> |
CLI (or sh from a program) commands requires everything in a single command, with no interactivity (gphoto requires with a single command to leave the camera ready for the next use). A more advanced mode is the shell. In a console, run gphoto2 --shell inside the shell mode of gphoto, set the mirror lock with something like -> set-config eosviewfinder=1 and capture multiple previews -> capture-preview -> capture-preview ... Then go back to 0 to move down the mirror and exit the shell mode. In my 40D I can control everything with mirror lock up: zoom in live view (values 1 and 5), zoom position (x, y), focus (with set-config-index), ... The special shell mode of gphoto2 can be controled from code, but I have no idea about how to implement that in python. But in Java I have a complete GUI in a free app for astrophoto, not fully finished, at http://conga.oan.es/~alonso/doku.php?id=jparsec#installing_only_clearsky. If you try it and works for you, the app allows to do scripting with very simplified commands, changing ISO or whatever. The program has a 'DEBUG' flag that when enabled will write all gphoto commands to the console, so you can see what is going on. My real use case is with a mini stick pc running Linux, connected directly with USB to the camera and controled with wifi from my Android phone using a VNC client. Stability of gphoto is fantastic, and is just great to do astrophoto with the phone and no cables! But I still need a faster stick, live mode is limited to 1-2 fps ... Tomas. El Lunes, 19 de junio de 2017 04:51:45 Hooked on Astronomy escribió: > Hi Tomas, > > Re: "The shell mode of gphoto2 is exactly what you need. I use it from a > Java > program, allowing to do things like focus while in live view, very useful > for > astrophoto. Just investigate how to use shell mode from python. " > > 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. > > Gavin > > > > -- > View this message in context: > http://gphoto-software.10949.n7.nabble.com/Using-gphoto2-for-eclipse-photog > raphy-with-Canon-liveview-and-mirror-lock-tp16746p16749.html Sent from the > gphoto-user mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gphoto-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gphoto-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot