@@ -33,9 +33,14 @@ At present MRFFToolChain contained `ass、bluray、dav1d、dvdread、dvdnav、ff
3333- dvdnav: dvdread
3434- Ass for Appple: harfbuzz,fribidi,unibreak
3535- 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
3944
4045Tips:
4146
@@ -58,8 +63,7 @@ These pre-compiled libraries already applied patches which in the patches direct
5863# Examples of usage:
5964./main.sh install -p macos -l ffmpeg
6065./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
6367```
6468
6569## Compile by Yourself
@@ -74,14 +78,10 @@ The script parameters are flexible and can be combined as needed. Here are some
7478```
7579# Check the help first
7680./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
8585# Prepare source code for specific libraries for the Android platform
8686./main.sh init -p android -l "openssl ffmpeg"
8787```
@@ -100,13 +100,16 @@ Once the source code repository initialization is complete, you can start the co
100100# -a specifies the CPU architecture
101101```
102102
103- Examples of usage:
103+ The following code demonstrates how to compile FFmpeg 7 for the iOS platform:
104104
105105```
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
110113```
111114
112115The order of these parameters does not matter; they can be arranged in any sequence.
0 commit comments