2 Star 3 Fork 2

简单点 / FFmpeg-iOS-build-script

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

FFmpeg-iOS-build-script

iOS平台编译FFmpeg的脚本,可能包含多个FFmpeg版本,不同版本可能支持不同的第三方库等。

FFpmeg 3.4.2:

支持x264、fdk-aac、freetype字库、opencore-amr,封板代码进行了裁减。 封版Release:3.4.2.1.0.0

FFpmeg 4.2:

支持x264、fdk-aac、opencore-amr、openssl,封板代码进行了裁减。

编译前工作

  • 进入对应的版本文件夹,比如*FFmpeg-ios-build-script-master/4.2
  • 修改需要运行的脚本文件权限:chmod -R 777 *.sh

编译参数说明

./build-ffmpeg-iOS.sh `平台类型` `SDK最低版本` `第三方库是否编译进库` `是否重新编译第三方库`

编译

  • FFmpeg一键编译
    ./build-ffmpeg-iOS.sh

    #需注意Mac和Xcode版本

  • FFmpeg单平台编译 编译arm64平台、SDK Min Version 8.0的所有第三方的ffmpeg库: ./build-ffmpeg-iOS.sh arm64 8.0 all 编译x86平台、SDK Min Version 8.0的带x264的ffmpeg库: ./build-ffmpeg-iOS.sh x86 8.0 x264 yes

MIT License Copyright (c) 2020 Eafy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

iOS平台编译FFmpeg的脚本,可能包含多个FFmpeg版本,不同版本可能支持不同的第三方库等 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/HE2014/FFmpeg-iOS-build-script.git
git@gitee.com:HE2014/FFmpeg-iOS-build-script.git
HE2014
FFmpeg-iOS-build-script
FFmpeg-iOS-build-script
master

搜索帮助