Decoder failed: c2.goldfish.hevc.decoder Video codec error on Android13 virtual Device
Open
@microkatz is already working on this.
Since May 23, 2025.
bug
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 1.7.1 (same as 1.6.1)
More version details
No response
Devices that reproduce the issue
Android Virtual Device in Android Studio Meerkat Feature Drop | 2024.3.2
- Android 13 (API level 33) (both arm64 and x86_64)
- Android 15/16 (API level 35/36) (x86_64 only)
Devices that do not reproduce the issue
Physical device
Reproducible in the demo app?
Yes
Reproduction steps
Repeat playing the attached video file more than 3 times.
By modify demos/main/src/main/java/androidx/media3/demo/main/PlayerActivity.java, Add player.setRepeatMode(Player.REPEAT_MODE_ONE);
Or add the video file URL to media.exolist.json, repeat the URL in a playlist.
Expected result
The video can keep playing over and over.
Actual result
After played 2 times, the video would stop playing.
- On AVD with Android 13, "Playback failed" message on screen, logcat
- On AVD with Android 15 /16, video freeze, but audio still playing.
Media
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.