[FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: blacklist more software decoders

Stefan _ sfan5 at live.de
Tue Mar 6 20:00:27 EET 2018


Hi,

for hwdec on Android the wrapper attempts to blacklist known software decoders also provided through the mediacodec API. The list isn't complete however and ffmpeg might e.g. prefer slower "external" HEVC software decoding over its own software decoder.

This patch completes the list of known software decoders, which are:

OMX.ffmpeg.*

 see https://github.com/AOSB/android_device_lge_hammerhead/blob/master/media_codecs.xml#L89

OMX.SEC.*

 see https://chromium.googlesource.com/chromium/src/+/refs/heads/lkgr/media/base/android/media_codec_util.cc#288

OMX.qcom.video.decoder.hevcswvdec

 see https://github.com/moonlight-stream/moonlight-android/blob/master/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java#L83
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-mediacodec_wrapper-blacklist-more-software-d.patch
Type: text/x-patch
Size: 1251 bytes
Desc: 0001-avcodec-mediacodec_wrapper-blacklist-more-software-d.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180306/bcd385dd/attachment.bin>


More information about the ffmpeg-devel mailing list