ffmpeg.libavutil.log

Undocumented in source.

Members

Enums

AVClassCategory
enum AVClassCategory
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

AV_IS_INPUT_DEVICE
auto AV_IS_INPUT_DEVICE(T category)
Undocumented in source. Be warned that the author may not have intended to support it.
AV_IS_OUTPUT_DEVICE
auto AV_IS_OUTPUT_DEVICE(T category)
Undocumented in source. Be warned that the author may not have intended to support it.
AV_LOG_C
auto AV_LOG_C(T x)

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.

av_default_get_category
AVClassCategory av_default_get_category(void* ptr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_default_item_name
const(char)* av_default_item_name(void* ctx)

Return the context name

av_log
void av_log(void* avcl, int level, const(char)* fmt, ...)

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

av_log_default_callback
void av_log_default_callback(void* avcl, int level, const(char)* fmt, char* vl)

Default logging callback

av_log_format_line
void av_log_format_line(void* ptr, int level, const(char)* fmt, char* vl, char* line, int line_size, int* print_prefix)

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

av_log_format_line2
int av_log_format_line2(void* ptr, int level, const(char)* fmt, char* vl, char* line, int line_size, int* print_prefix)

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.

av_log_get_flags
int av_log_get_flags()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_log_get_level
int av_log_get_level()

Get the current log level

av_log_set_callback
void av_log_set_callback(void function(void*, int, const(char)*, char*) callback)

Set the logging callback

av_log_set_flags
void av_log_set_flags(int arg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_log_set_level
void av_log_set_level(int level)

Set the log level

av_vlog
void av_vlog(void* avcl, int level, const(char)* fmt, char* vl)

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

Manifest constants

AV_LOG_DEBUG
enum AV_LOG_DEBUG;

Stuff which is only useful for libav* developers.

AV_LOG_ERROR
enum AV_LOG_ERROR;

Something went wrong and cannot losslessly be recovered. However, not all future data is affected.

AV_LOG_FATAL
enum AV_LOG_FATAL;

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.

AV_LOG_INFO
enum AV_LOG_INFO;

Standard information.

AV_LOG_MAX_OFFSET
enum AV_LOG_MAX_OFFSET;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AV_LOG_PANIC
enum AV_LOG_PANIC;

Something went really wrong and we will crash now.

AV_LOG_PRINT_LEVEL
enum AV_LOG_PRINT_LEVEL;

Include the log severity in messages originating from codecs.

AV_LOG_QUIET
enum AV_LOG_QUIET;

Print no output.

AV_LOG_SKIP_REPEATED
enum AV_LOG_SKIP_REPEATED;

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

AV_LOG_TRACE
enum AV_LOG_TRACE;

Extremely verbose debugging, useful for libav* development.

AV_LOG_VERBOSE
enum AV_LOG_VERBOSE;

Detailed information.

AV_LOG_WARNING
enum AV_LOG_WARNING;

Something somehow does not look correct. This may or may not lead to problems. An example would be the use of '-vstrict -2'.

Structs

AVClass
struct AVClass

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

AVOptionRanges
struct AVOptionRanges
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta