ExoPlayerImplInternal: Renderer error.

227 views
Skip to first unread message

man jk

unread,
Oct 20, 2022, 4:55:15 AM10/20/22
to Google Mobile Ads SDK Developers
Hi, I encountered a problem when using native video ads: the video resource of the ad is playing incorrectly, the following is the error log:
2022-10-20 16:48:48.623 27313-27630/com.google.android.gms.example.nativeadvancedexample E/ExoPlayerImplInternal: Renderer error.
    com.google.android.gms.ads.exoplayer3.c
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.N(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:20)
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:4)
        at com.google.android.gms.ads.exoplayer3.video.h.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:1)
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.z(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:3)
        at com.google.android.gms.ads.exoplayer3.n.handleMessage(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:42)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loopOnce(Looper.java:233)
        at android.os.Looper.loop(Looper.java:334)
        at android.os.HandlerThread.run(HandlerThread.java:67)
     Caused by: com.google.android.gms.ads.exoplayer3.mediacodec.b: Decoder init failed: OMX.qcom.video.decoder.vp9, Format(1, null, video/x-vnd.on2.vp9, -1, null, [640, 360, -1.0], [-1, -1])
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.N(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:19)
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:4) 
        at com.google.android.gms.ads.exoplayer3.video.h.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:1) 
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.z(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:3) 
        at com.google.android.gms.ads.exoplayer3.n.handleMessage(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:42) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loopOnce(Looper.java:233) 
        at android.os.Looper.loop(Looper.java:334) 
        at android.os.HandlerThread.run(HandlerThread.java:67) 
     Caused by: android.media.MediaCodec$CodecException: Failed to initialize OMX.qcom.video.decoder.vp9, error 0xfffffff4
        at android.media.MediaCodec.native_setup(Native Method)
        at android.media.MediaCodec.<init>(MediaCodec.java:1989)
        at android.media.MediaCodec.createByCodecName(MediaCodec.java:1958)
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.N(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:9)
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:4) 
        at com.google.android.gms.ads.exoplayer3.video.h.G(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:1) 
        at com.google.android.gms.ads.exoplayer3.mediacodec.c.z(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:3) 
        at com.google.android.gms.ads.exoplayer3.n.handleMessage(:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:42) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loopOnce(Looper.java:233) 
        at android.os.Looper.loop(Looper.java:334) 
        at android.os.HandlerThread.run(HandlerThread.java:67) 
2022-10-20 16:48:50.643 27313-27661/com.google.android.gms.example.nativeadvancedexample E/ACodec: Unable to instantiate codec 'OMX.qcom.video.decoder.vp9' with err 0xfffffff4.
2022-10-20 16:48:50.643 27313-27661/com.google.android.gms.example.nativeadvancedexample E/ACodec: signalError(omxError 0xfffffff4, internalError -12)
2022-10-20 16:48:50.643 27313-27660/com.google.android.gms.example.nativeadvancedexample E/MediaCodec: com.google.android.gms.example.nativeadvancedexample Codec reported err 0xfffffff4, actionCode 0, while in state 1/INITIALIZING

Steps to reproduce:
         I need to insert a large number of ads in the list, when the number of requests reaches a certain order, this "Renderer error." will appear, I can't call the unifiedNativeAd.destroy() method, because the user may slide back to see this ad.

How do I fix this problem?

يوميات محمد ومريومة

unread,
Oct 20, 2022, 4:57:48 AM10/20/22
to man jk, Google Mobile Ads SDK Developers
بالتوفيق للجميع 

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/d0acd4bd-c7ac-4761-b234-5c16b6a1d958n%40googlegroups.com.

Mobile Ads SDK Forum Advisor

unread,
Oct 20, 2022, 2:02:39 PM10/20/22
to google-adm...@googlegroups.com
Hello,

Thank you for raising this to us. Let me do the best I can to assist you in this. 

Checking on the crash logs, I could see symbols coming from our Mobile Ads SDK. For us to investigate further, could you please provide the following as well?
  • App ID
  • Ad Unit ID
  • Affected devices
  • percentage occurrence of the crash
In addition, could you kindly confirm if you were able to repro the crash locally? If so, please provide us a sample project where the issue is reproducible. You may provide all the requested information via reply privately to author option or using the steps below:
 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002cOLtaQAG&entry.80707362=00154463

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.



Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2cOLta:ref
Reply all
Reply to author
Forward
0 new messages