FFmpeg-Encoder-Decoder-for-Python
FFmpeg-Encoder-Decoder-for-Python copied to clipboard
[Feature] Loglevel silent everything
Get started
- [X] I have read Contributing guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have confirmed that my issue is not duplicated with an existing issue.
Problem
First of all, thank you very much for this amazing library!
Everything works great, but my console will be flooded at every start of the stream with following errors: [h264 @ 000001e5995c6340] no frame! [h264 @ 000001e5995c6340] non-existing PPS 0 referenced
After a few seconds everything works fine. But it would be fine to be able to dump every log (including the errors).
Required feature
My suggestion would be to add another dumplevel:
This value could be -1 (show nothing), 0 (only show errors), 1 (show basic logs), 2 (show detailed logs).
Which should correspond to ffmpegs parameter: loglevel="silent"
Alternative solution
No response
mpegCoder version
3.2.4
Additional context
No response