系列文章:
https://blog.csdn.net/fdsafwagdagadg6576/article/details/122774122
FFmpeg音视频编码流程_fdsafwagdagadg6576的专栏-CSDN博客
本文是附录1,2的笔记
一 解码流程图
1. av_register_all(); 注册所有组件
2.AVFormatContext *avFormatContext = avformat_alloc_context(); 拿到封装格式上下文
3.avformat_open_input 打开文件
4.avformat_find_stream_info(avFormatContext, NULL) 查找音频流信息
5.avcodec_find_decoder(avCodecCtx-&