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 issueExoPlayer 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:
- Created 2 years ago
- Comments:17 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.htmlhttps://developer.android.com/studio/debug/bug-report