Opened 11 years ago
Closed 10 years ago
#3382 closed enhancement (fixed)
Add severity level to ffmpeg log formatting
Reported by: | abc123 | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avutil |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Attachments (1)
Change History (3)
by , 11 years ago
comment:1 by , 11 years ago
Priority: | normal → wish |
---|---|
Status: | new → open |
I believe an option will be needed to enable this additional output but please send your patch to the ffmpeg-devel mailing list for a proper review.
comment:2 by , 10 years ago
Component: | ffmpeg → avutil |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Implemented in 669a09fb by jfbvxt at gmail
example patch to add log level to message