I am getting following error
02-13 15:22:23.807: E/ACodec(8137): [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648 02-13 15:22:23.808: W/ACodec(8137): do not know color format 0x7fa30c03 = 2141391875 .
in implementing http://bigflake.com/mediacodec/ExtractMpegFramesTest_egl14.java.txt
complete log :
02-13 16:51:14.275: D/ExtractMpegFramesTest(11294):testExtractMpegFrames 02-13 16:51:14.337: D/ExtractMpegFramesTest(11294): Extractor selected track 0 (video/avc): {height=640, width=640, csd-1=java.nio.ByteArrayBuffer[position=0,limit=8,capacity=8], max-input-size=97334, mime=video/avc, durationUs=13940988, csd-0=java.nio.ByteArrayBuffer[position=0,limit=17,capacity=17]} 02-13 16:51:14.338: D/ExtractMpegFramesTest(11294): Video size is 640x640 02-13 16:51:14.339: I/Adreno-EGL(11294): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328 02-13 16:51:14.370: D/ExtractMpegFramesTest(11294): textureID=1 02-13 16:51:14.375: I/OMXClient(11294): Using client-side OMX mux. 02-13 16:51:14.405: E/ACodec(11294): [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648 02-13 16:51:14.407: W/ACodec(11294): do not know color format 0x7fa30c03 = 2141391875 02-13 16:51:14.471: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.482: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.492: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.492: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.503: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.513: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.513: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.524: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.534: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.534: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.544: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.555: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.555: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.566: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.576: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.576: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.586: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.597: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.597: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.607: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.617: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.617: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.620: D/ExtractMpegFramesTest(11294): submitted frame 0 to dec, size=25 02-13 16:51:14.630: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.630: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.632: D/ExtractMpegFramesTest(11294): submitted frame 1 to dec, size=4605 02-13 16:51:14.642: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.642: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.643: D/ExtractMpegFramesTest(11294): submitted frame 2 to dec, size=2771 02-13 16:51:14.654: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.654: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.655: D/ExtractMpegFramesTest(11294): submitted frame 3 to dec, size=4670 02-13 16:51:14.665: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.666: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.666: D/ExtractMpegFramesTest(11294): submitted frame 4 to dec, size=8319 02-13 16:51:14.677: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.677: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.677: D/ExtractMpegFramesTest(11294): submitted frame 5 to dec, size=12703 02-13 16:51:14.689: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.689: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.702: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.714: D/ExtractMpegFramesTest(11294): no output from decoder available 02-13 16:51:14.714: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.731: D/ExtractMpegFramesTest(11294): input buffer not available 02-13 16:51:14.732: D/ExtractMpegFramesTest(11294): decoder output buffers changed 02-13 16:51:14.732: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.734: D/ExtractMpegFramesTest(11294): submitted frame 6 to dec, size=18290 02-13 16:51:14.742: W/ACodec(11294): do not know color format 0x7fa30c03 = 2141391875 02-13 16:51:14.745: D/ExtractMpegFramesTest(11294): decoder output format changed: {mime=video/raw, crop-top=0, crop-right=639, slice-height=640, color-format=2141391875, height=640, width=640, what=1869968451, crop-bottom=639, crop-left=0, stride=640} 02-13 16:51:14.745: D/ExtractMpegFramesTest(11294): loop 02-13 16:51:14.748: D/ExtractMpegFramesTest(11294): submitted frame 7 to dec, size=13304 02-13 16:51:14.753: D/ExtractMpegFramesTest(11294): surface decoder given buffer 0 (size=614400) 02-13 16:51:14.753: D/ExtractMpegFramesTest(11294): awaiting decode of frame 0 02-13 16:51:17.256: D/Gulshan(11294): java.lang.RuntimeException: frame wait timed out 02-13 16:51:17.256: W/System.err(11294): java.lang.RuntimeException: frame wait timed out 02-13 16:51:17.257: W/System.err(11294): at com.example.cameratomp4.ExtractMpegFramesTest$CodecOutputSurface.awaitNewImage(ExtractMpegFramesTest.java:491) 02-13 16:51:17.257: W/System.err(11294): at com.example.cameratomp4.ExtractMpegFramesTest.doExtract(ExtractMpegFramesTest.java:282) 02-13 16:51:17.258: W/System.err(11294): at com.example.cameratomp4.ExtractMpegFramesTest.extractMpegFrames(ExtractMpegFramesTest.java:160) 02-13 16:51:17.258: W/System.err(11294): at com.example.cameratomp4.ExtractMpegFramesTest.access$0(ExtractMpegFramesTest.java:120) 02-13 16:51:17.258: W/System.err(11294): at com.example.cameratomp4.ExtractMpegFramesTest$ExtractMpegFramesWrapper.run(ExtractMpegFramesTest.java:94) 02-13 16:51:17.258: W/System.err(11294): at java.lang.Thread.run(Thread.java:818) 02-13 16:51:17.305: D/OpenGLRenderer(11294): Render dirty regions requested: true 02-13 16:51:17.320: D/Atlas(11294): Validating map... 02-13 16:51:17.328: D/ExtractMpegFramesTest(11294): new frame available 02-13 16:51:17.357: I/OpenGLRenderer(11294): Initialized EGL, version 1.4 02-13 16:51:17.361: D/OpenGLRenderer(11294): Enabling debug mode 0 02-13 16:52:35.984: E/BufferQueueProducer(11294): [unnamed-11294-0] cancelBuffer: BufferQueue has been abandoned 02-13 16:52:35.988: E/BufferQueueProducer(11294): [unnamed-11294-0] cancelBuffer: BufferQueue has been abandoned 02-13 16:52:35.988: E/BufferQueueProducer(11294): [unnamed-11294-0] cancelBuffer: BufferQueue has been abandoned
I think there is some issue with media format. I tried to add some color format to mediaformat but nothing solved problem why storeMetaDatainBuffer fails ?