Go to the source code of this file.
Print no output.
Something went really wrong and we will crash now.
Something went wrong and recovery is not possible.
Something went wrong and cannot losslessly be recovered.
Something somehow does not look correct.
Standard information.
Detailed information.
Stuff which is only useful for libav* developers.
Extremely verbose debugging, useful for libav* development.
Sets additional colors for extended debugging sessions.
Skip repeated messages, this requires the user app to use
av_log() instead of (f)printf as the 2 would otherwise interfere and lead to "Last message repeated x times" messages below (f)printf messages with some bad luck.
Include the log severity in messages originating from codecs.
Include system time in log output.
Include system date and time in log output.
enum
AVClassCategory {
AV_CLASS_CATEGORY_NA = 0
,
AV_CLASS_CATEGORY_INPUT
,
AV_CLASS_CATEGORY_OUTPUT
,
AV_CLASS_CATEGORY_MUXER
,
AV_CLASS_CATEGORY_DEMUXER
,
AV_CLASS_CATEGORY_ENCODER
,
AV_CLASS_CATEGORY_DECODER
,
AV_CLASS_CATEGORY_FILTER
,
AV_CLASS_CATEGORY_BITSTREAM_FILTER
,
AV_CLASS_CATEGORY_SWSCALER
,
AV_CLASS_CATEGORY_SWRESAMPLER
,
AV_CLASS_CATEGORY_HWDEVICE
,
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40
,
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
,
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
,
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
,
AV_CLASS_CATEGORY_DEVICE_OUTPUT
,
AV_CLASS_CATEGORY_DEVICE_INPUT
,
AV_CLASS_CATEGORY_NB
}
Send the specified message to the log if the level is less than or equal to the current av_log_level.
Send the specified message to the log once with the initial_level and then with the subsequent_level.
void void void
av_vlog (void *avcl, int
level, const char *fmt, va_list vl)
Send the specified message to the log if the level is less than or equal to the current av_log_level.
Get the current log level.
Set the logging callback.
Default logging callback.
Return the context name.
Format a line of log the same way as the default callback.
Format a line of log the same way as the default callback.
Macro Definition Documentation
◆ AV_IS_INPUT_DEVICE
◆ AV_IS_OUTPUT_DEVICE
#define AV_IS_OUTPUT_DEVICE
(
category )
Value:
@ AV_CLASS_CATEGORY_DEVICE_OUTPUT
@ AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
Definition at line 64 of file log.h.
Referenced by is_device().
Enumeration Type Documentation
◆ AVClassCategory
| Enumerator |
|---|
| AV_CLASS_CATEGORY_NA |
| AV_CLASS_CATEGORY_INPUT |
| AV_CLASS_CATEGORY_OUTPUT |
| AV_CLASS_CATEGORY_MUXER |
| AV_CLASS_CATEGORY_DEMUXER |
| AV_CLASS_CATEGORY_ENCODER |
| AV_CLASS_CATEGORY_DECODER |
| AV_CLASS_CATEGORY_FILTER |
| AV_CLASS_CATEGORY_BITSTREAM_FILTER |
| AV_CLASS_CATEGORY_SWSCALER |
| AV_CLASS_CATEGORY_SWRESAMPLER |
| AV_CLASS_CATEGORY_HWDEVICE |
| AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT |
| AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT |
| AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT |
| AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT |
| AV_CLASS_CATEGORY_DEVICE_OUTPUT |
| AV_CLASS_CATEGORY_DEVICE_INPUT |
| AV_CLASS_CATEGORY_NB | not part of ABI/API
|
Definition at line 28 of file log.h.
◆ AVClassStateFlags
| Enumerator |
|---|
| AV_CLASS_STATE_INITIALIZED | Object initialization has finished and it is now in the 'runtime' stage.
This affects e.g. what options can be set on the object (only AV_OPT_FLAG_RUNTIME_PARAM options can be set on initialized objects).
|
Definition at line 50 of file log.h.