com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecUtil$DecoderQueryException: Failed to query underlying media codecs

GitHub | manishmips28 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exoplayer is not working on Micromax MT500 android 4.1.2 ,API 16

    GitHub | 10 months ago | manishmips28
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecUtil$DecoderQueryException: Failed to query underlying media codecs
  2. 0

    mp3 files are not playing on some devices

    GitHub | 2 years ago | pratikpradhan
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: [-49998], MediaFormat(audio/mpeg, -1, -1, -1, -1.0, 1, 16000, -1, -1, -1)
  3. 0

    GitHub comment 398#148025143

    GitHub | 2 years ago | VasiliyMikhailov
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecUtil$DecoderQueryException: Failed to query underlying media codecs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to query codec OMX.qcom.audio.decoder.mp3 (audio/mpeg)

    GitHub | 10 months ago | watemotion
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecUtil$DecoderQueryException: Failed to query underlying media codecs
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. java.lang.IllegalArgumentException

    No message provided

    at android.media.MediaCodecList.getCodecCapabilities()
  2. Android Platform
    MediaCodecInfo.getCapabilitiesForType
    1. android.media.MediaCodecList.getCodecCapabilities(Native Method)
    2. android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:211)
    2 frames
  3. Custom implementation of exoplayer with slow motion
    ExoPlayerImplInternal.handleMessage
    1. com.google.android.exoplayer.MediaCodecUtil.getDecoderInfosInternal(MediaCodecUtil.java:160)
    2. com.google.android.exoplayer.MediaCodecUtil.getDecoderInfos(MediaCodecUtil.java:129)
    3. com.google.android.exoplayer.MediaCodecUtil.getDecoderInfo(MediaCodecUtil.java:106)
    4. com.google.android.exoplayer.MediaCodecSelector$1.getDecoderInfo(MediaCodecSelector.java:35)
    5. com.google.android.exoplayer.MediaCodecAudioTrackRenderer.handlesTrack(MediaCodecAudioTrackRenderer.java:216)
    6. com.google.android.exoplayer.MediaCodecTrackRenderer.handlesTrack(MediaCodecTrackRenderer.java:293)
    7. com.google.android.exoplayer.SampleSourceTrackRenderer.doPrepare(SampleSourceTrackRenderer.java:76)
    8. com.google.android.exoplayer.TrackRenderer.prepare(TrackRenderer.java:110)
    9. com.google.android.exoplayer.ExoPlayerImplInternal.incrementalPrepareInternal(ExoPlayerImplInternal.java:273)
    10. com.google.android.exoplayer.ExoPlayerImplInternal.prepareInternal(ExoPlayerImplInternal.java:264)
    11. com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:201)
    11 frames
  4. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:95)
    2. android.os.Looper.loop(Looper.java:137)
    3. android.os.HandlerThread.run(HandlerThread.java:60)
    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