Opened 10 years ago

Closed 10 years ago

#3388 closed enhancement (duplicate)

Prefix each log message with appropriate log level

Reported by: burek Owned by:
Priority: wish Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (1)

comment:1 by Carl Eugen Hoyos, 10 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.