On Sat, 27 Jun 2020, Olivier Ayache wrote:

Hi everyone this is the first time I post on this mailing list. I am
working since several years on a fork of Xuggler for manipulating ffmpeg
API with Java/Kotlin.
This work leads me to develop encoder and decoder based on Android NDK
MediaCodec.

This work can be found on my Github repository

https://github.com/olivierayache/xuggle-xuggler


I know that FFmpeg already integrate MediaCodec for decoding via Jni
wrappers since version 3.1. I began this work on FFmpeg 2.8.x and I choose
the NDK in order to achieve optimum performance.

If you mean you used the NDK MediaCodec API, I'd suggest you use the same JNI wrappers as ffmpeg has already, for consistency. The overhead of a few JNI calls per encoded frame is generally negligible. If it, at a later time, is decided to drop support for older versions at some point, it should be straightforward to convert it to use the NDK MediaCodec API instead.

// Martin

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to