1、打印调试方法 AVCodecContext *avctx 在创建解码上下文的时候,对其中的debug成员进行赋值,如: avctx->debug = FF_DEBUG_MMCO; 另外 log.c文件中 av_log_level 要赋值