
ffmpeg
摩西2016
这个作者很懒,什么都没留下…
展开
-
FFmpeg的IO分析
FFmpeg在使用之前,必须先调用av_register_all。void av_register_all(void){ static AVOnce control = AV_ONCE_INIT; ff_thread_once(&control, register_all);}这个函数又通过ff_thread_once调用了register_all,ff_thre原创 2017-09-16 13:04:33 · 762 阅读 · 0 评论 -
FFmpeg架构之I/O模块分析
本文转自http://blog.youkuaiyun.com/leixiaohua1020/article/details/12752223注意:这篇转载的文章比较早,写得很清晰,但是新版的ffmpeg的很多数据结构的名字已经改了。因此只能作参考。(例如ByteIOContext已经改名为AVIOContext)1概述ffmpeg项目的数据IO部分主要是在libav转载 2017-09-16 13:53:18 · 569 阅读 · 0 评论 -
FFmpeg读取Mac摄像头的问题
在这篇文章http://blog.youkuaiyun.com/leixiaohua1020/article/details/39702113中讲解了怎么使用FFmpeg读取摄像头,包括Windows,Linux和Mac。经过测试,发现在Mac 下avformat_open_input总是出错,提示Input/Output error。后来发现对于Mac下通过avfoudmation读取摄像头,需要提前设置f原创 2017-09-16 16:15:12 · 3423 阅读 · 0 评论 -
ffmpeg链接问题
在c++文件中引用ffmpeg头文件需要加extern “C” extern “C” { #include “libavcodec/avcodec.h” #include “libavformat/avformat.h” #include “libswscale/swscale.h” };原创 2018-08-03 01:31:38 · 704 阅读 · 0 评论