-
Notifications
You must be signed in to change notification settings - Fork 191
Setting the FFmpeg version
The script can be executed without any arguments. Thus it will work just as the README.md file states.
However, it is possible to manually set the the version of FFmpeg to use. Be aware that the script is tested on FFmpeg 4.1+ only.
So there are 2 options:
You can set a particular tag. Tags are listed here. The script will download an appropriate archive and use sources inside to compile FFmpeg. Git repository isn't used in this case.
And here is an example:
./ffmpeg-android-maker.sh tag 4.1.4
You can also set a specific branch to use from the FFmpeg's git repository. Branches are listed here. The script will clone the repository (if it isn't by this time), checkout the specific branch and make additional git pull
to ensure using the lates version of the branch. Exactly this sources will be used for compilation.
It works like this:
./ffmpeg-android-maker.sh branch 4.2
or
./ffmpeg-android-maker.sh branch master