Opened 6 years ago

Closed 6 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


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: ).

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':
    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 Changed 6 years ago by cehoyos

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.