FFmpeg-Encoder-Decoder-for-Python icon indicating copy to clipboard operation
FFmpeg-Encoder-Decoder-for-Python copied to clipboard

[Feature] Loglevel silent everything

Open jhd-old opened this issue 1 year ago • 1 comments

Get started

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

jhd-old avatar Feb 22 '23 07:02 jhd-old