-
Notifications
You must be signed in to change notification settings - Fork 17
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
capture_preview is slow / opens up the shutter #2
Comments
This is really curious, since I'm using the exact same function in the C API that piggyphoto does ( The only difference I can see is that we are freeing the camera resources after every call, while piggyphoto does so only when Can you edit the If so, I'll gladly add a keyword argument with similar semantics to |
I had the same issue with my Nikon D7200. After commenting out all @exit_after it works like expected. +1 for a leave_locked like behaviour. |
@jbaiter I'm experiencing the same problem as @sontek and @happy77. Removing the |
Thank you both for the confirmation!
Absolutely, unfortunately I currently don't have my cameras with me, but will have an opportunity to get my hands on them again in two weeks. I'll cook up a solution until then and release it when I was able to test it.
It would, however I don't like the ergonomics of that :-) I'm thinking of adding a with cam.leave_locked():
for i in range(100):
cam.get_preview() |
I totally agree with you. It's an ugly workaround, not a solution.
Sounds like a sound solution to me. |
This should be fixed now, right? See #21 |
I have code in piggy photo for using liveview to give a preview of what the camera is showing:
and this is instant and I can basically use it as a webcam from the SLR. With gphoto2 cffi I tried the same thing and its extremely slow as it retakes the photos everytime:
Do you know why gphoto2-cffi requires the shutter and everything to get a preview where as piggyphoto can leave it open?
The text was updated successfully, but these errors were encountered: