H.265 unencrypted stream playback with video black or frozen on MediaTek decoder
@tonihei is already working on this.
Since Sep 5, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
ExoPlayer 2.15.0
More version details
On XiaoMi TV with Android 14, H.265/HEVC hardware decoding on (MediaTek (MTK) hardware decoder , c2.mtk.hevc.decoder) devices fails to render video. The decoder initializes without throwing errors, but the output surface remains black or frozen.
Please investigate as a potential MediaCodec hardware decoder(c2.mtk.hevc.decoder) failure in the video decoding or rendering process.
This is the the provided log file:
Devices that reproduce the issue
On XiaoMi TV with Android 14
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Play an H.265/HEVC-encoded video with hardware decoding enabled.
Observe playback behavior:
Black screen while audio continues
Expected result
H.265/HEVC content should decode and render smoothly via the MediaTek HEVC hardware decoder.
Actual result
Black screen (audio continues) or frozen video frame.
No MediaCodec renderedFrame or similar logs and no error callback or ExoPlaybackException is reported.
Media
Video Details:
Resolution: e.g., 1920×1080
Frame Rate: e.g., 30 fps
DRM: No
URI: the HLS stream is protected, we can offer a TS segment.
http://t033.cloud.vod03.icntvcdn.com/hls/850K/2025/08/29/3c53b4bc644c4389a60f62a9b2da6bee/20250829T093241-1-0.ts
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.