Running FFMPEG on Android

Possible duplicate:
ffmpeg for android (using the tutorial: "ffmpeg and Android.mk")

I tried several things that launched FFMPEG in android, searched all over the network, no useful or direct solutions. Referenced this one and related was very helpful though.

Also, I can currently build FFMPEG in Ubuntu 12. Created all .SO binary all.

My question is: how do I modify the ffmeg.c file that will allow me to pass ffmpeg commands?

According to this , follow these steps.

In the above construction, the change for ffmpeg.c is simple.

Change the main(int argc, char **argv) function prototype to a java JNI interface prototype that Android java code can call. Change the output to stdout to the text files we created. Comment out a few lines that cause the compilation error. 

But I can’t change the main thing and how it will be.

Please help me with this. If someone has already achieved this.

+4
source share

All Articles