Mime type video/avc supported by multiple encoders on my Android device
问题 When I enumerate all the media codecs on my device, I noticed that mime type "video/avc" is supported by the following encoders: OMX.qcom.video.encoder.avc OMX.google.h264.encoder When you call MediaCodec.CreateEncoderByType() , how does Android decide which encoder to pick? Also, besides Google's encoder, many devices may have another encoder specific to the hardware, such as the one from Qualcomm in my case. Generally speaking, should one choose native encoder over the one from Google?