-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Really slow focus on FE 2.9/90mm on A7RII and suggestion for some improvements #9
Comments
The number of shots is limited by the focusing range, which is divided into discrete steps. For the lenses I tested, the total range consists of 120 steps. |
Thanks, for the reply, the detail with macro lenses is that the path of the barrel is much longer in a shorter distance, for example the distance between 0.92 feet and 1.5 feet is much longer in a macro but the app detects that it is short and gives only a few shots. I upload a video of the operation of the app with this lens and the other two I have. I hope that helps in something |
Interesting. Focusing ranges appear to be the same, but focusing speed could indeed be improved. |
ok , I think I understand about the focusing range, but about the the speed of focus I think it has to do something with barrel turns difference between MF and AF lens , the camera always in MF . example for better understanding. |
Wow, wait, so this works on the a7rII but not the a7r? Should I try installing the latest version (eg: the new one might work) or is it more that there is a bug specific to the a7r? I am using the same 90mm lens. |
Try this, Put the lens the 90mm, in Auto Focus (the ring up), but the camera focus mode in manual, thats the only way that works on A7RII, its slow but works you will notice that you have to do a lot of turns more for focus. |
I have completed a full removal and reinstall of version 1.2. It still locks up/hangs when I press O at the max position and then the app no longer responds. I have tried your method as described, with the lens on AF and camera setting to be on DMF and MF without any luck. |
It's possible that your camera does not support the method I use to adjust focus. |
I have this lens too and i can confirm it shoots bracketed photos but focusing is very slow. Lens focus ring on AF, camera settings MF. The first thing I think could help is just to reverse focusQueue (https://github.com/obs1dium/FocusBracket/blob/master/app/src/main/java/com/obsidium/focusbracket/FocusActivity.java#L234). Here is why: First you set minimum focus. After that you set maximum focus. Therefore the focus ring is in the maximum focus position. When starting shooting the app first moves focus to the minimum position. On 90mm lens this takes a long time. If we start shooting from the maximum position and move to the minimum after we will save some time at the beginning. Made PR #15 Another option is to first pick maximum focus position and pick minimum focus position after. |
You could try and check if the FocusDriveListener gets called at all with that lens. |
If |
Err, right. I thought I was checking the focus position in another place as well, but apparently not. |
This reminds me of a problem I had when doing a similar thing for Magic Lantern (Canon). Now, I'm very new to Sony, so I can't say for sure that the problem is the same. But the issue I had with focusing on the Canon system was that the discrete steps in the focusing range behaved totally different depending on the lens. E.g. sometimes the discrete steps were linear with focusing distance, sometimes the relationship was logarithmic, and especially with cheaper lenses there was hardly a correlation between the two. There was one lens where focussing increments required +4 to actually move the lens one step. And when that lens was steered with +1 increments it would simply not move at all (and therefore freeze the program). I also found a rather wild variety in the total number of steps that any lens would support. My theory at the time was that it depended on the motor system of the lens. E.g. a stepper motor can be controlled very discretely. But other motor types might not. If that makes any sense... In the end I found no other way (at least for the difficult lenses) than to record the stepping range into a hard coded dictionary, mapped against their linear distance. Ugly as hell, I know :-) That said, I tested this FocusBracket app on my Sony A6000. With the Sony 50mm 1.8 it is very slow (but it works). With the 18-105mm OSS it works much faster. B.t.w. thanks for the app Obs1dium! Regards, |
Thanks for the insight, it could very well be that these kinds of issues also affect Sony cameras and lenses. I recently upgraded from the A5100 to an A6000, and surprisingly focusing with the kit lens is extremely slow now. Not sure why that is, loomitz mentioned in the first post that this camera/lens combination works smoothly. The only other two autofocus lenses I own (Sigma 19 and 30) are working fine. |
Hello obs1dium, I finally had some time to play with your focusbracket application. And first of all I take my hat off to you! Getting that far while starting from so little is really impressive! And I can only imagine how often you must have opened that LOG.TXT to figure out what the heck was going on. Because a lot in that CameraEx API is not very intuitive, to say the least. So, thumbs up to you obs1dium! Regarding this variation in speed across systems/lenses, I made some observations that I think might be interesting;
Now, based on these LIMITED and PRELIMINARY statistics, I took the freedom to test your code with the following speed calculation: if (absDiff > 10) And focusbracket now works significantly faster. I tested it with all 3 lenses on my A6000 and found no problems. But a bit more testing on different systems would be welcome. Just to be safe. If we want to push it even a bit further we might try to set speed = 4 to speed = 5 in the above code. But that is under the assumption that 5 is a valid speed on all systems. I have NOT tested that (yet). Regards, B.t.w. I can't get shiftFocusPosition to do anything either, except for freezing the system... Explanation of the test setup: I drove the focusing system roughly 100 times for every speed. Then recorded the actual focus position and divided by 100. For some speeds the number of calls had to be a lot less because only a couple calls would already drive focus to max. The results in this sheet give an idea of the relative movement of the focusing system when driven by a single call. |
Following up on my previous post; For those who want to try faster focusing with the unproven speed of 5, here is a setting that works fine on my system and with all of my lenses:
Please note that:
I have experimented a little bit with this setting too:
But I feel that the gain in speed is marginal. And it makes my zoomlens hunt at the widest setting. It comes out of the hunting eventually. But it makes the whole thing actually become slower rather than faster. So... I would advise not to go there. Grtz and have a nice weekend! |
Got it to install on A7R2, but it doesn't work Does not work with my native lens or my adapted Canon lenses. |
@fotovideoguy and how is your problem related to this issue? 🙄 |
I still have not had any luck with gettingthe app to work. I have the lens in AF mode, and set the camera to MF mode, as well, but still no luck. Really would like to know why it works on some A7R2 anot not others. Thanks and looking forward to any input that helps to get this working. |
@fotovideoguy this issue is about slow focusing with 90mm macro lens as the title says. Please search for issue related to your topic. |
first of all thanks for your work, I tested the program with the a7RII and I can say it works well, I've testing with the lens, F2.8 GM 24-70 (this works fast and exceptionally) with 90mm F2.8 macro (focus takes a long time to start) and a canon lens adapted with metabones and I can say it works seamlessly with the new metabones native mode, focus a little slow but it works.
Also prove with my a6000 APSC lenses, the 55-210 and 16-50, they work smoothly.
I think the lens that giveme trouble was sadly the more necessary, it would be the 90mm macro, for some reason, with this lens the number of shots is really limited some times only 8 (which I think is easier to solve) and the speed of focus is very slow.
thanks for your attention, and if i can help im something im happy to try.
The text was updated successfully, but these errors were encountered: