com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.MTK.VIDEO.DECODER.AVC, MediaFormat(1, video/avc, -1, 1036784, 3840, 2048, 0, 1.0, -1, -1, null, 29397000, false, -1, -1, -1, -1, -1)

GitHub | nathanmartz | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 267#252488701

    GitHub | 4 months ago | nathanmartz
    com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.MTK.VIDEO.DECODER.AVC, MediaFormat(1, video/avc, -1, 1036784, 3840, 2048, 0, 1.0, -1, -1, null, 29397000, false, -1, -1, -1, -1, -1)
  2. 0

    i cannot load my online video by

    GitHub | 4 months ago | SnowMusic
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.MTK.VIDEO.DECODER.AVC, MediaFormat(1, video/avc, -1, 1036784, 3840, 2048, 0, 1.0, -1, -1, null, 29397000, false, -1, -1, -1, -1, -1)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Samsung S4 [OMX.Exynos.avc.dec] configureCodec returning error -38

    GitHub | 10 months ago | wwrrss
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.Exynos.avc.dec, MediaFormat(1, video/avc, -1, 1821804, 3840, 1920, 0, 1.0, -1, -1, null, 60000000, false, -1, -1, -1, -1)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.media.MediaCodec$CodecException

    Error 0x80001001

    at android.media.MediaCodec.native_configure()
  2. Android Platform
    MediaCodec.configure
    1. android.media.MediaCodec.native_configure(Native Method)
    2. android.media.MediaCodec.configure(MediaCodec.java:590)
    2 frames
  3. Custom implementation of exoplayer with slow motion
    ExoPlayerImplInternal.handleMessage
    1. com.google.android.exoplayer.MediaCodecVideoTrackRenderer.configureCodec(MediaCodecVideoTrackRenderer.java:328)
    2. com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:402)
    3. com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:797)
    4. com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:333)
    5. com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:540)
    6. com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:523)
    7. com.google.android.exoplayer.SampleSourceTrackRenderer.doSomeWork(SampleSourceTrackRenderer.java:128)
    8. com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:432)
    9. com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:211)
    9 frames
  4. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:107)
    2. android.os.Looper.loop(Looper.java:192)
    3. android.os.HandlerThread.run(HandlerThread.java:61)
    3 frames
  5. Custom implementation of exoplayer with slow motion
    PriorityHandlerThread.run
    1. com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
    1 frame