[FFmpeg-devel] [PATCH] Revert "lavc/libx264: remap X264_LOG_INFO loglevel from AV_LOG_INFO to VERBOSE"

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Sep 13 00:01:22 CEST 2012

You should not need to enable verbose logging and all the output that comes
with it in order to get things like the obtained bitrate from a first
pass encode. Many things parse this output.

Also, since it is marked as info in libx264, it should be marked as
info in libavcodec as well.

This reverts commit 911519caec2346fc7728bca9840ffc000e866161.
 libavcodec/libx264.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 27dadd4..f2f8990 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -79,7 +79,7 @@ static void X264_log(void *p, int level, const char *fmt, va_list args)
     static const int level_map[] = {
         [X264_LOG_ERROR]   = AV_LOG_ERROR,
-        [X264_LOG_INFO]    = AV_LOG_VERBOSE,
+        [X264_LOG_INFO]    = AV_LOG_INFO,
         [X264_LOG_DEBUG]   = AV_LOG_DEBUG

More information about the ffmpeg-devel mailing list