diff --git a/src/rtpstreamer.cpp b/src/rtpstreamer.cpp index ab391a8..e975431 100644 --- a/src/rtpstreamer.cpp +++ b/src/rtpstreamer.cpp @@ -19,6 +19,7 @@ extern "C" { #include #include +#include #include #include } @@ -56,6 +57,8 @@ void RTPStreamer::allocResources() { if(codecCtx != nullptr) return; + av_log_set_level(AV_LOG_QUIET); // Suppress misleading log output due to not existing encoder hardware, we're doing our own error handling and logging + const AVCodec* codec; std::vector codecNames {"h264_nvenc", "h264_qsv", "h264_vaapi", "libx264"}; for (const auto &codecName : codecNames) {