base for X
(x264 README is listed below) x264android is a source project for Android NDK, which contains latest X264 codecs, and ANDROID-USE-ONLY libraries compiled with x264 encoders
Please make sure, before you follow "How to xxx" below, you already knew what's ndk-build
, environment-variable
and similar basic technologies.
x264/*
folder (actually, only x264/android/*
is enough.) under $NDK_HOME/sources/x264/
$(call import-module, x264/android/arm)
into Android.mk of your project with NDK.$NDK_HOME
build_android.sh
into x264 folder and run it to compile. Tada~
--enable-shared
instead of --enable-static
in build_android.sh
build_android.sh
to compile shared libraries. Tada~
Android.mk
, use PREBUILT_SHARED_LIBRARY
instead of PREBUILT_STATIC_LIBRARY
; And use lib***.so
instead of lib***.a
BTW, If want to compile into ffmpeg, please use @ffmpeg4android directly.
Android NDK only. T_T
Should be same as x264...
Any problems please contact me @x264 or chloette.e@gmail.com
x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format, and is released under the terms of the GNU GPL.