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

Loren Merritt lorenm at u.washington.edu
Thu Sep 13 06:26:58 CEST 2012

On Thu, 13 Sep 2012, Stefano Sabatini wrote:

> On date Wednesday 2012-09-12 18:01:22 -0400, Derek Buitenhuis encoded:
> > 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.
> We discussed this on IRC, and since the new behavior is apparently
> annoying to many users which rely on parsing ffmpeg/libx264 output,
> I'm fine with reverting it.
> BUT: I still find the log output issued by libx264 at the info level
> pretty annoying (and decreasing S/N ratio), also since that info is
> useful for parsing maybe an option should be added to put that info in
> a log file rather than in the application log. This should be fixed in
> libx264 I guess.

libx264 already sends the info through a callback. You can plug in fprintf
if you want.

--Loren Merritt

More information about the ffmpeg-devel mailing list