@@ -33,9 +33,14 @@ At present MRFFToolChain contained `ass、bluray、dav1d、dvdread、dvdnav、ff
33
33
- dvdnav: dvdread
34
34
- Ass for Appple: harfbuzz,fribidi,unibreak
35
35
- Ass for Android: harfbuzz,fribidi,unibreak,fontconfig
36
- - FFmpeg for Appple: openssl3,opus,dav1d,dvdread,uavs3d,smb2
37
- - FFmpeg for Android: openssl,opus,dav1d,dvdread,uavs3d,smb2
38
- - FFmpeg7 for Appple: openssl3,opus,dav1d,dvdnav,uavs3d,smb2
36
+ - FFmpeg4 for Appple: openssl3,opus,bluray
37
+ - FFmpeg5 for Appple: openssl3,opus,bluray,dav1d,dvdread,uavs3d
38
+ - FFmpeg6 for Appple: openssl3,opus,bluray,dav1d,dvdread,uavs3d,smb2
39
+ - FFmpeg7 for Appple: openssl3,opus,bluray,dav1d,dvdnav,uavs3d,smb2
40
+ - FFmpeg4 for Android: openssl3,opus,bluray,soundtouch
41
+ - FFmpeg5 for Android: openssl3,opus,bluray,dav1d,dvdread,uavs3d,soundtouch
42
+ - FFmpeg6 for Android: openssl3,opus,bluray,dav1d,dvdread,uavs3d,smb2,soundtouch
43
+ - FFmpeg7 for Android: openssl3,opus,bluray,dav1d,dvdnav,uavs3d,smb2,soundtouch
39
44
40
45
Tips:
41
46
@@ -58,8 +63,7 @@ These pre-compiled libraries already applied patches which in the patches direct
58
63
# Examples of usage:
59
64
./main.sh install -p macos -l ffmpeg
60
65
./main.sh install -p ios -l ' ass ffmpeg'
61
- ./main.sh install -p tvos -l all
62
- ./main.sh install -p android -l all
66
+ ./main.sh install -p android -l openssl3
63
67
```
64
68
65
69
## Compile by Yourself
@@ -74,14 +78,10 @@ The script parameters are flexible and can be combined as needed. Here are some
74
78
```
75
79
# Check the help first
76
80
./main.sh init --help
77
- # Prepare source code for all libraries for the iOS platform
78
- ./main.sh init -p ios -l all
79
- # Prepare source code for all libraries for the x86 architecture on iOS
80
- ./main.sh init -p ios -l all -a x86_64_simulator
81
- # Prepare source code for all libraries for the macOS platform
82
- ./main.sh init -p macos -l all
83
- # Prepare source code for specific libraries for the iOS platform
84
- ./main.sh init -p ios -l "openssl ffmpeg"
81
+ # Prepare libass source code for the iOS platform
82
+ ./main.sh init -p ios -l ass
83
+ # Prepare ffmpeg7 source code for the x86 architecture on iOS
84
+ ./main.sh init -p ios -l ffmpeg7 -a x86_64_simulator
85
85
# Prepare source code for specific libraries for the Android platform
86
86
./main.sh init -p android -l "openssl ffmpeg"
87
87
```
@@ -100,13 +100,16 @@ Once the source code repository initialization is complete, you can start the co
100
100
# -a specifies the CPU architecture
101
101
```
102
102
103
- Examples of usage:
103
+ The following code demonstrates how to compile FFmpeg 7 for the iOS platform:
104
104
105
105
```
106
- Compile all dependencies for the iOS platform
107
- ./main.sh compile -c build -p ios -l all
108
- # Compile the libass library for the arm64 architecture on iOS
109
- ./main.sh compile -c build -p ios -a arm64 -l ass
106
+ # install FFmpeg7's dependencies has two choices
107
+ # recommend choice (because ffmpeg7 was pre-compiled,it contained all dependencies)
108
+ ./main.sh install -p ios -l ffmpeg7
109
+ # other choice (you must know ffmpeg7's dependent lib name)
110
+ ./main.sh install -p ios -l "openssl3 opus bluray dav1d dvdnav uavs3d,smb2"
111
+ # Compile FFmpeg7 for the arm64 architecture on iOS
112
+ ./main.sh compile -p ios -a arm64 -l ffmepg7 --skip-fmwk
110
113
```
111
114
112
115
The order of these parameters does not matter; they can be arranged in any sequence.
0 commit comments