4 #include <libavformat/avformat.h>
5 #include <libavfilter/avfilter.h>
6 #include <libavutil/error.h>
9 #ifndef AV_ERROR_MAX_STRING_SIZE
10 #define AV_ERROR_MAX_STRING_SIZE 64
19 avfilter_register_all();
25 av_strerror(code, err,
sizeof(err));
26 return std::string(err);
std::string getDescriptionFromErrorCode(const int code)
Get the string description corresponding to the error code provided by ffmpeg/libav.
void preloadCodecsAndFormats()
Register all the codecs and formats which are enabled at configuration time.
#define AV_ERROR_MAX_STRING_SIZE