MediaMetadataRetriever返回位图(作为独立应用程序,因此我们可以假设视频编码没有问题)但与drm保护内容一起播放时出错(Widevine)(即)加密内容将播放和位图的检索发生在后台,
简要说明错误:
05-09 11:56:06.751: D/DOMX(129): ERROR: non-secure component not supported in secure mode
05-09 11:56:06.767: E/SoftAVC(129): Decoder failed: -2
05-09 11:56:06.767: E/OMXCodec(129): [OMX.google.h264.decoder] ERROR(0x80001001, -1007)
错误日志:
05-09 11:56:06.751: D/DOH(21330): Extraction starts... 4011
05-09 11:56:06.751: D/DOMX(129): ERROR: non-secure component not supported in secure mode
05-09 11:56:06.751: I/OMXCodec(129): [OMX.google.h264.decoder] AVC profile = 100 (High), level = 41
05-09 11:56:06.751: I/OMXCodec(129): [OMX.google.h264.decoder] video dimensions are 320 x 240
05-09 11:56:06.751: I/OMXCodec(129): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
05-09 11:56:06.767: E/SoftAVC(129): Decoder failed: -2
05-09 11:56:06.767: E/OMXCodec(129): [OMX.google.h264.decoder] ERROR(0x80001001, -1007)
05-09 11:56:06.774: D/DOMX(129): ERROR: non-secure component not supported in secure mode
05-09 11:56:06.774: D/DOMX(129): ERROR: non-secure component not supported in secure mode
05-09 11:56:06.774: I/OMXCodec(129): [OMX.google.h264.decoder] AVC profile = 100 (High), level = 41
05-09 11:56:06.774: I/OMXCodec(129): [OMX.google.h264.decoder] video dimensions are 320 x 240
05-09 11:56:06.774: I/OMXCodec(129): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
05-09 11:56:06.790: E/SoftAVC(129): Decoder failed: -2
05-09 11:56:06.790: E/OMXCodec(129): [OMX.google.h264.decoder] ERROR(0x80001001, -1007)
05-09 11:56:06.790: E/MetadataRetrieverClient(129): failed to capture a video frame
05-09 11:56:06.790: E/MediaMetadataRetrieverJNI(21330): getFrameAtTime: videoFrame is a NULL pointer
如果有人能指出我解决这个问题,我真的很感激吗? 此错误的任何信息/文档都非常有用。
提前致谢。