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 issue when extracting all frames from a video. #2413

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

SharkWipf
Copy link
Contributor

We should always be using -vsync vfr, even when extracting all frames.
Not doing so results in many times more frames extracted than we expect (i.e. 37891 vs 4143 in my case), and they're not even "real" useful frames.
Not something you would normally run into if you're doing things right, but in doing some A/B testing of different methods of preprocessing, I ran into it anyway.

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing

@tancik tancik merged commit 77ac7d0 into nerfstudio-project:main Sep 8, 2023
4 checks passed
maturk pushed a commit that referenced this pull request Sep 11, 2023
* Remove superfluous num_frames

* process_data video: Always use -vsync vfr, even when extracting all images.
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

Successfully merging this pull request may close these issues.

None yet

2 participants