How to buid ffmpeg with android-ndk-r10d in windows -
in application user can selects several images , create movie(mp4) images, reason want use ffmpeg library. have searched more 2 days did not find tutorial build ffmpeg ndk in windows.
can body describe me, how that?(if have link, please share me)
i used roman10 tutorial , do: 1-i have decompressed "ffmpeg-2.6.2" folder "android-ndk-r10d/sources".
2-i have created "build_android.sh" file "ffmpeg-2.6.2" folder , these build_android.sh codes:
#!/bin/bash ndk=c:/users/hakhasin/desktop/android-ndk-r10d sysroot=$ndk/platforms/android-9/arch-arm/ toolchain=$ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64 function build_one { ./configure \ --prefix=$prefix \ --enable-shared \ --disable-static \ --disable-doc \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --disable-avdevice \ --disable-doc \ --disable-symver \ --cross-prefix=$toolchain/bin/arm-linux-androideabi- \ --target-os=linux \ --arch=arm \ --enable-cross-compile \ --sysroot=$sysroot \ --extra-cflags="-os -fpic $addi_cflags" \ --extra-ldflags="$addi_ldflags" \ $additional_configure_flag make clean make make install } cpu=arm prefix=$(pwd)/android/$cpu addi_cflags="-marm" build_one
3- when write "sudo chmod +x build_android.sh" , "./build_android.sh" commands in cygwin, not work correctly
please guide me
Comments
Post a Comment