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

Stefano Sabatini stefasab at gmail.com
Fri Sep 14 14:39:31 CEST 2012


On date Thursday 2012-09-13 04:26:58 +0000, Loren Merritt encoded:
> 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.

We already do that. The problem is that we may need a more fine-tuned
logging system, so that we can tell it to specify the log level for
logs belonging to a certain category, or to a given component.
-- 
FFmpeg = Frightening & Foolish Minimal Puritan Enhancing Game


More information about the ffmpeg-devel mailing list