When I try to decode H.264 raw stream with MediaCodec on Note3(N9005, Android 4.3) , I get these errors:
12-25 19:57:40.362: E/ACodec(19827): [OMX.qcom.video.decoder.avc] ERROR(0x80001009)
12-25 19:57:40.362: E/MediaCodec(19827): Codec reported an error. (omx error 0x80001009, internalError -2147483648)
12-25 19:57:40.362: W/System.err(19827): java.lang.IllegalStateException
12-25 19:57:40.362: W/System.err(19827): at android.media.MediaCodec.dequeueInputBuffer(Native Method)
But the same codes work on Note3(N900) and Google Nexus 7 (the 2nd Generation). Here is the code what I referenced to: http://developer.android.com/reference/android/media/MediaCodec.html P.S: the header of my H.264 raw stream looks like this:
---------------------------------------------------------------------------------------
|00 00 00 01 67 ... 00 00 00 01 68 ...00 00 00 01 65(tatol 4 slices )...00 00 00 01 61|
---------------------------------------------------------------------------------------
I can attach my testing video file for you if need.