FFmpeg研究
文章平均质量分 79
cugkuan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
fffmpeg void av_log_set_flags(int arg)函数阅读
阅读的第一个函数就是 av_set_flags(int arg)函数av_log_set_flags(AV_LOG_SKIP_REPEATED);AV_LOG_SKIP_REPEATED宏定义的说明是:/** * Skip repeated messages, this requires the user app to use av_log() instead of *原创 2013-12-26 15:30:47 · 2374 阅读 · 0 评论 -
ffmpeg 注册函数
看完了av_log_set_flags(AV_LOG_SKIP_REPEATED); parse_loglevel(argc, argv, options);这两个函数接下来就是一系列的注册函数1. avcodec_register_all();该函数在allcodecs.c ,allcodecs.c在libavcodec包中 该函数的注释为:/** * Registe原创 2013-12-27 16:13:11 · 1926 阅读 · 0 评论 -
ffmpeg parse_options函数解析
void parse_options(void *optctx, int argc, char **argv, const OptionDef *options,void (*parse_arg_function)(void *, const char*))函数解析现在终于要分析这个函数了,从注释来看就是解析命令行参数/** * Parse the command line argum原创 2013-12-28 17:01:00 · 6621 阅读 · 0 评论 -
ffmpeg main函数
int main(int argc, char **argv){ int64_t ti; av_log_set_flags(AV_LOG_SKIP_REPEATED); parse_loglevel(argc, argv, options); avcodec_register_all();#if CONFIG_AVDEVICE avdevice_re原创 2013-12-26 10:22:15 · 1527 阅读 · 0 评论 -
ffmpeg parse_loglevel(argc, argv, options)函数解析
接下来看看 parse_loglevel(argc, argv, options)这个函数,从函数名字来看就是解析“loglevel”,看看注释是怎么样的/** * Find the '-loglevel' option in the command line args and apply it. */翻译过来就是发现 “-loglevel”参数在命令中,并且执行运用它。原创 2013-12-26 15:27:50 · 2989 阅读 · 1 评论 -
ffmpeg在linux下面的编译和导入eclipse
分为二部分,第一部分是ffmpeg的编译,第二部分是如何导入eclipse第一部分 ffmpeg在linux下面的编译 1、下载ffmpeg。 在网上搜索一下,或者到官方网站下载 使用git命令下载源代码的的命令为: git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg原创 2014-01-13 10:26:22 · 1674 阅读 · 0 评论 -
linux eclipse开发C动态库的配置(ffmpeg动态库配置)
本文章针对初学者开始使用ffmpeg的动态库来写自己的程序,那么如何使用ffmpeg编译通过的动态库呢?1.编译好ffmpeg(关于如何编译参考另一篇文章)2.把ffmpeg编译安装路径下面的inlude文件夹下的文件和lib文件夹拷贝到自己的工程里面。3.配置动态库的位置: 右键单击工程名 ->properties->Settoings->GCCLinker->Li原创 2014-01-13 11:00:48 · 1346 阅读 · 0 评论
分享