HEVC Crashing on Chromecast with Google TV via AVR
See original GitHub issueEnvironment
- ExoPlayer r2.13.1 and above (including r2.14.2).
- Chromecast with Google TV, connected to an AVR or soundbar (without the AVR or soundbar HEVC videos play correctly).
- Android 10.
- HEVC Main 10 video seems to be the common culprit.
Reproducing
- Play the attached video in the ExoPlayer demo application, or any HEVC Main 10 video.
Actual Behaviour
- Notice the video freezes randomly, frames are dropped or the device crashes and partially reboot (this takes a number of play throughs to replicate).
- Null pointer dereference error occurs from the
surfaceflinger
process:Unable to handle kernel NULL pointer dereference at virtual address 00000000
, this then causes the device to partially reboot - it seems more like an OS reboot rather than a full device reboot.
Expected Behaviour
Playback is smooth without frame freezes or drops, and without rebooting the device.
Sample + Recorded Video
https://drive.google.com/drive/folders/1hpLZnBSBvF89MxOXtbOPMgfg_t-4k898
HEVC 10 - EAC3 Atmos - Crash Sample.mkv
is the sample video that can be played to replicate the behaviour.ExoPlayer v2.14.2 Demo on Chromecast with Google TV.mp4
provides a video recording showing the behaviour on the ExoPlayer r2.14.2 demo application (shows the video freezing and frames being dropped).adb bugreport
is also zipped up in the folder.
Notes
Sounds like more of a device related issue rather than an issue with ExoPlayer, however the problem started occurring in ExoPlayer r.13.1. In r2.12.1 HEVC plays back smoothly on a Chromecast with Google TV device.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:67
- Comments:36 (11 by maintainers)
Top Results From Across the Web
Chromecast with Google Tv: HEVC H.265 support. - Reddit
265 either stutters or crashes the app. Any insight on wether the new Google Tv supports HEVC? Or which codecs it does support?...
Read more >Not working on new Chromecast with Google TV (Android 12 ...
If it's a problem that Google has to fix, we are probably screwed. It took over 6 months for them to get HEVC...
Read more >Fix app crashes on Google TV
If an app crashes while you're using Google TV, this article can help fix the issue. Check for app updates On your TV,...
Read more >"Google Chromecast with Google TV" dongle with a new ...
Hi everyone, New to this forum, and new to Kodi. Long story short, I've been using the old chromecast for a couple of...
Read more >Problem playing x265 via KODI with Chromecast with Google tv
Reading a file in x265 (HEVC) format does not work correctly, however: it is very jerky (an image every 2/3 seconds and sound...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do have some updates on this issue:
We will keep this issue open to track the continued investigation into the underlying platform issue.
It shouldn’t be possible for the application layer (which is where ExoPlayer lives) to cause a device reboot, so the fact this is occurring indicates an issue in the underlying platform. I have requested an update and increased the priority of the issue that we previously filed on the relevant team.