com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: [-49999], MediaFormat(1, video/avc, -1, -1, 640, 360, 0, 1.0, -1, -1, null, 135502033, false, 1280, 720, -1, -1, -1)

GitHub | endlessmind | 3 months ago
  1. 0

    Device does not provide a decoder - on everything (Android 5.1.1)

    GitHub | 3 months ago | endlessmind
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: [-49999], MediaFormat(1, video/avc, -1, -1, 640, 360, 0, 1.0, -1, -1, null, 135502033, false, 1280, 720, -1, -1, -1)
  2. 0

    Unable to play HLS Video in exoplayer in Nexus 4

    GitHub | 2 years ago | sachinbhanot
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc, MediaFormat(video/avc, -1, 640, 304, 1.0, -1, -1, -1, -1, 1920, 1080)
  3. 0

    GitHub comment 1515#218183130

    GitHub | 7 months ago | j-t-h
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc, MediaFormat(null, video/avc, -1, -1, 640, 360, -1, 1.0, -1, -1, null, -1, false, 1920, 1080, -1, -1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is there a way to play *.flv (flash) videos?

    GitHub | 2 years ago | krok55
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: [-49999], MediaFormat(video/vp6, -1, 320, 240, -1.0, -1, -1, -1, -1, -1)
  6. 0

    Decoder init failed with TextureView and DASH/Widevine

    GitHub | 2 years ago | brillenheini
    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc.secure, MediaFormat(video/avc, -1, 640, 360, 1.0, -1, -1, -1, 1920, 1080)
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. com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException

    Decoder init failed: [-49999], MediaFormat(1, video/avc, -1, -1, 640, 360, 0, 1.0, -1, -1, null, 135502033, false, 1280, 720, -1, -1, -1)

    at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec()
  2. Custom implementation of exoplayer with slow motion
    ExoPlayerImplInternal.handleMessage
    1. com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:385)
    2. com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:797)
    3. com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:333)
    4. com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:540)
    5. com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:523)
    6. com.google.android.exoplayer.SampleSourceTrackRenderer.doSomeWork(SampleSourceTrackRenderer.java:128)
    7. com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:432)
    8. com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:211)
    8 frames
  3. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:98)
    2. android.os.Looper.loop(Looper.java:211)
    3. android.os.HandlerThread.run(HandlerThread.java:61)
    3 frames
  4. Custom implementation of exoplayer with slow motion
    PriorityHandlerThread.run
    1. com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
    1 frame