windows10下编译x264
来源:互联网 发布:mac如何设置qq邮箱 编辑:程序博客网 时间:2024/06/06 03:16
1 MinGW环境可以参考:
windows10下编译ffmpeg for android
2 去官网下载源代码:http://www.videolan.org/developers/x264.html
3 脚本文件如下:
#!/bin/shANDROID_NDK=E:\android-ndk-r10eSDK_VERSION=19ARCH=armPLATFORM_PREFIX="arm-linux-androideabi-"HOST="arm"PLATFORM_VERSION=4.8PREFIX=$(pwd)/android/${ARCH}SYSROOT=$ANDROID_NDK/platforms/android-${SDK_VERSION}/arch-${ARCH}TOOLCHAIN=$ANDROID_NDK/toolchains/${PLATFORM_PREFIX}${PLATFORM_VERSION}/prebuilt/windows-x86_64CROSS_PREFIX=$TOOLCHAIN/bin/${PLATFORM_PREFIX}function build_one{./configure \ --prefix=$PREFIX \ --cross-prefix=$CROSS_PREFIX \ --sysroot=$SYSROOT \--extra-cflags="-march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__" \ --host=arm-linux \ --prefix=$PREFIX \ --enable-static \ --enable-pic \--enable-strip \ --disable-asm \ --disable-cli \make cleanmakemake install}build_oneread -p "Press any key to continue." var
其中脚本文件请根据自己情况修改。
0 0
- windows10下编译x264
- windows下X264编译
- linux 下编译x264
- Windows下编译x264
- Windows下编译x264
- Windows下编译x264
- iOS下编译x264
- Windows下编译x264
- Windows下编译x264
- Windows下编译x264
- windows 下编译X264
- windows10 编译x264出现 undefined reference to `_beginthreadex'解决
- windows10下编译 fast rcnn
- Ubuntu10.4下编译x264
- windows下编译配置x264
- windows下编译配置x264
- windows下编译配置x264
- windows下编译最新x264
- HTML网页制作之DL、DD、DT标签替代UL、LI
- 460. LFU Cache
- Hive编程指南-表创建、内部表、外部表
- php中curl封装
- 相对路径目录返回问题
- windows10下编译x264
- left join on 和where条件的放置
- Javascript获取select下拉框选中的的值
- mpeg-2 详细 文件结构 (PS流?)
- 继承AppCompatActivity的Activity无法隐藏标题栏解决方案
- window.opener 的用法
- jqgrid使用文档
- OptionMenu的简单使用
- 第十三章 多线程1