FFmpeg——视频解码——转YUV并输出——av_image函数介绍

视频解码通常步驺 1.准备上下文 AVFormatContext AVCodec AVCodecContext 2.准备上下文的原子对象 AVFrame AVPacket 3.配置解码器 一种是直接find decoder输入AVCodecID便可 另外一种是按AVFormatContext->streams[st_index_video]->codecpar->codec_id来find dec
相关文章
相关标签/搜索