pra*_*iya 8 bash android ffmpeg android-ndk android-ffmpeg
我正在尝试使用CYGWIN在Windows 8.1中为android 构建ffmpeg
我正在关注这个问题以及如何在Cygwin下编译FFMPEG.我succsessfully编译,但它不生成FFMPEG.so但它生成ffmpeg.exe文件
我不想要任何prebuild ffmpeg库 .我想根据我的要求构建它.
我在CYGWIN BASE中执行此步骤
我的build_ffmpeg.sh是
#!/斌/庆典
NDK =/cygdrive/e/android/sdk/ndk-bundle PLATFORM = $ NDK/platforms/android-24/arch-arm TOOLCHAIN = $ NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows CPU = arm PREFIX = $(pwd)/ android/$ CPU ADDI_CFLAGS =" - marm"
pushd ffmpeg #configure ./configure\--target-os = android\--prefix = $ PREFIX\--enable-cross-compile\--enable-runtime-cpudetect\--disable-asm\--arch = arm\--cc = $ TOOLCHAIN/bin/arm-linux-androideabi-gcc\--cross-prefix = $ TOOLCHAIN/bin/arm-linux-androideabi-\--disable-stripping\--nm = $ TOOLCHAIN/bin/arm-linux-androideabi-nm\--sysroot = $ PLATFORM\--disable-programs\--disable-doc\--enable-protocol = file\--disable-avresample\--enable-gpl\ - enable-version3\--enable-nonfree\--disable -ffplay\--disable-ffserver\--disable-ffmpeg\--disable-ffprobe\--extra-cflags =" - fPIC -DANDROID -D__thumb__ -mthumb - Wfatal-errors -Wno-deprecated $ ADDI_CFLAGS"\ --extra-libs =" - lgcc"\ --extra-ldflags =" - L $ PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog"#Make make clean make -j5 make -j5 install
POPD
我的LOG文件在这里
我的问题是如何为Android设备的所有架构构建ffmpeg?