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

Fix KeyFrame generation rate increasing over time #65

Open
sdencanted opened this issue Jul 22, 2021 · 0 comments
Open

Fix KeyFrame generation rate increasing over time #65

sdencanted opened this issue Jul 22, 2021 · 0 comments

Comments

@sdencanted
Copy link

In frontend/fullsystem.cc Line 133, the members .a and .b of fh->aff_g2l() are both always 0. This causes refToFh in line 166 to increase gradually over time, which in turn causes the variable b in line 168 to be larger than 1 more frequently. This causes the keyframe generation and thus latency to increase over time significantly when running on long videos.

I was able to keep the keyframe generation rate stable by changing fh->aff_g2l() to fh->frame->aff_g2l, whose members .a and .b are non-zero.

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

No branches or pull requests

1 participant