[FFmpeg-devel] [PATCH 3/3] avcodec/libx264: Reduce loglevel for SEI from INFO to VERBOSE

Ingo Brückl ib at wupperonline.de
Mon May 29 16:56:56 EEST 2017


AV_LOG_INFO is the default and meant for informational output.
The SEI is rather technical and of less interest to a common user.
---
 libavcodec/libx264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bf19332854..ac62904c0a 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -828,7 +828,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
         for (i = 0; i < nnal; i++) {
             /* Don't put the SEI in extradata. */
             if (nal[i].i_type == NAL_SEI) {
-                av_log(avctx, AV_LOG_INFO, "%s\n", nal[i].p_payload+25);
+                av_log(avctx, AV_LOG_VERBOSE, "%s\n", nal[i].p_payload+25);
                 x4->sei_size = nal[i].i_payload;
                 x4->sei      = av_malloc(x4->sei_size);
                 if (!x4->sei)
-- 
2.12.2



More information about the ffmpeg-devel mailing list