To build all ffmpeg library, change directory to ffmpeg/JNI and run rebuild-ffmpeg.sh.
To build individual ffmpeg library, change directory to ffmpeg/JNI and run build-ffmpeg.sh {architecture name}.
Visit https://sites.google.com/site/mxvpen/ffmpeg for more information