![]() ![]() ![]() SYSROOT=$NDK/platforms/android-14/arch-arm/ - You can change the platform (android-14) to any platform that you have available greater than 9.NDK=/path/to/android-ndk/ replace /path/to/android-ndk/ with the location where you have the android-ndk directory.SLIBNAME_WITH_MAJOR=’$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)’ LIB_INSTALL_EXTRA_CMD=’$$(RANLIB) “$(LIBDIR)/$(LIBNAME)”’ SLIB_INSTALL_NAME=’$(SLIBNAME_WITH_MAJOR)’ SLIB_INSTALL_LINKS=’$(SLIBNAME)’ Create a build scriptĬreate a file here called build_ffmpeg.sh (/path/to/ffmpeg/build_ffmpeg.sh) with the following contents : SLIBNAME_WITH_MAJOR=’$(SLIBNAME).$(LIBMAJOR)’ LIB_INSTALL_EXTRA_CMD=’$$(RANLIB) “$(LIBDIR)/$(LIBNAME)”’ SLIB_INSTALL_NAME=’$(SLIBNAME_WITH_VERSION)’ SLIB_INSTALL_LINKS=’$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)’ Open the file /path/to/ffmpeg/configure and find & replace the following lines cd /path/to/ffmpeg Modify the configure script. The remainder of this tutorial assumes that the ffmpeg directory resides at /path/to/ffmpeg android-ndk-r12b) to be /path/to/android-ndk For the remainder of the tutorial, we’ll assume the path to the unzipped directory (android-ndk-, eg. FFMPEG TUTORIAL 2016 ZIP FILEzip file for your operating system from the official site Should you be able to get this to work for 3.x, please let me know - i’ll be more than happy to update this post. For the purpose of this tutorial we’ll use 2.8.4. Note 2 : There seems to be some issues with building ffmeg 3.x. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |