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

Silence Error Messages #272

Open
lancylot2004 opened this issue Jul 28, 2023 · 0 comments
Open

Silence Error Messages #272

lancylot2004 opened this issue Jul 28, 2023 · 0 comments

Comments

@lancylot2004
Copy link

Not a bug report, but a request for a bit of help...

Is there a way to disable to disable (error) messages from underlying programmes?

I'm doing the following to check whether a video is corrupt, millions of times:

try:
    vr = VideoReader(path)
    # video is fine...?
except Exception:
    # video is not fine...?

But the error messages, such as ffmpeg's moov atom not found is obstructing my output. Is there any way to disable them?

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