Unable to instantiate codec 'OMX.qcom.video.encoder.vp8' with err 0xfffffff4

2,476 views
Skip to first unread message

Neil Young

unread,
May 22, 2019, 8:10:58 AM5/22/19
to discuss-webrtc
Is there any know reason/hint for what this error -12 means and how to prevent that?


05-22 13:53:53.490   604  8612 E OMX-VENC: ERROR: venc_open failed
05-22 13:53:53.492   604  8612 E OMX     : FAILED to allocate omx component 'OMX.qcom.video.encoder.vp8' err=??(0x80001000)
05-22 13:53:53.494 28468 29967 W ACodec  : Allocating component 'OMX.qcom.video.encoder.vp8' failed, try next one.
05-22 13:53:53.494 28468 29967 E ACodec  : Unable to instantiate codec 'OMX.qcom.video.encoder.vp8' with err 0xfffffff4.
05-22 13:53:53.494 28468 29967 E ACodec  : signalError(omxError 0xfffffff4, internalError -12)
05-22 13:53:53.495 28468 29963 E MediaCodec: Codec reported err 0xfffffff4, actionCode 0, while in state 1
05-22 13:53:53.498   600   600 E ResourceManagerService: getLowestPriorityBiggestClient_l: lowest priority 0 vs caller priority 0
05-22 13:53:53.501 28468 29961 W MediaCodec-JNI: try to release MediaCodec from JMediaCodec::~JMediaCodec()...
05-22 13:53:53.501 28468 29961 W MediaCodec-JNI: done releasing MediaCodec from JMediaCodec::~JMediaCodec().
05-22 13:53:53.502 28468 28681 D PeerConnectionClient: pc: iceConnectionState: CHECKING
05-22 13:53:53.503 28468 29961 W System.err: android.media.MediaCodec$CodecException: Failed to initialize OMX.qcom.video.encoder.vp8, error 0xfffffff4
05-22 13:53:53.504 28468 29961 W System.err: at android.media.MediaCodec.native_setup(Native Method)
05-22 13:53:53.504 28468 29961 W System.err: at android.media.MediaCodec.<init>(MediaCodec.java:1794)
05-22 13:53:53.504 28468 29961 W System.err: at android.media.MediaCodec.createByCodecName(MediaCodec.java:1775)
05-22 13:53:53.505 28468 29961 W System.err: at org.webrtc.MediaCodecWrapperFactoryImpl.createByCodecName(MediaCodecWrapperFactoryImpl.java:111)
05-22 13:53:53.505 28468 29961 W System.err: at org.webrtc.HardwareVideoEncoder.initEncodeInternal(HardwareVideoEncoder.java:183)
05-22 13:53:53.505 28468 29961 W System.err: at org.webrtc.HardwareVideoEncoder.initEncode(HardwareVideoEncoder.java:174)
05-22 13:53:53.505 28468 29961 E rtc     : 
05-22 13:53:53.505 28468 29961 E rtc     : 
05-22 13:53:53.505 28468 29961 E rtc     : #
05-22 13:53:53.505 28468 29961 E rtc     : # Fatal error in: gen/sdk/android/generated_base_jni/jni/../../../../../../../../../usr/local/google/home/sakal/code/webrtc-aar-release/src/sdk/android/src/jni/jni_generator_helper.h, line 85
05-22 13:53:53.505 28468 29961 E rtc     : # last system error: 0
05-22 13:53:53.505 28468 29961 E rtc     : # Check failed: !env->ExceptionCheck()
05-22 13:53:53.505 28468 29961 E rtc     : # 
05-22 13:53:53.505 28468 29961 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 29961 (EncoderQueue - ), pid 28468 (mdecodingsample)

Adarsh Rajanikanth

unread,
Aug 8, 2019, 1:45:24 AM8/8/19
to discuss-webrtc
Were you able to solve this? If yes, please let me know.

The information in this message may be confidential and is intended only for the individual to whom it is addressed. If you are not the intended recipient of this message, you are hereby notified that any use, review, retransmission, dissemination, distribution, or reproduction of this communication is strictly prohibited. If this message was received in error, please immediately notify the sender and delete or destroy any copy of it.

Yves Gerey

unread,
Aug 8, 2019, 2:36:26 AM8/8/19
to discuss...@googlegroups.com
Are you trying to use the codec concurrently?
Try searching about the initial error:
05-22 13:53:53.492   604  8612 E OMX     : FAILED to allocate omx component 'OMX.qcom.video.encoder.vp8' err=??(0x80001000)
On Thu, Aug 8, 2019 at 7:45 AM Adarsh Rajanikanth <adarsh.ra...@healthtap.com> wrote:
Were you able to solve this? If yes, please let me know.

The information in this message may be confidential and is intended only for the individual to whom it is addressed. If you are not the intended recipient of this message, you are hereby notified that any use, review, retransmission, dissemination, distribution, or reproduction of this communication is strictly prohibited. If this message was received in error, please immediately notify the sender and delete or destroy any copy of it.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/e98e729f-4b07-4903-a398-cfa3d3d19f32%40googlegroups.com.


--
Warm regards,
Yves

Yves Gerey

unread,
Aug 8, 2019, 2:38:05 AM8/8/19
to discuss...@googlegroups.com

OMX_ErrorInsufficientResources There were insufficient resources to perform the requested operation
--
Warm regards,
Yves

Neil Young

unread,
Aug 8, 2019, 4:21:16 AM8/8/19
to discuss-webrtc
No, but it only happens, if I enable H.264 hardware codec. Omitted that and now I don't have that problem anymore
Reply all
Reply to author
Forward
0 new messages