File tree 2 files changed +17
-21
lines changed
2 files changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,20 @@ At present MRFFToolChain contained OpenSSL、FFmpeg 、libyuv、libopus、libblu
54
54
└── pull-repo-ref.sh
55
55
```
56
56
57
- ## ## Download Pre Compiled
57
+ ## Download Precompiled Edition
58
58
59
59
可以跳过自己编译,直接从github上下载预编译好的库,节省时间!
60
+ 预编译库分为 ijk 版和 github 版,其区别是 ijk 版本打了 extra/patches/ffmpeg 目录下的补丁。
60
61
61
- ``` bash
62
- # 下载 iOS 平台的预编译库
63
- ./download-pre.sh ios
64
- # 下载 macOS 平台的预编译库
65
- ./download-pre.sh macos
66
- # 下载 ios 和 macOS 平台的预编译库
67
- ./download-pre.sh all
68
- ```
62
+ - 下载 ijk 版预编译库:./download-pre.sh ijk
63
+ - 下载 github 版预编译库:./download-pre.sh github
64
+
65
+ 可指定平台:
66
+
67
+ - 下载 ijk 版 iOS 平台的预编译库:./download-pre.sh ijk ios
68
+ - 下载 ijk 版 macOS 平台的预编译库:./download-pre.sh ijk macos
69
+ - 下载 github 版 iOS 平台的预编译库:./download-pre.sh github ios
70
+ - 下载 github 版 macOS 平台的预编译库:./download-pre.sh github macos
69
71
70
72
## Init Lib Repo
71
73
@@ -164,11 +166,4 @@ cd macos
164
166
165
167
1、如果不同的平台需要编译不同的库,只需要在 apple/compile-cfgs 目录下,建立 list_PLAT.txt 文件即可,PLAT 为对应的平台,比如 ios,macos 等;默认情况下按照 list.txt 里声明的顺序编译各个库。
166
168
167
- 2、ffmpeg 的配置需要分平台指定,只需要在 ffconfig 目录下创建 module_PLAT.sh 文件即可,PLAT 为对应的平台,比如 ios,macos 等;默认情况下根据 module.sh 声明的配置进行编译 ffmpeg。
168
-
169
- ## Precompiled Edition
170
-
171
- 预编译库分为 ijk 版和 github 版,其区别是 ijk 版本打了 extra/patches/ffmpeg 目录下的补丁。
172
-
173
- - 下载 ijk 版预编译库:./download-pre.sh ijk
174
- - 下载 github 版预编译库:./download-pre.sh github
169
+ 2、ffmpeg 的配置需要分平台指定,只需要在 ffconfig 目录下创建 module_PLAT.sh 文件即可,PLAT 为对应的平台,比如 ios,macos 等;默认情况下根据 module.sh 声明的配置进行编译 ffmpeg。
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ PLAT=$2
22
22
VER=$3
23
23
24
24
if test -z $VER ; then
25
- VER=' V1.0-104be8c '
25
+ VER=' V1.0-50fc6d2 '
26
26
fi
27
27
28
28
if test -z $PLAT ; then
@@ -43,9 +43,10 @@ function download() {
43
43
echo " ===[download $plat $EDITION $VER ]===================="
44
44
mkdir -p build/pre
45
45
cd build/pre
46
- local fname=" $plat -universal-$EDITION -$VER .zip"
47
- echo " https://github.com/debugly/MRFFToolChainBuildShell/releases/download/$VER /$fname "
48
- curl -LO https://github.com/debugly/MRFFToolChainBuildShell/releases/download/$VER /$fname
46
+ local fname=" $plat -universal-$VER -$EDITION .zip"
47
+ local url=" https://github.com/debugly/MRFFToolChainBuildShell/releases/download/$VER -$EDITION /$fname "
48
+ echo " $url "
49
+ curl -LO " $url "
49
50
mkdir -p ../product/$plat /universal
50
51
unzip -oq $fname -d ../product/$plat /universal
51
52
tree -L 2 ../product/$plat /universal
You can’t perform that action at this time.
0 commit comments