
You can force Android to hide the virtual keyboard using the InputMethodManager, calling hideSoftInputFromWindow, passing in the token of the window containing your focused view. Reference from this article How to Build ffmpeg with NDKīut as it was for older version i have made some corrections on my Steps above are fully tested and i performed them on my machine and

Make ffmpeg Libraries available for Your Projects.Once it’s done, you should be able to find a folder $NDK/sources/ffmpeg-3.1.1/android, which contains arm/lib and arm/include folders. build_android.shīuild Output : The build can take a while to finish depending on your computer speed. Once the file is saved, go to the directory where this file lies & execute the command below, sudo chmod +x build_android.sh cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi. TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64 SYSROOT=$NDK/platforms/android-9/arch-arm/ SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)'īuild ffmpeg : Copy the following text to a text editor and save it as build_android.sh in ffmpeg_3.1.1 folder. SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)' The above lines with the following lines. libavcodec.so.55), which is notĬompatible with Android build system. This cause ffmpeg shared libraries to be compiled to SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)' SLIB_INSTALL_NAME='$(SLIBNAME_WITH_VERSION)' SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)' Update configure file : Open ffmpeg-3.1.1/configure file with a text editor, and locate the following lines. Download the source code and decompress it to $NDK/sources folder. The latest stable release is 3.1.1 (at the time of writing). simply decompress the archiveĭownload ffmpeg source code : FFMPEG source code can be downloaded from the ffmpeg website. At the time of writing this answer, the newest version is NDK r12. For FFMPEG it will be 3.1.1 & NDK it will be r12b.ĭownload Android NDK : The latest version of Android NDK can be downloaded at Android NDK website. This is quite old so you just need to change the versions mentioned here. One tutorial is also there : How to Build FFmpeg for Android. You need to compile it on your own the by downloading Android NDK & Latest Version of FFMPEG.



So i think there is no readily available demo like this old one. The latest version of FFMPEG is 3.1.1, Just released before 12 days.
