androidx / androidx/media

Decoder failed: c2.goldfish.hevc.decoder Video codec error on Android13 virtual Device

Open
#2,461 5 comments 0 reactions 1 assignee View on GitHub

@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

error_logs.txt

  • On AVD with Android 15 /16, video freeze, but audio still playing.
Media

sample_loop.zip

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.