2024-10-20, 01:08 AM
(This post was last modified: 2024-10-20, 01:20 AM by gvns. Edited 2 times in total.)
TL;DR: Jellyfin isn't playing HEVC HDR videos on Android TV. The app shows errors and stops playing. I need help to fix this so I can watch these videos smoothly.
I really like using Jellyfin for my media server. But I've run into a big problem that stops me from watching certain videos. Specifically, I can't play HEVC HDR files, which is what most new movies use these days. This issue is stopping me from using Jellyfin to its full potential for watching my videos. I'm looking for help or advice on how to fix this playback problem with HEVC HDR videos on my Android TV. Any help would be great, thanks!
Environment
Experiencing playback issues with HEVC encoded files on Android TV. A few seconds into playback, the following errors occur:
Affected Content
Example file: Pulp.Fiction.1994.1080p.UHD.BluRay.DDP5.1.DoVi.x265-NTb.mkv
Video Details
Logs
Relevant log snippet:
I really like using Jellyfin for my media server. But I've run into a big problem that stops me from watching certain videos. Specifically, I can't play HEVC HDR files, which is what most new movies use these days. This issue is stopping me from using Jellyfin to its full potential for watching my videos. I'm looking for help or advice on how to fix this playback problem with HEVC HDR videos on my Android TV. Any help would be great, thanks!
Environment
- Jellyfin version: 10.9.11
- Docker container on Unraid 7 beta 3
- Package: bbergle-jellyfin
- iGPU decoding enabled for all supported options including HEVC 10-bit
- Jellyfin Android TV client 0.17.7
Experiencing playback issues with HEVC encoded files on Android TV. A few seconds into playback, the following errors occur:
- "Playback error encountered. Will retry..."
- "Too many errors. Giving up"
Affected Content
Example file: Pulp.Fiction.1994.1080p.UHD.BluRay.DDP5.1.DoVi.x265-NTb.mkv
Video Details
- Codec: HEVC
- Profile: Main 10
- Level: 153
- Resolution: 1920x816
- Framerate: 23.976025
- Bitrate: 14219 kbps
- Bit depth: 10 bit
- Video range: HDR
- Video range type: DOVIWithHDR10
- Color space: bt2020nc
- Color transfer: smpte2084
- Color primaries: bt2020
- Primary: EAC3, 5.1 channels, 1024 kbps
- Secondary: AC3, stereo, 192 kbps
- Device: Mi Box running Android TV
- Jellyfin client version: 0.17.7
- Issue occurs with several different h265 encoded movies
- Playback works as expected on the web client
- Issue seems to be related to transcoding rather than direct play
Logs
Relevant log snippet:
Code:
[2024-10-19 17:10:27.355 -07:00] [INF] [10] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/cache/transcodes/8b479db230cd169d2c83c0aacf95d4c1.m3u8"
[/color]
[color=#ffffff][2024-10-19 17:10:29.888 -07:00] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.9.11" playing "Pulp Fiction". Stopped at "98722" ms[/color]
[color=#ffffff][2024-10-19 17:10:29.930 -07:00] [ERR] [38] MediaBrowser.Providers.Manager.ProviderManager: Error in metadata saver[/color]
[color=#ffffff]System.IO.IOException: Read-only file system : '/data/movies/Pulp Fiction (1994)/movie.nfo'[/color]
[color=#ffffff] at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)[/color]
[color=#ffffff] at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)[/color]
[color=#ffffff] at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)[/color]
[color=#ffffff] at System.IO.FileStream..ctor(String path, FileStreamOptions options)[/color]
[color=#ffffff] at MediaBrowser.XbmcMetadata.Savers.BaseNfoSaver.SaveToFileAsync(Stream stream, String path)[/color]
[color=#ffffff] at MediaBrowser.XbmcMetadata.Savers.BaseNfoSaver.SaveAsync(BaseItem item, CancellationToken cancellationToken)[/color]
[color=#ffffff] at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadataAsync(BaseItem item, ItemUpdateType updateType, IEnumerable`1 savers)[/color]
[color=#ffffff][2024-10-19 17:10:29.951 -07:00] [INF] [61] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzE3LjUgU2FmYXJpLzYwNS4xLjE1fDE3MTY3ODM4MDExMzA1-4bb52952f51d4f0889410af1316d0de3-d39e2a3cff95ac733e9fbde91874a596"[/color]
[color=#ffffff][2024-10-19 17:10:29.951 -07:00] [INF] [61] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 10/19/2024 17:10:29[/color]
[color=#ffffff][2024-10-19 17:10:29.951 -07:00] [INF] [61] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB