CTS失败项分析(1) -CtsMediaTestCases testAllComponentInstantiation

在CTS测试中遇到一个异常情况,尽管平台已通过多个项目认证且支持OMX.MTK.VIDEO.DECODER.AVC格式,但测试中出现失败。失败原因关联到libClearMotionFW.so,这是MTK平台的插帧技术,由于不被支持,关闭此功能可解决认证问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近遇到一个比较奇怪的CTS失败项,因为整个平台已经很多项目都通过了认证,也没有报编解码相关的失败项,公版中也支持OMX.MTK.VIDEO.DECODER.AVC格式,但是跑测过程中出现了以下的失项:

CtsMediaTestCases android.media.cts.MediaCodecListTest#testAllComponentInstantiation

fail: java.io.IOException: Failed to find matching codec OMX.MTK.VIDEO.DECODER.AVC, error 0x80000000

失败项的测试输出:

05-27 20:36:45 I/ConsoleReporter: [1/1 armeabi-v7a CtsMediaTestCases tttttttttttttttt]
android.media.cts.MediaCodecListTest#testAllComponentInstantiation 
fail: java.io.IOException: Failed to find matching codec OMX.MTK.VIDEO.DECODER.AVC, error 0x80000000
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.<init>(MediaCodec.java:1799)
at android.media.MediaCodec.createByCodecName(MediaCodec.java:1780)
at android.media.cts.MediaCodecListTest.testComponentInstantiation(MediaCodecListTest.java:184)
at android.media.cts.MediaCodecListTest.testAllComponentInstantiation(MediaCodecListTest.java:202)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
at junit.framework.TestResult.run(TestResult.java:118)
at android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55)
at junit.framework.TestCase.run(TestCase.java:124)
at android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63)
at android.support.test.internal.runner.junit3.AndroidTestSuite$2.run(AndroidTestSuite.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(Futur
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值