Using FFmpeg with Android-NDK

From your question it is hard to tell what exactly you want/need… so here some general information:

If you need further help please explain exactly what you want to achieve and what is not working…

UPDATE – as per comments:

To use ffmpeg via command line on Android you need to copy ffmpeg into your application’s files directory and chmod 755 it using getRuntime.exec() then you can run ffmpeg with the following line for example:

Process p = Runtime.getRuntime().exec("/data/data/yourpackagename/files/ffmpeg -i infile.mp4 outfile.mp4")

Leave a Comment