Tobias,
thanks. I wasn't aware of this possibility ;-)
1. "additional properties" allow me to add "eosremoterelease" to the
camera settings.
For capturing with bypassing the AF, I've then to use the newly added
"eosremoterelease" twice in a row,
once with setting 4 (full release) and then with setting 5
(immediately).
This indeed captures a photo with bypassing the autofocus.
After having used this once, the connection to the camera hangs at least
for 30 - 60 s
and I can neither change any settings (like f-stop) nor trigger any
capture commands any more.
Sometimes the commands (like capturing) fire a minute later or so.
I've played with different timeouts in gp_camera_wait_for_event in
camera_control.c but this didn't help.
2. "additional properties" do *not* allow me to add "autofocusdrive" to
the camera settings (autofocusdrive is not visible in the menu).
To summarize -- no luck with "additional properties", neither for
bypassing the AF when capturing, nor for triggering the AF.
--
Johannes
Am 2015-12-20 11:31, schrieb Tobias Ellinghaus:
Am Samstag, 19. Dezember 2015, 20:01:37 schrieb Dr. Johannes Zellner:
Hi,
I'm still trying to have a possibility in tethering to trigger
autofocus
(AF) manually but not automatically.
This is useful, if AF fails in a difficult scene -- currently, if AF
fails, capturing fails too.
Here's my idea:
Even if AF is turned on at the lens, gphoto2 allows to bypass AF when
capturing.
There are two possibilities how to do this:
*
Canon EOS cameras (and probably for others too) can be configured not
to
trigger AF when pressing down the capture button. AF is still possible
but it has to be done with a different button on the backside of the
body. If the camera is configured like this, gphoto2 allows to do AF
and
capturing independently from each other like this:
gphoto2 --set-config autofocusdrive=1 --wait-event=5s
gphoto2 --capture-image-and-download
*
there's also a second method to bypass AF which doesn't even need the
camera to be configured not to trigger AF when pressing the capture
button:
gphoto2 --set-config eosremoterelease=4 --set-config
eosremoterelease=5
--capture-tethered=5
For method 1. to be used from darktable, I tried to implement the
--set-config autofocusdrive=1 command in dt. Essentially I implemented
a
button (an eye symbol right from the manual focus buttons) which
triggers
dt_camctl_camera_set_property_int(darktable.camctl, NULL,
"autofocusdrive", 1);
This indeed triggers AF the first time I click on the newly
implemented
button and starts the camera's AF search.
Unfortunately, after having used this AF button once, the tethering
session hangs somehow and no further commands can be sent to the
camera.
Any help on how to implement this correctly would be much appreciated.
Did you try to use the "additional properties" in the bottom of the
camera
settings to use those gphoto2 commands?
Tobias
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]