Re: D90 : activate Liveview with USB for ManualFocus setting
Robert VISEUR <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thank you very much for your help. According to my experience with Nikon D90, Nikon D300 and Canon EOS 500, the support for D90 in gphoto2 is problematic, for example capture-image-and-download doesn't work (but it is fine with Canon EOS), I must do a capture-image followed by a get-all-images with a pause between the two commands. In the example that was given below, capture-image doesn't work because of "PTP Device Busy" error. Do you have a feedback about that ? I intend to test three things : - Update the firmware of the D90 in order to check if it solves problems. - Test the proposed code with a Nikon D750 in order to compare the behavior with Nikon D90 (I lack the appropriate squared USB cable). - Test the proposed code with a Canon EOS in order to compare the behavior with Nikon. If you are interested in my tests I will post on the user mailing list after doing them. Regards, Robert. Le 2017-07-11 09:01, Marcus Meissner a écrit : > On Mon, Jul 10, 2017 at 05:21:16PM -0700, Michal wrote: >> You can enable liveview only with "capture-preview" or "capture-movie" >> commands, but the catch is you can't use them simultaneously with >> focus >> setting and taking a photo commands when using gphoto in CLI mode. >> >> So you have to run gphoto in shell mode and 1. enable liveview, 2. set >> focus, 3. take the photo. gphoto shell commands for that look >> something like >> this: >> >> gphoto2 --shell >> gphoto2: /> capture-preview >> Saving file as capture_preview.jpg >> gphoto2: /> set-config /main/actions/manualfocusdrive=-500 >> gphoto2: /> capture-image-and-download >> >> Then you set new focus value and take another photo. Check if it works >> and >> if it does we can talk about interactive mode scripting. > > Yes, correct. > > But it probably is better to use a program using libgphoto2 ... > > darktable e.g. implements this (but seems only doing the Canon > variant). > > Ciao, Marcus > > ------------------------------------------------------------------------------ > 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 _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user