ffmpeg for mac osx 64bit 小记
来源:互联网 发布:java 日志框架 编辑:程序博客网 时间:2024/05/17 03:47
由于之前编译了其他平台,所以直接拿用过的脚本来修改,然后直接make
第一次make发现添加到XCode工程里面出现链接错误,是使用了硬解码vda接口
解决方法:手动修改config.h和config.mak文件,把里面涉及vda和hw的宏去掉(应该有其他解决方法,因为硬件加速是自动检测支持vda然后开启的)
第二次make发现添加到XCode工程出现链接错误,是使用了iconv接口
解决方法:XCode工程设置-->Build Phases--》Link Binary With Libraries--> 里添加 libiconv.dylib
网上有类似的错误:(我的是x86_64)
Undefined symbols for architecture i386:
"_iconv", referenced from:
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
"_iconv_close", referenced from:
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
_avcodec_open2 in libavcodec.a(utils.o)
"_iconv_open", referenced from:
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
_avcodec_open2 in libavcodec.a(utils.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
最后编译ffmpeg/doc/sample里面的decode_encode的例子通过,命令行运行可以进行编码和解码工程(这里没有讲到x264,但实际需要编译x264并编译到ffmpeg中),暂告一段落;
- ffmpeg for mac osx 64bit 小记
- static FFmpeg binaries for Mac OS X Intel 64bit
- Mac osx ffmpeg aac
- Mac OSX ffmpeg 硬件加速
- compile ffmpeg for windows 64-bit
- FFMpeg & x264 compile for using with Android NDK on Mac OSX
- Mac OSX 上OpenCV环境搭建小记
- ffmpeg for mac
- qmake for simple makefile on mac osx
- INSTALL PIP FOR MAC OSX TERMINAL
- 配置gitosis for mac osx and ubuntu
- Qt for Android on Mac OSX部署
- INSTALL PKG-CONFIG FOR MAC OSX
- Mac OSX x86 10.4.6 安装小记(1)
- ffmpeg for mac 编译iOS
- Compiling 64-bit FFmpeg on Mac OS X Lion or Snow Leopard
- Compiling 64-bit FFmpeg on Mac OS X Lion or Snow Leopard
- mac osx
- 辛星浅析Linux中的lib
- ASLA Codec架构
- 杭电 HDU 2034 人见人爱A-B
- 互联网架构
- Java文件映射共享内存
- ffmpeg for mac osx 64bit 小记
- schedule()函数
- MAC Eclipse 快捷键
- LeetCode - Find Minimum in Rotated Sorted Array
- 读rails圣经笔记
- IE浏览器下js执行new Date('2015-03-26')时会返回undefined值
- brk和sbrk函数
- HttpServletRequest对象方法的用法
- GTK - 实现学生管理系统的图形界面! 详细代码,请发邮件到651134397@qq.com