From: rough_neck <rou...@ya...> - 2013-05-31 03:25:29
|
Hello thanks for the suggestions, Yes, I too tried it for several hours, many different combinations. When I try your commands I can capture one preview, but after that it fails with unspeficied error (-1) if I try to capture another preview. So I issue the commnad you suggest gphoto2 --set-config controlmode=1 --set-config focusmode2=4 After issuing this command I need to keep getting previews, and also keep issuing manualfocusdrive commands until I get the camera to focus on what I want, then take the picture. However it will not take the picture while in preview mode, keeps saying "...PTP device busy..." It easy on canon, but nikon has problems. Seems Nikon has a giant state machine inside and we have to figure out how to get it into the right state so that its possible to do it. I seen other software that can control the nikon focus while viewing the preview, then taking the picture, so it should be possible somehow. rough ________________________________ From: Marcus Meissner-4 [via gPhoto] <ml-...@n7...> To: rough_neck <rou...@ya...> Sent: Thursday, May 30, 2013 4:00 PM Subject: Re: ANNOUNCEMENT: libgphoto2 and gphoto2 2.5.2?release On Wed, May 29, 2013 at 06:25:21AM -0700, N S wrote: > > Yes manually focus means using gphoto "autofocusdrive" config parameter to change the focus while in live view mode. > > Take a picture is by using gphoto2 --capture_image. > > With canon it works, meaning I can go into live view mode, change the focus, take a picture, change the focus, take a picture, repeat and the camera does it without auto refocusing, or leaving live view mode. > > However, trying the same thing with nikon doesnt work. I can go into live view, and change the focus using gphoto, but when I try to take a picture after focusing in live view, it says something like "error.....device busy....". > > Since it wont let me take a picture while in live view, I exit live view after focusing with autofocusdrive config, then use gphoto to take the picture, but when it takes the picture, it does autofocus changing whatever I had focused on. > > It either won't take the picture, or does autofocus first. > > I have nikon D7000 and a Canon rebel xsi. > > > Is there anyway to make it work with Nikon? I have been experimenting for the last hours, it is a bit hard to get deterministic behaviour. The trick that likely works is to set manual focus mode. To set manual focus mode via commandline: gphoto2 --set-config controlmode=1 --set-config focusmode2=4 (controlmode=1 means that you transfer also the main manual controls to the host.) gphoto2 --get-config focusmode2 gets all possible values. Ciao, Marcus ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Gphoto-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gphoto-devel ________________________________ If you reply to this email, your message will be added to the discussion below:http://gphoto.10949.n7.nabble.com/ANNOUNCEMENT-libgphoto2-and-gphoto2-2-5-2-released-tp13189p13296.html To unsubscribe from ANNOUNCEMENT: libgphoto2 and gphoto2 2.5.2 released, click here. NAML -- View this message in context: http://gphoto.10949.n7.nabble.com/ANNOUNCEMENT-libgphoto2-and-gphoto2-2-5-2-released-tp13189p13298.html Sent from the gphoto-devel mailing list archive at Nabble.com. |