ubuntu下使用ffmpeg avformat

    xiaoxiao2023-11-13  134

    avformat_open_input 打开失败返回ret=-1330794744,

    使用av_strerror(ret,buf,1024);查看报错内容

    ptintf("avformat_open_input error %d,%s\n",ret,buf);//打印值为avformat_open_input error -1330794744,Protocol not found

    问题原因:ffmpeg编译选项没有未勾选文件协议 --enable-protocols(具体是哪个协议不清楚全部勾选了)

     

    最新回复(0)