VC2008编译FFmpeg
来源:互联网 发布:我的世界0.14.0家具js 编辑:程序博客网 时间:2024/06/08 17:50
由于VC不支持C99,需拷贝2个文件去替换VC的原始文件。下载inttypes.h stdint.h,替换C:\Program Files\Microsoft Visual Studio 9.0\VC\include下同名文件。
stdint.h:
- // stdint.h
- typedef char int8_t;
- typedef unsigned char uint8_t;
- typedef short int16_t;
- typedef unsigned short uint16_t;
- typedef int int32_t;
- typedef unsigned int uint32_t;
- typedef __int64 int64_t;
- typedef unsigned __int64 uint64_t;
- #define INT8_C(val) val##i8
- #define INT16_C(val) val##i16
- #define INT32_C(val) val##i32
- #define INT64_C(val) val##i64
- #define UINT8_C(val) val##ui8
- #define UINT16_C(val) val##ui16
- #define UINT32_C(val) val##ui32
- #define UINT64_C(val) val##ui64
- #define PRId64 "I64d"
- #define PRIi64 "I64i"
- #define PRIdLEAST64 "I64d"
- #define PRIiLEAST64 "I64i"
- #define PRIdFAST64 "I64d"
- #define PRIiFAST64 "I64i"
- #define PRIdMAX "I64d"
- #define PRIiMAX "I64i"
- #define PRIdPTR "Id"
- #define PRIiPTR "Ii"
- <span style="color: rgb(0, 0, 255);">#define</span> INT8_MIN ((int8_t)_I8_MIN)
- <span style="color: rgb(0, 0, 255);">#define</span> INT8_MAX _I8_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> INT16_MIN ((int16_t)_I16_MIN)
- <span style="color: rgb(0, 0, 255);">#define</span> INT16_MAX _I16_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> INT32_MIN ((int32_t)_I32_MIN)
- <span style="color: rgb(0, 0, 255);">#define</span> INT32_MAX _I32_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> INT64_MIN ((int64_t)_I64_MIN)
- <span style="color: rgb(0, 0, 255);">#define</span> INT64_MAX _I64_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> UINT8_MAX _UI8_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> UINT16_MAX _UI16_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> UINT32_MAX _UI32_MAX
- <span style="color: rgb(0, 0, 255);">#define</span> UINT64_MAX _UI64_MAX
inttypes.h:
- // inttypes.h
设置引用库:
avcodec.lib
avdevice.lib
avfilter.lib
avformat.lib
avutil.lib
postproc.lib
swresample.lib
swscale.lib
FFmpeg官网:http://ffmpeg.org
官方文档:http://ffmpeg.org/ffmpeg.html
软件下载:http://ffmpeg.org/download.html#releases
源码下载:Git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
Windows平台软件、开发包下载
32位:http://ffmpeg.zeranoe.com/builds/win32/
64位:http://ffmpeg.zeranoe.com/builds/win64/
[总结]FFMPEG视音频编解码零基础学习方法
最简单的基于FFMPEG的封装格式转换器(无编解码)
FFmpeg源代码简单分析:常见结构体的初始化和销毁(AVFormatContext,AVFrame等)
FFmpeg获取DirectShow设备数据(摄像头,录屏)
FFmpeg发送流媒体的命令(UDP,RTP,RTMP)
ffmpeg.c函数结构简单分析(画图)
0 0
- VC2008编译FFmpeg
- MinGw32+vc2008 编译 ffmpeg-3.3.2
- vc2008静态编译qt4
- VC2008 编译 QT4.7
- 使用VC2008编译sqlite
- VC2008下编译OpenSSL
- mangos vc2008编译问题
- boost 1.36 VC2008 编译:
- VC2008编译sqllite
- VC2008编译libthrift
- VC2008编译 配置 PortAudio
- UDT VC2008编译应用
- VC2008编译curl 库
- vc2008编译libjpeg
- OpenCV3.1-vc2008编译
- VC2008 编译 Openssl0.9.8K
- 用批处理编译VC2008工程
- VC2008 express编译QT4.5
- CUDA 编程--线程层次
- 调整数组顺序使奇数位于偶数前面
- linux运维-逻辑卷管理器
- Python matplotlib 线图(plt.plot())
- 如何修改Oracle占用8080端口与Tomcat冲突解决
- VC2008编译FFmpeg
- stringstream 函数产生随机数字字符串
- js对话框弹窗
- 正确使用String、StringBuffer、StringBuilder
- 黑马程序员 八、集合框架(2)
- DuiLib教程--从win32窗口开始
- 通过安装memadmin对memcache进行可视化管理
- 多个字符串的输出(指针数组、二级指针)
- 数据类型溢出