3

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

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

4 Comments

was the ffmpeg you sent me (the first one) x264 enabled? if not could you please build it for me for some reasons the guardian scripts from git dont work for me I get lots of hunk errors, something to do with git
p.s i hope this isnt a bother for you
I'll take a look and get back to you. Not a problem.
did you received the ffmpeg? how can you use inside an android eclipse project? i need some help how to use in android app.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.