mac下ffmpeg交叉编译与安装
来源:互联网 发布:维也纳会议 知乎 编辑:程序博客网 时间:2024/05/08 18:42
1、ffmpeg二进制包下载
ffmpeg-2.2.tar.bz2
2、解压配置,编译i386-OS版本
sh-3.2# ./configure --prefix=/usr/local/i386/ --arch=i386 --cpu=i386 --extra-cflags='-arch i386' --extra-ldflags='-arch i386'
sh-3.2# make
sh-3.2# make install
3、编译i386-Simulator版本
sh-3.2# ./configure --prefix=/usr/local/i386 --enable-cross-compile --arch=i386 --target-os=darwin --cc='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/ --cpu=i386 --disable-yasm
sh-3.2# make
sh-3.2# make install
4、合并版本
sh-3.2# lipo
5、使用
6、附加问题:
GNU assembler not found, install gas-preprocessor
https://github.com/yuvi/gas-preprocessor/blob/master/gas-preprocessor.pl
拷贝到/usr/bin下。
#chmod 777 gas-preprocessor.pl
1、ffmpeg二进制包下载
ffmpeg-2.2.tar.bz2
2、解压配置,编译i386-OS版本
sh-3.2# ./configure --prefix=/usr/local/i386/ --arch=i386 --cpu=i386 --extra-cflags='-arch i386' --extra-ldflags='-arch i386'
sh-3.2# make
sh-3.2# make install
3、编译i386-Simulator版本
sh-3.2# ./configure --prefix=/usr/local/i386 --enable-cross-compile --arch=i386 --target-os=darwin --cc='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/ --cpu=i386 --disable-yasm
sh-3.2# make
sh-3.2# make install
4、合并版本
sh-3.2# lipo
5、使用
6、附加问题:
GNU assembler not found, install gas-preprocessor
https://github.com/yuvi/gas-preprocessor/blob/master/gas-preprocessor.pl
拷贝到/usr/bin下。
#chmod 777 gas-preprocessor.pl
- mac下ffmpeg交叉编译与安装
- MAC下编译ffmpeg之安装homebrew
- 在mac 下编译 安装 ffmpeg
- Linux下ffmpeg交叉编译
- Mac下编译FFmpeg
- mac下编译ffmpeg
- mac下编译ffmpeg
- MAC下编译ffmpeg
- ubuntu下ffmpeg的编译与安装
- Mac OS下编译ffmpeg
- mac下编译FFmpeg-Android
- Mac OS 下编译ffmpeg
- Mac xcode5下编译ffmpeg
- ubuntu下NDK9交叉编译ffmpeg
- linux下ffmpeg库 ARM交叉编译
- ffmpeg安装与编译
- ubuntu10.10 下(交叉编译)编译安装 libvpx和ffmpeg——webm的编译安装
- mac下ffmpeg的安装与简单使用
- MPMoviePlayerController 缓存在线视频
- fzu Problem 2154 YesOrNo
- C++基础(一)构造函数、析构函数、拷贝构造函数
- oracle学习,基础语法(一)
- 数据结构与程序架构(三)
- mac下ffmpeg交叉编译与安装
- 文档结构视图(2)
- centOS安装scikit-learn
- PuTTy Connection Manager
- 遍历三维骨架
- 文档结构视图(3)
- 发福利啦!学Spark课程送Spark技术峰会的门票........
- fzu 2155 盟国 并查集的增删
- 有道 VS [csdn]