问题
It works fine on most of the devices except nexus5, moto G as per my testing. on these devices app producing video with only two frames.and also getting the following error log
[OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -2147483648
Could you please help me out to fix this issue.
回答1:
from http://bigflake.com/mediacodec/#q12
Q12. Why am I seeing storeMetaDataInBuffers failures in the log? A12. They look like this (example from a Nexus 5):
E OMXNodeInstance: OMX_SetParameter() failed for StoreMetaDataInBuffers: 0x8000101a
E ACodec : [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -2147483648
You can ignore them, they're harmless.
来源:https://stackoverflow.com/questions/24998493/media-codec-4-1-issue