• 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 Direct Playback Stutters after 15-45 minutes

     
    • 0 Vote(s) - 0 Average

    Direct Playback Stutters after 15-45 minutes

    Direct Playback Stutters after 15-45 minutes
    FaptainCrunch7
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #1
    2025-02-24, 02:28 PM (This post was last modified: 2025-02-24, 02:36 PM by FaptainCrunch7. Edited 1 time in total.)
    Recently, JF has been giving me some issues with playback. JF is direct playing a movie, and after awhile it starts playing in slowmotion. If I back out of the movie and go back in, its fine again for another short amount of time, but then stutters again. I have JF in docker on UNRAID a Ryzen 5600g and 16gb DDR4. When it hangs, CPU is less than 5% with RAM at 20%. I tried with Transcoding enabled and disabled, same issue. Both me and the other user use Android TV and the sever is 10.10.6.

    Running a speed test from my AP to the client, I get a consistent 200+ mbps. Same issue also happens to a friend who uses my JF by accessing it on a reverse proxy. Speed test at my router is 350mbps, with my server hardwired directly to it. It never used to do this. Kinda of lost.. any ideas?
    Logs from the docker HERE. Logs from JF server HERE
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-25, 02:32 PM
    Which reverse proxy are you using? Nginx Proxy Manager?

    I see that Jellyfin is running in bridge mode. Is the reverse proxy also running with bridge networking? Is the Jellyfin container publishing port 8096?
    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]
    FaptainCrunch7
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #3
    2025-02-26, 01:40 AM
    (2025-02-25, 02:32 PM)TheDreadPirate Wrote: Which reverse proxy are you using?  Nginx Proxy Manager?

    I see that Jellyfin is running in bridge mode.  Is the reverse proxy also running with bridge networking?  Is the Jellyfin container publishing port 8096?

    Both JF and NPM are bridge networking and Jellyfin is on port 8096. Everythings been working great for years. I access JF from local lan at home.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-26, 02:15 PM
    When you say "jellyfin is on port 8096", does that mean that you are publishing port 8096? I usually see the host's IP in the log when port publishing is used, but I don't see that. Just the bridge IP.

    Can you share screenshots of how Jellyfin and NPM are configured in unRAID. And screenshots of the NPM proxy settings for Jellyfin? Censor the domain name.
    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]
    FaptainCrunch7
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #5
    2025-02-26, 09:54 PM (This post was last modified: 2025-02-26, 09:55 PM by FaptainCrunch7. Edited 2 times in total.)
    Added 4 pics for various JF and NPM configs.


    Attached Files Thumbnail(s)
                   
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-02-26, 11:07 PM
    Turn off "cache assets" in NPM. That can cause a lot of issues with jellyfin, even when direct playing. There is no benefit to it being on and it just consumes a lot of resources.

    Unrelated, passing in your GPU via the extra arguments PROBABLY works fine. The "right" way is to click on "Show more settings" and there is an explicit "Devices" field to pass in /dev/dri.
    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]
    FaptainCrunch7
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #7
    2025-02-26, 11:53 PM
    Thanks for the NPM tip! NPM shouldn't be the issue if im just mapping the client while home direct to Jellyfin via local IP while at home though, correct?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-02-27, 01:43 PM
    If you're going directly to port 8096, it would bypass Nginx.

    Let's try this. Remove port publishing in Jellyfin. Reconfigure Nginx to proxy Jellyfin's bridge IP (172.16.0.6). Have ALL clients go to the domain address.

    To improve the experience for local clients, you should enable NAT loopback if your router supports that. If not, most routers should allow you to add custom DNS entries. You would add a DNS entry to resolve your domain name to your host's LAN IP. I prefer just doing custom DNS entries, in general, so that my domain name still works for LAN clients if the Internet were to go out.

    What we're trying to do is reduce the number of context changes that is going on for network traffic. Going from host network to bridge network to host network to bridge network, and then again in reverse.
    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]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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