dmlc / dmlc/decord

Silence Error Messages

Open
#272 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.