集成ffmpeg/x264:ERROR: libx264 not found的问题
来源:互联网 发布:怎样在淘宝上刷订单 编辑:程序博客网 时间:2024/06/04 05:38
转至:http://blog.sina.com.cn/s/blog_54b5ea250100r53o.html
集成ffmpeg/x264:ERROR: libx264 not found的问题 --拔剑集成ffmpeg/x264碰到如下问题: ERROR: libx264 not found察看config.log,详细信息如下: check_lib x264.h x264_encoder_encode -lx264 check_header x264.h check_cpp BEGIN /tmp/ffconf.isuazGlg.c 1 #include <x264.h> 2 int x; END /tmp/ffconf.isuazGlg.c gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFIL E_SOURCE -U__STRICT_ANSI__ -I/d/MinGW/msys/1.0/include -std=c99 -fno-common -fom it-frame-pointer -E -o /tmp/ffconf.ClhyDYvC.o /tmp/ffconf.isuazGlg.c C:/DOCUME~1/ibm/LOCALS~1/Temp/ffconf.isuazGlg.c:1:18: fatal error: x264.h: No su ch file or directory^M compilation terminated.^M ERROR: libx264 not found:所以实际原因是x264 make install 的东西ffmpeg configure没有找到x264.h这个文件。查看我的x264make install的结果,有: install -d /usr/local/bin install -d /usr/local/include install -d /usr/local/lib install -d /usr/local/lib/pkgconfig install -m 644 x264.h /usr/local/include install -m 644 x264_config.h /usr/local/include install -m 644 libx264.a /usr/local/lib install -m 644 x264.pc /usr/local/lib/pkgconfig install x264.exe /usr/local/bin ranlib /usr/local/lib/libx264.a install -m 755 libx264-115.dll /usr/local/bin install -m 644 libx264.dll.a /usr/local/lib因此,只要在配制configure时,添加额外的include/link路径应该能够解决问题,即增加开关: --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib这个需要根据你x264编译、安装的实际配制修改。Finally, the configure command for ffmpeg ischanged to :$./configure --enable-memalign-hack --enable-ffserver --enable-network --enable-protocols --enable-muxers --disable-yasm --enable-shared --enable-w32threads --enable-libx264 --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib 运行,一切无误!
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- Mac(Android)集成ffmpeg/x264:ERROR: libx264 not found的问题
- 安装ffmpeg配置x264播放器的时候出现 ERROR: libx264 not found
- ffmpeg ERROR: libx264 not found
- ffmpeg + x264 编译提示libx264 not found 的解决方法
- ffmpeg 安装时ERROR: libx264 not found 异常的解决
- 集成ffmpeg/x264:ERROR: libx264 n…
- ERROR: libx264 not found
- ERROR: libx264 not found
- FFmpeg 按转 libx264 遇到 “libx264 not found”
- 安装FFmpeg x264支持到时候遇到了 “libx264 not found”
- CentOS Compile ffmpeg libx264 not found
- libx264 not found
- 5.mini2440触摸屏校准和手势识别(裸机)
- 实现了一个跑马灯(marquee)
- 贪心的心得
- Use Wireshark to Decrypt HTTPS
- vc6.0用c改变字体颜色
- 集成ffmpeg/x264:ERROR: libx264 not found的问题
- Tigase+PidGin的搭建(一)
- 数学之路(2)-数据分析-R基础(15)
- Eclipse下Struts2配置和Struts2处理流程
- 面试题
- sizeof与strlen的区别
- HTML基础(二):css postion 的详细解释
- 【转]】身份证号码前6位
- 验证数字的正则表达式集