Sets additional colors for extended debugging sessions. @code av_log(ctx, AV_LOG_DEBUG|AV_LOG_C(134), "Message in purple\n"); @endcode Requires 256color terminal support. Uses outside debugging is not recommended.
Return the context name
Send the specified message to the log if the level is less than or equal to the current av_log_level. By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function. @see av_log_set_callback
Default logging callback
Format a line of log the same way as the default callback. @param line buffer to receive the formatted line @param line_size size of the buffer @param print_prefix used to store whether the prefix must be printed; must point to a persistent integer initially set to 1
Format a line of log the same way as the default callback. @param line buffer to receive the formatted line; may be NULL if line_size is 0 @param line_size size of the buffer; at most line_size-1 characters will be written to the buffer, plus one null terminator @param print_prefix used to store whether the prefix must be printed; must point to a persistent integer initially set to 1 @return Returns a negative value if an error occurred, otherwise returns the number of characters that would have been written for a sufficiently large buffer, not including the terminating null character. If the return value is not less than line_size, it means that the log message was truncated to fit the buffer.
Get the current log level
Set the logging callback
Set the log level
Send the specified message to the log if the level is less than or equal to the current av_log_level. By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function. @see av_log_set_callback
Stuff which is only useful for libav* developers.
Something went wrong and cannot losslessly be recovered. However, not all future data is affected.
Something went wrong and recovery is not possible. For example, no header was found for a format which depends on headers or an illegal combination of parameters is used.
Standard information.
Something went really wrong and we will crash now.
Include the log severity in messages originating from codecs.
Print no output.
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. Also to receive the last, "last repeated" line if any, the user app must call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
Extremely verbose debugging, useful for libav* development.
Detailed information.
Something somehow does not look correct. This may or may not lead to problems. An example would be the use of '-vstrict -2'.
Describe the class of an AVClass context structure. That is an arbitrary struct of which the first field is a pointer to an AVClass struct (e.g. AVCodecContext, AVFormatContext etc.).