简体   繁体   中英

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

我相信这个项目中的脚本(make_ffmpeg.sh)会满足你的需求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM