Use FFMPEG on Android [closed]

混江龙づ霸主 提交于 2019-11-26 20:50:46
Eli Konky

You have two options:

  1. use ffmpeg api - google ffmpeg sample code. this requires good understanding of the api and which is very comprehnsive.
  2. compile ffmpeg.c and invoke its main() via jni. This requires that you understand the command line parameters. It is rather cumbersome but works.

    You need to look out for the static vars defined in ffmpeg.c and reset them every time you invoke the main function. Also make sure you don't invoke the main in two threads simultaneously .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!