Skip to content

Setting the FFmpeg version

Alexander Kobozev edited this page Aug 2, 2019 · 9 revisions

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:

Tag

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

Git branch

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

Clone this wiki locally