[FFmpeg-devel] [PATCH] lavf/utils: decrease logging level of dump_metadata from INFO to VERBOSE

Stefano Sabatini stefasab at gmail.com
Sun Jul 22 12:35:22 CEST 2012

On date Wednesday 2012-07-18 22:11:25 +0200, Clément Bœsch encoded:
> On Sun, Jul 15, 2012 at 05:03:48PM +0200, Nicolas George wrote:
> > L'octidi 28 messidor, an CCXX, Clément Bœsch a écrit :
> > > I'm not sure I like that very much; I often use ffprobe foobar.mp3 to see
> > > these metadata for example.
> > 
> > I think I agree with Stefano on this one. I have encountered files where the
> > output was so cluttered with junk metadata as to make it completely
> > unreadable.
> > 
> > Maybe we could make ffprobe default to -show_streams?
> > 
> What if the metadata is about the format?
> I believe metadata needs to be presented by default; you look at the
> properties of a file and you generally see these information.
> I also think it's important to see them while transcoding/transmuxing,
> because you see what meta information will be copied (and you might not
> want them), or will not.
> These meta are a pretty good summary of the file, I think it's nice to
> have them. Is it really a problem to have them displayed?
> I would propose to improve the coloring system if you want to add emphasis
> to more important/essential information. IIRC we now have 256 colors
> available.

OK patch dropped.

I suggest we could adopt this system. Right now we have log categories
and log levels, we could create a metadata category (if that doesn't
already exist), and allow some specification of the kind:
-loglevel [category:]level

which controls *only* the level of the category if specified.

So you could have
-loglevel metadata:quiet if you don't care about metadata.
FFmpeg = Foolish and Friendly Meaningless Problematic Extroverse Glue

More information about the ffmpeg-devel mailing list