Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 979
brux Avatar asked Jul 15 '26 15:07

brux


1 Answers

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

like image 127
William Seemann Avatar answered Jul 17 '26 19:07

William Seemann