

About the fork InstallationĮdit your project's adle (not app) like this.

I'll be keeping a close eye to its issue tracker and contribute there instead. configure the unpacked FFmpeg source code library directory, modify the highlighted parameters to the following, the main purpose is to generate the format of the name-version.so file that can be used by Android. There is a much better alternative by bravobit which incorporates good parts of this fork and also attempts to solve some existing issues. Download the source library from the FFmpeg official website and extract it. The whole compilation to porting is done here.This project is discontinued. TXT (the prerequisite is to install cmake, available in SDK Manager) Open the android studio new project and select c++Īfter the project is built, copy the previously compiled library into app/ LIBS The FFmPEG3.4 folder has now been reborn as an Android folder with two files, one that supports Neon and hard decoding, and one that does notįurther down the line there are three folders, the first is header files, the second is so library, and the third is case Then type./build_android.sh to start compiling and wait for a few minutes to finish compiling Right click on the blank area of the ffmpeg folder to open the terminal and give build_android.sh the highest permission through Linux command Name the script build_android.sh and save it to the ffmpeg3.4 folder. Note: in the case of copying, the space after \ should be removed # echo "Compilation does not support Neon and hard decoding"ĬFLAG= "-I $PLATFORM/usr/include -fPIC -DANDROID -mfpu=vfp -mfloat-abi=softfp " } # echo "Compilation supports Neon and hard decoding"ĬFLAG= "-I $PLATFORM/usr/include -fPIC -DANDROID -mfpu=neon -mfloat-abi=softfp " nm= $TOOLCHAIN/bin/arm-linux-androideabi-nm \ cc= $TOOLCHAIN/bin/arm-linux-androideabi-gcc \ cross-prefix= $TOOLCHAIN/bin/arm-linux-androideabi- \ TOOLCHAIN= $NDK/ toolchains/arm - Linux - androideabi - 4.9 / prebuilt/Linux - x86_64 CPU = armv7 -a Output path PLATFORM= $NDK/platforms/android-21/arch-arm NDK=/home/fanqile/Desktop/android-ndk-r16 #! /bin/bash echo "Enter to compile ffmpeg script" (Currently R14B is used, but other versions have not been successfully tried) (The latest version of the configure file is dead, so choose to use the old version first, after 3.4 do not need to change the contents of the configure file)ĭownload the NDK developer. by Amber Maldonado Category:ĭownload ubuntu18.04.2 (I am directly developed on Linux, if you need to install virtual machine on Windows)ĭownload ffmpeg3.4 /releases/ff.
