1 completed the compilation of ffmpeg library.
2 to write c code with jni, you need to include the corresponding ffmpeg header file.
Write the corresponding Android.mk file, and specify the C code to compile and the dynamic library to link.
4 execute ndk-build to generate the corresponding jni library.
5. Create an andorid java program, which includes the ffmpeg library corresponding to loadLibrary and the jni library just generated.
6 static method declares native function, which has been realized in C language written by jni.