How to use hardware accelerated video decoding on Android?

后端 未结 3 981
温柔的废话
温柔的废话 2020-12-12 12:25

I need hardware-accelerated H.264 decoding for a research project, to test a self-defined protocol.

As I have Search on the web, I have found a few ways to perform h

3条回答
  •  一整个雨季
    2020-12-12 13:04

    You might want to try MediaExtractor and MediaCodec (They are also available in NDK - AMediaExtractor and AMediaCodec - see sample for playing .mp4 here native-codec)

提交回复
热议问题