1 Star 5 Fork 0

卟败灬筱龙 / iOSFFmpegBuildScript

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

FFmpeg iOS build script

测试环境:

  • FFmpeg 5.0
  • Xcode 13.2.1 (13C100)
  • MacOS 11.6.1 (20G221)

注意事项

  • 4.4+ 无法编译Audiotoolbox
  • 5.0+ 仅支持iOS13及以上

编译依赖

使用方法

设定FFMpeg架构

# i386 抛弃吧
# armv7 也抛弃吧
# x86_64 Intel专用 M1模拟器也是ARM64的
# arm64

# 选择编译架构
ARCHS="x86_64 arm64"
# 最低支持版本 2022年了建议iOS11起
DEPLOYMENT_TARGET="11.0"

设定编译FFMpeg版本

# 编译FFmpeg版本
FFMPEG_VERSION="5.0"

进入到当前目录直接执行脚本即可,如遇无法执行,可能是文件权限问题

cd ios-ffmpeg-build-script-ilongge
chmod +x build-ffmpeg.sh
./build-ffmpeg.sh   

使用依赖

  • VideotoolBox
  • Audiotoolbox
  • libz.dylib
  • libbz2.dylib
  • libiconv.dylib

Thanks

本脚本是摘抄自 FFmpeg-iOS-build-script

学习后加以改造

感谢原作者!!!

Gitee仓库 Github仓库

Repository Comments ( 0 )

Sign in to post a comment

About

ios-ffmpeg-build-script-ilongge expand collapse
Cancel

Releases (13)

All

iOSFFmpegBuildScript

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/ilongge/ios-ffmpeg-build-script-ilongge.git
git@gitee.com:ilongge/ios-ffmpeg-build-script-ilongge.git
ilongge
ios-ffmpeg-build-script-ilongge
iOSFFmpegBuildScript
master

Search