Open tlambertz opened 8 months ago
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
I have the same issue, this explains why high bitrate does work, but low bitrate freezes.
0.16.11
Chromecast HD
Android 12
10.9.8
Describe the bug
My Chromecast HD is not capable of smoothly playing 4k HEVC, but requests direct-play anyways. Audio works smoothly, but I am getting around 5 FPS, with the audio front-running the video.
My video file is somewhat atypical: 4k HEVC, but SDR and only 2 mbps bitrate. When playing back a more 'typical' HEVC 4k file, 19mbps and HDR10, it always transcodes correctly.
AFAIK, there is no workaround for this issue available right now, except for choosing a veery low bitrate limit to force transcoding, which impacts quality too much. For this particular file, I have to lower the bitrate limit to 1 mbps, which looks quite blocky.
One possible fix would be to add the Chromecast HD to the list of devices that don't support 4k video at all: https://github.com/jellyfin/jellyfin-androidtv/blob/be826c3a47e78415a7c9db14cff39809accdbf43/app/src/main/java/org/jellyfin/androidtv/util/DeviceUtils.kt#L49-L51 That might unnecessarily force transcoding for non-hevc 4k content, though. I have NOT verified yet if the chromecast can playback non-hevc 4k content, but I assume it can since this issue hasn't surfaced earlier? I am also not sure how prevalent such content is, or how many folks rely on direct-play there. For my use-case, blacklisting 4k content from direct-play would be perfect.
I see PR https://github.com/jellyfin/jellyfin-androidtv/pull/3110 is intended to make 4k-direct-playback configurable, but having a good working default for known devices would improve user experience.
Media info of the file
~5 fps Playback for 'atypical' file:
Chromecast correctly chooses to transcodes following file:
Application version
0.16.6
Device information
Chromecast HD
Android version
Android 12
Jellyfin server version
10.8.13