[FFmpeg-devel] [PATCH] add colours to warnings and errors
Sebastian Vater
cdgs.basty
Thu Apr 22 22:10:03 CEST 2010
Hi again Mans!
M?ns Rullg?rd a ?crit :
> Did you ask them? FFmpeg currently prints:
>
> 1. FFmpeg version and copyright. This is impossible to silence.
> 2. Build date and compiler version. Impossible to silence.
> 3. configure options used. Impossible to silence.
> 4. Version of all libs, twice. Impossible to silence.
> 5. Input/output stream dump.
> 6. Frame counter.
>
> This usually amounts to 20-30 lines of useless information (most of
> the time it's just repeating what's already on the command line). A
> one-line error message is easily lost in that jungle.
>
> IMO the default output should be cut down to substantially as most of
> that is only useful for debugging problems. We'd obviously insist on
> running with -v 1 (or something) for bug reports.
>
What about adding a log level: AV_LOG_SILENT?
This will make ffmpeg act like cp, mv, etc. which only output sth. if
there's a problem.
Maybe we can even AV_LOG_SILENT be default and add a --verbose command
line switch? If not already there...
Just my 2 cents on this.
--
Best regards,
:-) Basty/CDGS (-:
More information about the ffmpeg-devel
mailing list