https://github.com/brucewind/auto_build_lastest_x264
Automatically clone x264 the latest source code, and then build the .a file of the android arm platform.
https://github.com/brucewind/auto_build_lastest_x264
Last synced: about 1 month ago
JSON representation
Automatically clone x264 the latest source code, and then build the .a file of the android arm platform.
- Host: GitHub
- URL: https://github.com/brucewind/auto_build_lastest_x264
- Owner: BruceWind
- Created: 2016-12-23T08:14:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T14:23:36.000Z (about 7 years ago)
- Last Synced: 2025-01-26T18:47:15.014Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto_build_lastest_x264
自动 clone x264 最新的 源代码,然后build出android arm平台的 点a文件。
# 使用
### 1.修改参数
修改 build_android_arm.sh文件中,如下代码:
```
NDK=/home/wei/android-ndk-r10e
PLATFORM=$NDK/platforms/android-14/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
```
修改每个路径对应你电脑上的路径,确保每个路径都存在。
### 2.开始run shell
```
sh build_android_arm.sh
```
-------------------------
使用了轻clone,方式,减少clone过程的等待时间。
最后把build的文件拷贝到项目里时,再打包so文件如果发生,**log2 ,log2f ** 无法被引用,请修改shell文件中的 PLATFORM ,使用android-14。
baseon:[https://github.com/RoyGuanyu/build-scripts-of-ffmpeg-x264-for-android-ndk](https://github.com/RoyGuanyu/build-scripts-of-ffmpeg-x264-for-android-ndk)