ffmpeg.libavutil.error

@file error code definitions

Members

Functions

av_strerror
int av_strerror(int errnum, char* errbuf, size_t errbuf_size)

Put a description of the AVERROR code errnum in errbuf. In case of failure the global variable errno is set to indicate the error. Even in case of failure av_strerror() will print a generic error message indicating the errnum provided to errbuf.

Manifest constants

AVERROR_BSF_NOT_FOUND
enum AVERROR_BSF_NOT_FOUND;

< Bitstream filter not found

AVERROR_BUFFER_TOO_SMALL
enum AVERROR_BUFFER_TOO_SMALL;

< Buffer too small

AVERROR_BUG
enum AVERROR_BUG;

< Internal bug, also see AVERROR_BUG2

AVERROR_BUG2
enum AVERROR_BUG2;

This is semantically identical to AVERROR_BUG it has been introduced in Libav after our AVERROR_BUG and with a modified value.

AVERROR_DECODER_NOT_FOUND
enum AVERROR_DECODER_NOT_FOUND;

< Decoder not found

AVERROR_DEMUXER_NOT_FOUND
enum AVERROR_DEMUXER_NOT_FOUND;

< Demuxer not found

AVERROR_ENCODER_NOT_FOUND
enum AVERROR_ENCODER_NOT_FOUND;

< Encoder not found

AVERROR_EOF
enum AVERROR_EOF;

< End of file

AVERROR_EXIT
enum AVERROR_EXIT;

< Immediate exit was requested; the called function should not be restarted

AVERROR_EXPERIMENTAL
enum AVERROR_EXPERIMENTAL;

< Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it.

AVERROR_EXTERNAL
enum AVERROR_EXTERNAL;

< Generic error in an external library

AVERROR_FILTER_NOT_FOUND
enum AVERROR_FILTER_NOT_FOUND;

< Filter not found

AVERROR_HTTP_BAD_REQUEST
enum AVERROR_HTTP_BAD_REQUEST;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_HTTP_FORBIDDEN
enum AVERROR_HTTP_FORBIDDEN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_HTTP_NOT_FOUND
enum AVERROR_HTTP_NOT_FOUND;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_HTTP_OTHER_4XX
enum AVERROR_HTTP_OTHER_4XX;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_HTTP_SERVER_ERROR
enum AVERROR_HTTP_SERVER_ERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_HTTP_UNAUTHORIZED
enum AVERROR_HTTP_UNAUTHORIZED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
AVERROR_INPUT_CHANGED
enum AVERROR_INPUT_CHANGED;

< Input changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_OUTPUT_CHANGED)

AVERROR_INVALIDDATA
enum AVERROR_INVALIDDATA;

< Invalid data found when processing input

AVERROR_MUXER_NOT_FOUND
enum AVERROR_MUXER_NOT_FOUND;

< Muxer not found

AVERROR_OPTION_NOT_FOUND
enum AVERROR_OPTION_NOT_FOUND;

< Option not found

AVERROR_OUTPUT_CHANGED
enum AVERROR_OUTPUT_CHANGED;

< Output changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_INPUT_CHANGED)

AVERROR_PATCHWELCOME
enum AVERROR_PATCHWELCOME;

< Not yet implemented in FFmpeg, patches welcome

AVERROR_PROTOCOL_NOT_FOUND
enum AVERROR_PROTOCOL_NOT_FOUND;

< Protocol not found

AVERROR_STREAM_NOT_FOUND
enum AVERROR_STREAM_NOT_FOUND;

< Stream not found

AVERROR_UNKNOWN
enum AVERROR_UNKNOWN;

< Unknown error, typically from an external library

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

Static functions

av_make_error_string
char* av_make_error_string(char* errbuf, size_t errbuf_size, int errnum)

Fill the provided buffer with a string containing an error string corresponding to the AVERROR code errnum.

Templates

AVERROR
template AVERROR(int e)

@addtogroup lavu_error

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

@addtogroup lavu_error

AVUNERROR
template AVUNERROR(int e)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FFERRTAG
template FFERRTAG(int a, int b, int c, int d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_err2str
template av_err2str(int errnum)

Convenience macro, the return value should be used only directly in function arguments but never stand-alone.

Meta