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

Application ends before censoring all the video #10

Open
marco1539 opened this issue May 19, 2022 · 1 comment
Open

Application ends before censoring all the video #10

marco1539 opened this issue May 19, 2022 · 1 comment

Comments

@marco1539
Copy link

Hello, I'm trying to censor gopro videos. The app starts without problem, but it ends at around 3% with the message that the process has been completed successfully.
The .mkv output file is correctly censored, but it does not contain the entire length of the input file.

Do you have any idea of what I can do?
Thank you for any help you can provide.

Screenshot (47)

@tfaehse
Copy link
Owner

tfaehse commented Jun 6, 2022

Hi @marco1539! Sorry for the late reply.

Theoretically, the loop to go through the whole video is incredibly simple - a CV2 video capture that stops when grabbing the next frame doesn't return True:

This should only happen when the end of a video is reached, but maybe the file is damaged? Does it happen with all files?

tfaehse pushed a commit that referenced this issue Jul 24, 2022
* add pre commit hooks, make cli.py executable add shebang

* changing argparse

* add ffmpeg flag for sperical video, remove added .pt extension if it exists twice

* change isort config to multi_line_output=5, remove imported but unused

* add shebang to main, signal
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

2 participants