<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I'm trying to prevent ffmpeg from even emitting logs above a particular loglevel specific to a context, e.g. a AVFormatContext. That's because I don't even want the callback to be called in those cases, just have them dropped entirely. I cannot set the loglevel because that is global.<br><br></div>Looking at <a href="https://ffmpeg.org/doxygen/2.7/log_8c_source.html#l00358">https://ffmpeg.org/doxygen/2.7/log_8c_source.html#l00358</a> I can see that the contexts have a AVClass with some kind of level offset for setting the level of that class. But there doesn't seem to be a api way of changing the level for these contexts as far as I can tell.<br><br></div>It wasn't even clear to me what that level was since it seems to be added up. And also I don't know if that sets it for the entire class or just this instance?<br><br></div>Is there a way to set the loglevel specific to a AVFormatContext, AVCodecContext etc?<br><br></div>Thanks,<br></div>Matt<br></div>