As far as I know, there is no Android.mk for libx264 library (ergo, it cant be built against Android source code tree), so there is no quick and easy way to do this.
You can try to build libx264 with standalone toolchain, copy it to the sysroot path, and then build FFmpeg with my scripts.
I will investigate further and think about including libx264 support in my scripts.
Last edit: Obucina 2013-02-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This projects uses NDK and standalone toolchain to build FFmpeg and
libx264, using makefiles (Makefile).
My project is inteded to be build in android source code tree, during
Android OS building from scratch, using android makefiles
(Android.mk).
So, these two projects have different scopes, means to build the
library and ways to be used. Using this project as a reference is of
very limited usability for me.
This projects uses regular makefiles (Makefile) and standalone toolchain from Android NDK to build FFmpeg and libx264 libraries.
My project is using Android makefiles (Android.mk), it is intended to be placed in Android source code tree, and built by Android build system, during building Android from source code.
So, these two projects have different scopes. Using the project you are mentioning as a reference for my project is of limited usability.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can the libraries like H264 be included in this compilation
As far as I know, there is no Android.mk for libx264 library (ergo, it cant be built against Android source code tree), so there is no quick and easy way to do this.
You can try to build libx264 with standalone toolchain, copy it to the sysroot path, and then build FFmpeg with my scripts.
I will investigate further and think about including libx264 support in my scripts.
Last edit: Obucina 2013-02-08
Here is some help for the investigation. https://github.com/guardianproject/android-ffmpeg project does have scripts to include x264
This projects uses NDK and standalone toolchain to build FFmpeg and
libx264, using makefiles (Makefile).
My project is inteded to be build in android source code tree, during
Android OS building from scratch, using android makefiles
(Android.mk).
So, these two projects have different scopes, means to build the
library and ways to be used. Using this project as a reference is of
very limited usability for me.
2013/2/11 Ram Gandhe ram_gandhe@users.sf.net:
This projects uses regular makefiles (Makefile) and standalone toolchain from Android NDK to build FFmpeg and libx264 libraries.
My project is using Android makefiles (Android.mk), it is intended to be placed in Android source code tree, and built by Android build system, during building Android from source code.
So, these two projects have different scopes. Using the project you are mentioning as a reference for my project is of limited usability.