func LogSetLevel(level int) { C.av_log_set_level(C.int(level)) }
func init() { C.avcodec_register_all() C.av_register_all() C.av_log_set_level(C.AV_LOG_VERBOSE) }
func SetLogLevel(level LogLevel) { C.av_log_set_level(C.int(level)) }
func init() { C.av_log_set_level(C.AV_LOG_QUIET) C.av_register_all() }