Skip to content
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

Calibrator: Allow for multiple zoom values, could be interpolated later #28

Open
AdrianEddy opened this issue Feb 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@AdrianEddy
Copy link
Collaborator

For example Sony saves focal length per every frame, so we can calibrate a few focal lengths on a zoom lens (eg. 28mm, 35mm, 70mm) and then interpolate between them on every frame. This will allow to support videos where user zooms in and out

@AdrianEddy AdrianEddy added the enhancement New feature or request label Feb 3, 2022
@AdrianEddy
Copy link
Collaborator Author

AdrianEddy commented Sep 29, 2022

With latest dev build and Sony cameras, there is support for zoom lenses, ie. zoom can be changing throughout the video.

If you're using Blackmagic, it also works, but the focal lengths reported by the camera are not smooth (they are whole values, without fractions), so with Blackmagic you won't be able to dynamically change zoom during the video, but you can have one lens profile which will automatically adapt to your current zoom value.

In order to use that, you need to calibrate a few focal lengths manually, then take first lens profile, edit it and add interpolations section by copying the camera_matrix and distortion_coeffs from other profiles/focal lengths.

Example here: https://github.com/gyroflow/lens_profiles/blob/main/Sony/Sony_a7sIII_Tamron%2028-200_4k_16by9_3840x2160-59.94fps.json#L75-L95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant