From cde77ddc7541e510a83d3e01aab5abfc3a56fbfb Mon Sep 17 00:00:00 2001 From: xufuji456 <839789740@qq.com> Date: Tue, 14 Dec 2021 09:27:08 +0800 Subject: [PATCH] Add: FFmpeg_sourcecode.md --- README.md | 1 + doc/FFmpeg_sourcecode.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 doc/FFmpeg_sourcecode.md diff --git a/README.md b/README.md index eaced2d..e4d3c88 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ### [FFmpeg官方文档](https://ffmpeg.org/) ### [FFmpeg编译流程](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/FFmpeg_compile_shell.md) ### [FFmpeg常用命令行](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/FFmpeg_command_line.md) +### [FFmpeg源码分析](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/FFmpeg_sourcecode.md) ### [JNI与NDK开发](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/JNI_develop_practice.md) ### [音视频知识汇总](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/multimedia_knowledge.md) ### [ijkplayer播放器架构](https://github.com/xufuji456/FFmpegAndroid/blob/master/doc/player_framework.md) diff --git a/doc/FFmpeg_sourcecode.md b/doc/FFmpeg_sourcecode.md new file mode 100644 index 0000000..3b435bf --- /dev/null +++ b/doc/FFmpeg_sourcecode.md @@ -0,0 +1,15 @@ +# 前言 +FFmpeg是一个跨平台的多媒体库,也是目前音视频领域应用最广泛的库。包括libavcodec、libavformat、libavutil、
+libavdevice、libavfilter、libswscale、libswresample、libpostproc等模块。其中avcodec用于编解码,
+avformat用于解封装,avutil是提供工具类,avdevice用于各平台的设备接入,avfilter提供滤镜操作,
+swscale提供图像缩放与像素格式转换,swresample提供音频重采样,postproc提供高级处理。
+在这里,按照每个模块功能进行分析,如有错漏不当之处,敬请指出。
+ +### 1:AVIOContext、IO模型与协议 +[AVIOContext结构体](https://blog.csdn.net/u011686167/article/details/121452343) + +### 2:AVFormatContext连接FFmpeg的桥梁 +[AVFormatContext](https://blog.csdn.net/u011686167/article/details/121483584) + +### 3:AVCodecContext编解码器上下文 +[AVCodecContext](https://blog.csdn.net/u011686167/article/details/121506335)