Play freeze when play UHD video at android TV
Open
@marcbaechinger is already working on this.
Since Jan 5, 2026.
bug
needs triage
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 main branch
More version details
I played a uhd video with exoplayer. After playing for a few seconds, the video freezes.
If i press play forward, it plays.
I compared with androidplayer and it works perfectly (same for ijkplayer, vlc so on)
Below is the error log:
12-22 14:39:58.811 E/LoadTask(14802): OutOfMemory error loading stream
12-22 14:39:58.811 E/LoadTask(14802): java.lang.OutOfMemoryError: Failed to allocate a 65552 byte allocation with 13704 free bytes and 13KB until OOM, max allowed footprint 268435456, growth limit 268435456
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.upstream.DefaultAllocator.allocate(DefaultAllocator.java:106)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.source.SampleDataQueue.preAppend(SampleDataQueue.java:233)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.source.SampleDataQueue.sampleData(SampleDataQueue.java:194)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.source.SampleQueue.sampleData(SampleQueue.java:608)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.extractor.TrackOutput.sampleData(TrackOutput.java:176)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.extractor.ts.H265Reader.consume(H265Reader.java:127)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.extractor.ts.PesReader.consume(PesReader.java:147)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.extrator.ts.TsExtractorCustom.read(TsExtractorCustom.java:548)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.source.BundledExtractorsAdapter.read(BundledExtractorsAdapter.java:147)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1146)
12-22 14:39:58.811 E/LoadTask(14802): at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:453)
12-22 14:39:58.811 E/LoadTask(14802): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
12-22 14:39:58.811 E/LoadTask(14802): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
12-22 14:39:58.811 E/LoadTask(14802): at java.lang.Thread.run(Thread.java:764)
Devices that reproduce the issue
Android S905X5M / S905X3
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Please play the video I provided.
Expected result
play perfect
Actual result
UHD.log This is all of log when play this video
Media
https://drive.google.com/file/d/1jLC6XCJKK9V1MWN-sc-KGyN5VroOg238/view?usp=drive_link
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.