Re: D90 : activate Liveview with USB for ManualFocus setting

Marcus Meissner <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
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
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.