#include "conf.hpp" extern "C"{ #include #include #include } namespace ffwrapper{ void makeTheWorld(){ av_register_all(); avfilter_register_all(); avformat_network_init(); av_log_set_level(AV_LOG_VERBOSE); } std::string getAVErrorDesc(const int code){ char err[64]; av_strerror(code, err, sizeof(err)); return std::string(err); } }