2

Possible Duplicate:
FFMPEG on Android

Currently I have a java application that calls ffmpeg process with parameters. This works fine under Windows because I just run another process. I want to call the same method in ffmpeg api under android os.

What should I do in order to have minimal change in code and transform the same thing to android?

How can I call, using java, a specific method in ffmpeg api under the android os.

thank you!

Community
  • 1
  • 1
Lee
  • 745
  • 2
  • 11
  • 28
  • Do you really mean API or the command line interface (so calling the *.exe on Windows, etc.) ? – TheSHEEEP May 08 '12 at 11:14
  • @TheSHEEEP Currently I am calling command line interface. – Lee May 08 '12 at 11:16
  • @Lior: please use the search function, and look at the related questions. This has been asked & answered numerous times. – Mat May 08 '12 at 11:17
  • @Mat I have searched for related questions and I couldn't find any answer that relates specific to Java. I am not familier with C/C++, so wrapping ffmpeg using NDK is my least favorite solution. – Lee May 08 '12 at 11:24
  • You will need to use JNI and call an NDK wrapper of ffmpeg. Check out this SO Post: http://stackoverflow.com/questions/4725773/ffmpeg-on-android – Amogh Talpallikar May 08 '12 at 11:17

0 Answers0