使用ffmpeg sdk v3.2和vc6.0编译output_example.c
2010-09-04 02:07
417 查看
本文需要用的的文件都在我的网盘中,有需要的可以去下载
链接地址:http://xiaomeng008.ys168.com/
编译过程如下:
1:新建工程,名称为:TestFfmpeg。下载output_example.c文件(本文下面给出),将文件添加到TestFfmpeg工程中
2:拷贝sdk中的include文件夹下的所有文件到工程目录下,和output_example.c 在同一目录中
3:去掉output_example.c中的#include“snprintf.h”,
4: 将sdk中的lib文件夹拷贝到工程目录下,然后打开project-->settings->Link, Category选择Input,
在Additional Library path中填入:build-test\lib,
在Project options中增加avcodec.lib avdevice.lib avfilter.lib avformat.lib avutil.lib swscale.lib。
5.打开project-->settings->C/C++, Category选择Precompiled Headers, 选择not using precompiled headers.
6.将sdk的bin目录下的文件拷贝到build-test、Debug目录下。
本文出自 “志不强者智不达” 博客,请务必保留此出处http://marico.blog.51cto.com/1929668/387152
链接地址:http://xiaomeng008.ys168.com/
编译过程如下:
1:新建工程,名称为:TestFfmpeg。下载output_example.c文件(本文下面给出),将文件添加到TestFfmpeg工程中
2:拷贝sdk中的include文件夹下的所有文件到工程目录下,和output_example.c 在同一目录中
3:去掉output_example.c中的#include“snprintf.h”,
4: 将sdk中的lib文件夹拷贝到工程目录下,然后打开project-->settings->Link, Category选择Input,
在Additional Library path中填入:build-test\lib,
在Project options中增加avcodec.lib avdevice.lib avfilter.lib avformat.lib avutil.lib swscale.lib。
5.打开project-->settings->C/C++, Category选择Precompiled Headers, 选择not using precompiled headers.
6.将sdk的bin目录下的文件拷贝到build-test、Debug目录下。
本文出自 “志不强者智不达” 博客,请务必保留此出处http://marico.blog.51cto.com/1929668/387152
相关文章推荐
- 使用ffmpeg sdk v3.2和vc6.0编译output_example.c
- 使用ffmpeg sdk v3.2和vc6.0编译output_example.c
- 使用ffmpeg sdk v3.2和vc6.0编译output_example.c
- vc6.0编译时使用MFC静态库遇到的问题
- FFmpeg SDK使用实例output_example的分析之二
- VC6.0编译DLL,使用VS2010调用问题及解决方法
- VC6.0使用Greta的工程在VS2005中编译出现的问题:C2079,LNK1123,CVT1100等等
- [教程] 程序中使用MATLAB编译产生的DLL (VC6.0, MATLAB R2010a, mwArray)
- vc6.0使用DriverWizard.awx配置DDK驱动编译环境
- Ubuntu 16.04使用NASM编译时用ld链接程序出现:i386 架构于输入文件 sandbox.o 与 i386:x86-64 输出不兼容(I386 architecture in the input file sandbox.o is not compatible with i386: x86-64 output)
- 使用VC6.0编译C++代码的时候报错:fatal error C1071: unexpected end of file found in comment(Mark ZZ)
- 编译output-example.c
- log4cxx基于VC6.0的编译及使用
- 关于vc6.0下使用DirectX 9的中输入输出设备编译不同过的问题
- [转]VC6.0中编译和使用OpenSSL的过程
- [教程] 程序中使用MATLAB编译产生的DLL (VC6.0, MATLAB R2010b, mwArray)
- Windows平台下使用VC6.0编译libcurl
- 关于编译ffmpeg的output-example.c和api-example.c 错误的一些解决方法
- 关于vc6.0使用libxml库编译遇警告warning LNK4049: 已导入本地定义的符号 _xmlFree的解决方法
- 使用VC6.0集成开发环境编译设备驱动程序(一)