Android technology sharing | Android WebRTC opens H264 software codec tutorial

The encoding and decoding of Android WebRTC software is based on openH264 and FFMpeg, but it is not enabled by default during compilation. If you want to enable it, you need to add and modify the code. I will list all the modification steps one by one below. Based on webRTC version:( https://chromium.googlesource.com/external/webrtc/+/branch-he ...

Posted on Wed, 03 Nov 2021 02:59:16 -0400 by classifieds100

[Android 10 source code] deeply understand MediaCodec hard decoding initialization

The hard decoding API in Android is implemented by MediaCodec step by step calling hardware. It is usually necessary to call VPU to decode. The following is a typical hard decoding initialization code. Of course, exception handling is also handled for better fault tolerance. According to MIME_TYPE (video/avc) creates a decoder and calls crea ...

Posted on Thu, 21 Oct 2021 14:19:44 -0400 by Avimander