• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin Android TV Playback Issue with HEVC HDR Content

     
    • 0 Vote(s) - 0 Average

    Jellyfin Android TV Playback Issue with HEVC HDR Content

    gvns
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #1
    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
    • 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
    Issue Description
    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"
    The playback then fails and returns to the menu screen.

    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
    Audio Details
    • Primary: EAC3, 5.1 channels, 1024 kbps
    • Secondary: AC3, stereo, 192 kbps
    Client Information
    • Device: Mi Box running Android TV
    • Jellyfin client version: 0.17.7
    Additional Information
    • 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


    Attached Files
    .zip   jellyfin-logs.zip (Size: 67.72 KB / Downloads: 223)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-20, 01:47 AM
    What is the client device?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gvns
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #3
    2024-10-20, 02:06 AM
    Client device is a Xiaomi Mi Box 3 running Android 9, with the jellyfin-androidtv 0.17.7 release
    gvns
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #4
    2024-10-20, 02:34 AM
    Ahh, I am realizing why you asked about the client device specifically. I infer that for HEVC decoding in hardware on the client, I need a client device that supports that. Though, I am under the impression that without hardware decoding there is still the option for software decoding.

    I figure I have two options:
    - replace that client device with a better one that supports HEVC hardware decoding
    - re-encode the source videos

    Am I on the right track here?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-10-20, 03:07 AM
    The problem is the HDR part. From the spec sheet it mentions 4K HEVC, but not 10-bit HEVC nor HDR.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gvns
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #6
    2024-10-20, 04:05 AM
    Ahh, good catch. What would you suggest is my best option then? I figure I should probably replace the device. Is Chromecast the best option still? I see a few others on the market and I know Google is dropping it in favour of their TV Streamer box.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-10-20, 04:26 AM
    It depends on what you want. The Nvidia Shield Pro, on the high end, supposedly has excellent audio codec support if you have a received hooked up to it.

    If you just need a streaming box, I have two Chromecast with Google TV 4Ks and the new Google TV Streamer. No issues with either. Roku's are also good. I have the 4800X (that I only use for testing) and it is very responsive and performant, though I don't care for the interface.

    Avoid Firesticks.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gvns
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #8
    2024-10-20, 05:25 AM
    Gotcha, thanks for all the advice and insight here. I appreciate your taking the time to go into detail!

    In the interim, I am using an iPad Air and using the web client to play HEVC HDR content. Less convenient but it works.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode