-
Notifications
You must be signed in to change notification settings - Fork 574
Open
Labels
Description
Version
Media3 main branch
More version details
This issue has been happening for over a year since I got my Pixel 8 Pro.
Devices that reproduce the issue
Pixel 8 Pro
Devices that do not reproduce the issue
Samsung Tab S8+
Reproducible in the demo app?
Yes
Reproduction steps
- Open video file that has a Dolby Digital Plus audio track
- Video doesn't play and error on screen displays: MediaCodecAudioRenderer error, index=2, format=Format(2, null, null, audio/eac3, null, -1, en, [-1, -1, -1.0, null], [6, 48000]), format_supported=YES
Expected result
Video plays Dolby Atmos files without workaround.
Here is the workaround found in the Just Player github:
- Open video with Dolby Digital Plus audio track
- Audio decoding error on screen
- Go to settings by long pressing the cog button
- Change Decoder priority from Prefer device decoders (default) to Prefer app decoders
- Exit settings
- Try to play video again and get the same audio decoding error
- Go back to settings by long pressing the cog button
- Change Decoder priority back to Prefer device decoders (default)
- Exit settings
- Play video again and video will play with audio and video
Actual result
The error shows: MediaCodecAudioRenderer error, index=2, format=Format(2, null, null, audio/eac3, null, -1, en, [-1, -1, -1.0, null], [6, 48000]), format_supported=YES
Then it shows "Decoder failed: c2.dolby.eac3.decoder"
Media
Using any recent pixel phones 6 - 8, I have seen this issue posted on Just Player github for the same issue and was told by the developer to report this issue here. Using any dolby digital plus video will reproduce this issue. Recently an update has fixed using a video file with TrueHD audio track.
Bug Report
- You will email the zip file produced by
adb bugreport
to android-media-github@google.com after filing this issue.
CurtisTD