gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
720 stars 116 forks source link

gPhoto2 - Nikon D3200 Autofocus Disable with Capture Image #333

Open sakibnaz opened 4 years ago

sakibnaz commented 4 years ago

Hi.

Is there any way to disable Autofocus when Capture Image. In D3200 there is no "-focusmode2" config available. Also "-focusmode" and "-500a" booth are ReadOnly so not able to set Focus Mode to Manual.

/main/capturesettings/focusmode Label: Focus Mode Readonly: 1 Type: RADIO Current: Manual Choice: 0 Manual Choice: 1 AF-S Choice: 2 AF-C Choice: 3 AF-A Choice: 4 Unknown value 8013 END

/main/other/500a Label: Focus Mode Readonly: 1 Type: MENU Current: 1 Choice: 0 1 Choice: 1 32784 Choice: 2 32785 Choice: 3 32786 Choice: 4 32787 END

Please advise if there any other option.

Thanks.

msmeissn commented 4 years ago

There is a NIKON setting "autofocus"
gphoto2 --set-config autofocus=off can you try that? It changes the behaviour of the capture commands.

sakibnaz commented 4 years ago

Hi @msmeissn.

Autofocus by default is Off.

root@cubie:~# gphoto2 --get-config autofocus Label: Autofocus Readonly: 0 Type: RADIO Current: Off Choice: 0 On Choice: 1 Off END

However, I did run "autofocus=off" and capture-image but D3200 still did Autofocus.

Any other advise, please?

Thanks.

sakibnaz commented 4 years ago

Hi @msmeissn .

Any advise how to stop Auto-focus in D3200?

Thanks.

frankenstein91 commented 3 years ago

same for D5100

nykfank commented 2 years ago

Same problem with the Nikon D7500! Any help, someone?