[FFmpeg-devel] Add JNI and Android content resolver support

Matthieu Bouron matthieu.bouron at gmail.com
Fri Oct 9 18:26:48 CEST 2015


The following patchset add support for the Java Native Interface in
FFmpeg through different helpers to:

  * manage the JNI environment (attach/detach),
  * load classes/methods/fields from a single interface (avpriv_jni_init_jfields)
  * manage android application context and class loader, so FFmpeg will be able to
  load custom classes (which is needed if we want to use the MediaCodec ability to
  decode to a surface)
  * other helpers.

Supporting JNI in FFmpeg will allow us to support hardware decoding on the Android
platform through the MediaCodec API.

The latest patch of the serie add support of the Android content resolver which is
retreived from the application context and will allow FFmpeg to handle uris starting
with content://

Best regards,

More information about the ffmpeg-devel mailing list