I've compiled ffmpeg for Android with the NDK and transferred the compiled binary to /data/local, but when I try to execute the binary, even as su, the terminal returns 'Permission denied.'
The configure script I use for ffmpeg is:
NDK=/home/adam/ndk/android-ndk-r9c
PLATFORM=$NDK/platforms/android-19/arch-arm
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
./configure --target-os=linux --arch=arm --enable-cross-compile --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- --sysroot=$PLATFORM --enable-pic --enable-runtime-cpudetect
ls -l ffmpeg
outputs:
-rw-rw-rw- root root 10338136 2013-12-30 15:54 ffmpeg
ls -l
output for the file will probably do the trick.chmod +x ffmpeg
and see if that fixes it. (You may need to run that as root)