This is my follow up question to below thread
Slow H264 1080P@60fps Decoding on Android Lollipop 5.0.2
On the path of debugging the root cause of above issue, I tried various approach to Decode 1080P at 60 FPS.
I tried wrapping H264 data into a MP4 container(without transcoding). The playback of MP4 with various stock player seems slow(less than 60fps , around 42fps).
I tried using native codec samples from Android NDK. Still no progress.
Later I compiles the mxc-vpu-test code from the Freescale Android Source
tree. With this and using the correct parameters, I was Capable of
playing the video at 60 FPS.
So My doubts are
- Is the decoder capable of playing 1080p@60fps video, with correct Frame rate ?
- If so, then why MediaCodec ( using ACodec code internally ) is not capable of playing 1080p@60fps video.
- I am not sure if OMXCodec is used in this process, Where can I get OMXCodec sample code to decode my video.