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
相關文章
相關標籤/搜索