I am trying to do hardware encoding and hardware decoding (avc) of NV21 stream using Android MediaCodec API. When using OMX.qcom.video.decoder.avc, 640x480 resolution works fine, while 320x240, 160x120 produce output where chroma component seems shifted. I have observed this problem thus far on devices using QualComm SoC (i.e. Samsung Galaxy S4, Samsung Galaxy Core Duos). Does anyone has this working properly? Do I have to do something at the encoder side so that the decoded video is proper? Please give me insight and your thoughts.
How to decode the video resolution less than VGA on devices with QualComm SoC?
Posted: Wed, 2013-10-09 01:35