[FFmpeg-trac] #3382(ffmpeg:new): Add severity level to ffmpeg log formatting

FFmpeg trac at avcodec.org
Fri Feb 14 02:22:41 CET 2014


#3382: Add severity level to ffmpeg log formatting
--------------------------------+---------------------------------------
             Reporter:  abc123  |                     Type:  enhancement
               Status:  new     |                 Priority:  normal
            Component:  ffmpeg  |                  Version:  git-master
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug:
 FFmpeg CLI only uses terminal colors to distinguish between different
 categories of logging messages. If console colors are disabled or stderr
 redirected, it becomes impossible to determine the severity of a log
 event.

 How to reproduce:
 {{{
 % ffmpeg -i input ... output
 ffmpeg version
 built on ...

 [rawvideo @ 0x9f8c640] Encoder did not produce proper pts, making some up.
 }}}

 I propose changing the format string to produce something like this:
 [rawvideo @ 0x9f8c640] [WARNING] Encoder did not produce proper pts,
 making some up.

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3382>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list