question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/dolby-vision, hev1.08.04, -1, null, [1920, 1080, 29.978088], [-1, -1]), format_supported=NO_EXCEEDS_CAPABILITIES

See original GitHub issue

ExoPlayer version number 2.15.0 Android version 10, 11 Android device:

  • Emulator: 720 x 1600, api 29 (Android 10), RAM size 1536
  • Vivo V2027 Android: 10 RAM: 4G
  • Oppo A73 Android: 11

  • I try use ExoPlayer to play video, some video work find, some get an error: com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/dolby-vision, hev1.08.04, -1, null, [1920, 1080, 29.978088], [-1, -1]), format_supported=NO_EXCEEDS_CAPABILITIES
  • More info about video error: dimensions: 1080 x 1920 codecs: AAC, HEVC colour profile: BT.2020 HLG (9-18-9) type: .mp4 (i also setMimeType(MimeTypes.APPLICATION_MP4) for exo player)
  • I searched in issues tap but haven’t found a solution yet, pls help me!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
icbakercommented, Oct 4, 2021

Thanks for the bugreport, but it doesn’t seem to contain any of the logging I’d expect to see from a playback in the demo app. Did you capture this after reproducing the problem in the demo app? Specifically I’d expect to see a large number of lines from EventLogger because the demo app enables additional debug logging as described here: https://exoplayer.dev/debug-logging.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

com.google.android.exoplayer2.ExoPlaybackException ...
On certain devices the playback fails with MediaCodecVideoRenderer error. Error seems to relate to the fullHD rendition which is included in ...
Read more >
Flutter: Flutter Video Player cannot play a video file TWICE ...
The bug is caused by the targetSdkVersion in build.gradle file (app level), so I need to add an extra permission.
Read more >
Video playback on RPI 4 not working - Emteria Forum
[42c82298118ecee8] com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, ...
Read more >
RewardedAd keeps MediaCodec resources ( through ...
ExoPlaybackException : com.google.android.exoplayer2.mediacodec. ... Format(1, null, null, video/avc, null, -1, null, [1920, 1080, 30.007599], [-1, -1]).
Read more >
Trouble playing some videos : r/PleX - Reddit
com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=1, format=Format(0, null, null, video/avc, h264, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found