[FFmpeg-trac] #3388(undetermined:new): Prefix each log message with appropriate log level

FFmpeg trac at avcodec.org
Sun Feb 16 02:07:10 CET 2014


#3388: Prefix each log message with appropriate log level
-------------------------------------+-------------------------------------
               Reporter:  burek      |                  Owner:
                   Type:             |                 Status:  new
  enhancement                        |              Component:
               Priority:  wish       |  undetermined
                Version:             |               Keywords:
  unspecified                        |               Blocking:
             Blocked By:             |  Analyzed by developer:  0
Reproduced by developer:  0          |
-------------------------------------+-------------------------------------
 It would be nice to prefix each loglevel message in the ffmpeg output with
 message's actual log level. This would be useful for people that want to
 parse the stderr and distinguish various levels of messages (like this
 one: http://ffmpeg.gusari.org/viewtopic.php?f=11&t=1275 ).

 For example:
 {{{
 ...
 LOGLEVEL 1: Info: Incompatible sample format 's16' for codec 'libvorbis',
 auto-selecting format 'flt'
 LOGLEVEL 2: Warning: [libvorbis @ 0xaae84c0] No channel layout specified.
 The encoder will use Vorbis channel layout for 6 channels.
 Output #0, ogg, to 'target.ogv':
   Metadata:
     title           : title
 ...
 }}}

 I hope you get the point. The idea is to prefix each log message with the
 loglevel that produced that message.

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


More information about the FFmpeg-trac mailing list