ffmpeg Windows下编译遇到的问题
来源:互联网 发布:mac版ps cs6序列号 编辑:程序博客网 时间:2024/05/21 13:15
编译工具:MinGW+msys+vs2012
编译就三个步骤:
1. 配置 (这里可以配置一些第三方依赖库) ./configure --enable-yasm --enable-shared --disable-static --enable-memalign-hack --enable-libfreetype --enable-avfilter --enable-libx264 --enable-gpl --enable-avresample --enable-error-resilience --prefix=c:/ffmpeg-dll
2.make
3.make install
出现的问题:
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
1. 配置./configure的时候 出现gcc无法找到, 我是连接上了我vs2012的,肯定是有gcc编译器的,我第一时间想到的是防火墙,后来看了下电脑管家和杀毒软件一直开着,关了就好了,还不行的话卸载了,因为有些软件是很霸道的。
2. 集成yasm 和 x264的时候遇到问题,这需要下载源码自行编译和安装
3. 编译出来的dll,我在调用添加水印那块的时候,发现这个一直返回-22,网上说的是参数错误,我的情况不是,而是因为我编译配置的时候没加字体引擎
//将一串通过字符串描述的Graph添加到FilterGraph中。
if ((ret = avfilter_graph_parse_ptr(filter_graph, myPlayer->filter_descr,
&inputs, &outputs, NULL)) < 0)
{
getchar();
return -1;
}
字体引擎(--enable-libfreetype),这个东西可以去下载一个,当然我的是自己编译出来的,然后放在解码dll同一目录
- ffmpeg Windows下编译遇到的问题
- 在windows下编译ffmpeg中遇到的一些问题
- 编译ffmpeg遇到的问题
- windows下Qt编译遇到的问题
- winGW下编译ffmpeg遇到的问题(转载)
- Windows下的ffmpeg编译
- Windows下的ffmpeg编译
- Windows下的ffmpeg编译
- Windows下的ffmpeg编译
- windows下ffmpeg的编译
- 交叉编译ffmpeg遇到的问题
- ffmpeg在编译中遇到的问题
- 编译FFmpeg遇到的问题,放弃了
- ffmpeg编译过程遇到的问题
- 在VS2013编译FFmpeg遇到的问题
- 【FFmpeg】Windows下FFmpeg编译
- 【FFmpeg】Windows下FFmpeg编译
- 【FFmpeg】Windows下FFmpeg编译
- 测试管理:你该如何去保证测试执行的质量?
- 使用condition实现顺序执行线程
- 20171218
- Wing IDE for Mac(Python开发工具)附破解补丁和破解教程 V6.0.8-2破解版
- 制作索引图 labelme
- ffmpeg Windows下编译遇到的问题
- log记录
- 论一个糟糕的大数据码农的自我修养
- MySql基础使用
- mydumper工具介绍
- Python基础-常用内建模块 datetime
- web.xml(WEB-INF)
- H5页面中有关视频的一些问题
- react-native的state