FFmpeg on Android

前端 未结 10 1768
谎友^
谎友^ 2020-11-22 03:09

I have got FFmpeg compiled (libffmpeg.so) on Android. Now I have to build either an application like RockPlayer or use existing Android multimedia framework to invoke FFmpeg

10条回答
  •  囚心锁ツ
    2020-11-22 03:18

    I've done a little project to configure and build X264 and FFMPEG using the Android NDK. The main thing that's missing is a decent JNI interface to make it accessible via Java, but that is the easy part (relatively). When I get round to making the JNI interface good for my own uses, I'll push that in.

    The benefit over olvaffe's build system is that it doesn't require Android.mk files to build the libraries, it just uses the regular makefiles and the toolchain. This makes it much less likely to stop working when you pull new change from FFMPEG or X264.

    https://github.com/halfninja/android-ffmpeg-x264

提交回复
热议问题