brux
brux

Reputation: 3230

Creating an android ffmpeg executable

How do I do this? I dont want to use ffmpeg in an app programatically using the ndk / jni wrapper, I just want to compile a single binary/executable file that I can put in system/bin on the device and run from terminal.

Hi have tried William Seemann suggestion but it will not build the executable, when i try the default configure_everything.sh as it says in the docs i get lots of "file to patch errors" console output http://pastebin.com/m0uz5fx2

if i try the make_ffmpeg.sh script as william sggests then i get

brx@router ~/Documents/android-ffmpeg-master $ NDK_BASE=/home/brx/Documents/android-ndk-r6b ./make_ffmpeg.sh 
~/Documents/android-ffmpeg-master ~/Documents/android-ffmpeg-master
~/Documents/android-ffmpeg-master/ffmpeg ~/Documents/android-ffmpeg-master ~/Documents/android-ffmpeg-master
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
~/Documents/android-ffmpeg-master ~/Documents/android-ffmpeg-master
~/Documents/android-ffmpeg-master

Upvotes: 3

Views: 1938

Answers (1)

William Seemann
William Seemann

Reputation: 3530

I believe the script (make_ffmpeg.sh) in this project will meet your needs.

Upvotes: 3

Related Questions