[jb-x86] Can't allocate component instance OMX.Intel.VideoEncoder.AVC

518 views
Skip to first unread message

Masaki Muranaka

unread,
Oct 15, 2013, 11:44:41 PM10/15/13
to andro...@googlegroups.com
Hello,
This issue is similar to about vidx but maybe caused by different reasons.

I run CTS and I got "failed" result. The log output is below.
(I hacked some log outputs so you may not have same results.)

MediaCodec requires OMX.Intel.VideoEncoder.AVC but Android-x86 doesn't have it.
I found component sources at https://github.com/01org/omx_comp.
But it seems to have Moorestown dependencies.

How should we fix it?

Thanks,
- - - - -
10-15 08:39:41.945 2303 2319 I TestRunner: started:
testVideoEdit720p(android.media.cts.DecodeEditEncodeTest)
10-15 08:39:41.945 2303 2536 E MediaCodec: !!! componentName
OMX.Intel.VideoEncoder.AVC
10-15 08:39:41.945 2303 2536 I OMXClient: Using client-side OMX mux.
10-15 08:39:41.945 2303 2536 E ACodec : Unable to instantiate
decoder 'OMX.Intel.VideoEncoder.AVC'.
10-15 08:39:41.945 2303 2536 E MediaCodec: Codec reported an error.
(omx error 0x80001003, internalError -2147483648)
10-15 08:39:41.945 2303 2319 I TestRunner: failed:
testVideoEdit720p(android.media.cts.DecodeEditEncodeTest)
10-15 08:39:41.945 2303 2319 I TestRunner: ----- begin exception -----
10-15 08:39:41.945 2303 2319 I TestRunner:
10-15 08:39:41.945 2303 2319 I TestRunner: java.io.IOException:
Failed to allocate component instance
10-15 08:39:41.945 2303 2319 I TestRunner: at
android.media.MediaCodec.native_setup(Native Method)
- - - - -

--
--
Masaki Muranaka
Monami-ya LLC, Japan.

Chih-Wei Huang

unread,
Oct 16, 2013, 12:12:03 AM10/16/13
to Android-x86
The Intel codecs should be removed from the list.
(it's only for my internal tests)

2013/10/16 Masaki Muranaka <mon...@monami-ya.jp>:
Chih-Wei
Android-x86 project
http://www.android-x86.org

mon...@monami-ya.jp

unread,
Oct 16, 2013, 12:44:47 AM10/16/13
to andro...@googlegroups.com, Masaki Muranaka
From: Masaki Muranaka <mon...@monami-ya.com>

---
media_codecs.xml | 3 ---
1 file changed, 3 deletions(-)

diff --git a/media_codecs.xml b/media_codecs.xml
index babca8a..cd87c91 100644
--- a/media_codecs.xml
+++ b/media_codecs.xml
@@ -130,9 +130,6 @@ Only the three quirks included above are recognized at this point:
<MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp" />
<MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb" />
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" />
- <MediaCodec name="OMX.Intel.VideoEncoder.AVC" type="video/avc">
- <Quirk name="requires-loaded-to-idle-after-allocation" />
- </MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc" />
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" />
<MediaCodec name="OMX.google.flac.encoder" type="audio/flac" />
--
1.7.9.5

Chih-Wei Huang

unread,
Oct 17, 2013, 9:14:47 PM10/17/13
to Android-x86
Fine. Thanks!

2013/10/16 <mon...@monami-ya.jp>:

Masaki Muranaka

unread,
Oct 17, 2013, 10:26:48 PM10/17/13
to andro...@googlegroups.com
Hi, Thanks for your review. I pushed it.

2013/10/18 Chih-Wei Huang <cwh...@android-x86.org>:
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages