FFmpeg学习
狂奔的魚
Life is too short to learn C++...
展开
-
FFmpeg——av_read_frame()
int av_read_frame(AVFormatContext *s, AVPacket *pkt){ const int genpts = s->flags & AVFMT_FLAG_GENPTS; int eof = 0; int ret; AVStream *st; if (!genpts) { ret = s->internal->packet_buffer ? ff_packet_原创 2020-05-29 10:38:46 · 378 阅读 · 0 评论 -
FFmepg:AVPacket源码完整解析
av_init_packetvoid av_init_packet(AVPacket *pkt){ pkt->pts = AV_NOPTS_VALUE; pkt->dts = AV_NOPTS_VALUE; pkt->pos = -1; pkt->duration = 0;#if FF_API_CONVERGENCE_.原创 2020-05-20 10:08:01 · 1147 阅读 · 2 评论 -
FFmpeg——filters
简要分析 ffmpeg最基本的5个过滤器组合 (仅以音频处理为例)AVFilterContext* [5]:AVFilterContext* [0]->name = "Parsed_anull_0" AVFilterContext* [0]->filter->name = "anull" AVFilterContext* [0]->filter->desc...原创 2020-04-15 18:23:43 · 387 阅读 · 0 评论 -
FFmpeg学习心得
单独编译FFmpeg某一模块的功能的时候,需要自行选取include和lib,往往会出现各种问题首先是LINK2001或者LINK2019 ERRO,没有添加正确的DLL文件。此时需要用到VS自带的一个工具Dumpbin.exe 进行dll依赖分析C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\...原创 2020-02-12 10:12:33 · 216 阅读 · 0 评论