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

Dynamic Smothness - zoom to "not more than XX%" #658

Open
1 task done
temp-64GTX opened this issue Jun 8, 2023 · 10 comments
Open
1 task done

Dynamic Smothness - zoom to "not more than XX%" #658

temp-64GTX opened this issue Jun 8, 2023 · 10 comments
Labels
enhancement New feature or request
Milestone

Comments

@temp-64GTX
Copy link

Is there an existing feature request for this?

  • I have searched the existing requests

Description

Good morning. Me again.

I have some idea. Let me explain.
For example - i have a footage. And i set this smoothing parameters for it:

000

Ok. As we can see below - footage have a moment, when camera making 90-degrees turn, it visible at Yaw-axis graphic, and we also see that zoom rises at this range.
So that - on a quiet-footage-part we have Zoom 65%, and on a 90-degrees-turn-part we have Zoom 182%.

00a

01a

Of course i can enable keyframing, and leave smoothness=1 on a quiet-parts, and lower it to 0.01 on a turn-part. In that way we will align zoom-graphic to more or less horizontal line. Zoom 65% on a quiet-part, and Zoom 72% on a turn-part. But when i do it "by hands" - it will be so much inaccurate, messy, and takes much of time.

02a

In previous screenshots was just one peak. But one footage can have dozens of peaks with different hight, and it can be dozens of that footages.

04a

Bottom line. My main idea is to make an option to "set zoom - no more than XXX%, and program will automatically adjust Smoothness parameter". For example - set soom to "not more than 75%". And Gyroflow will do almost same as i did with that keyframes, but muuuuuch more accurate, with much more iterations, and much more smooth. Yes, it will need to do some calculations. But that's what computers are made for - make calculations.

01aaa

So. In that way - complex footages will look suuuuuper smooth on low bumps. And zoom will not goes to extreme 999% values on a high bumps and sharp turns. I think it will be a great feature.

@temp-64GTX temp-64GTX added the enhancement New feature or request label Jun 8, 2023
@AdrianEddy AdrianEddy added this to the 1.6.0 milestone Jun 8, 2023
@AdrianEddy
Copy link
Collaborator

If you reset everything to default and use just the "Max smoothness at high velocity" until Max zoom displays your desired max zoom level, it will be exactly what you described. I understand that you want to input max zoom level directly but using just this one slider will be equivalent

@temp-64GTX
Copy link
Author

temp-64GTX commented Jun 13, 2023

Well, not exactly.
It works only for biggest peak. But if footage is a little bit more complex than one peak - then it's not completely effective.
Let's look at this graphic that i draw for better explanation.

10

For my test footage i need to lower "Max smoothness at high velocity" value to 0.02 to make biggest peak fit 100% zoom. But other peaks, that have zoom 90%, 80%, 70% - camera movement look a little bit sharpy at them.
If i rise "Max smoothness at high velocity" to 1, then biggest peak will fly to space. But. Other peaks (90%, 80%, 70%) will also raise. At ≈10%. To 100%, 90%, 80%, which is ok. And they looks smoother than before. Because they can be smoother. So if we animate "smoothness" parameter - then we can save those peaks smoothing, and we can bring main peak down from space to 100%. This is the point. That's why i call it "dynamic smoothness adjustment". To make camera movements as smooth as possible at every time slice. At all areas of the footage, not at the only one main biggest zoom peak.

@relaxxgit
Copy link

+1 for this
i always have this situation and Max smoothness at high velocity don't do exactly what we want.
Please support it.

@MR444
Copy link

MR444 commented Aug 15, 2023

+2 for this
I also wish to have that function.

@temp-64GTX
Copy link
Author

Yep, i think it can be a great killer-feature. One-button solution.
And it will be no longer need to create this amount of keyframes:

kf

@MR444
Copy link

MR444 commented Aug 18, 2023

"Max smoothness at high velocity"

Where can I find that setting? Edit. Translation is wrong, I will switch back to English. Edit: Okay Adrian was faster :) Edit: How can I change the language when English is not my system default language?

@AdrianEddy
Copy link
Collaborator

Expand the "Advanced" section
image

@relaxxgit
Copy link

Yep, but
"It works only for biggest peak" - as temp wrote.

@millerk310
Copy link

this is similar to a feature I've wanted... Minimum Zoom. Or max zoom ratio. If it has to zoom in a lot on a 4k video to stabilize that's fine, but I don't want it zooming ALL the way out, then ALL the way back in for shaky sections. Seems like there should be a way I can just zoom in the whole video so it never goes wider than that. If I change FOV it changes the whole zoom meaning instead of zooming to 150% at max, now it will zoom to 200% at max. Isn't there a way to just set the minimum zoom or lock it at the max zoom, so it doesn't zoom in and out at all? Like if it needs to zoom to 150% then just leave the entire video length at that zoom level. Seems like I must be just not finding the feature?? If so, can someone please let me know?

@AdrianEddy
Copy link
Collaborator

Isn't there a way to just set the minimum zoom or lock it at the max zoom, so it doesn't zoom in and out at all

That option is called Static zoom

@AdrianEddy AdrianEddy modified the milestones: 1.7.0, 1.6.0 May 27, 2024
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

5 participants