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

Slow when opening videos with no index #21

Closed
Finalfantasykid opened this issue Aug 2, 2021 · 1 comment
Closed

Slow when opening videos with no index #21

Finalfantasykid opened this issue Aug 2, 2021 · 1 comment

Comments

@Finalfantasykid
Copy link
Owner

Some programs do not include an index in the videos which can drastically slow down the program execution. A solution might be to do something like VLC does and prompt the user to build the index (this would rewrite the video file). For now you can manually build the index by running the following:

ffmpeg -i input.avi -map 0 -c copy output.avi

@Finalfantasykid
Copy link
Owner Author

Upgrading opencv to version 4.5.5 has partially fixed this. It otherwise is probably not very fixable.

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