0

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

如果有人能指出我解决这个问题,我真的很感激?任何有关此错误的信息/文档都会非常有帮助。

提前致谢。

4

0 回答 0