• 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 Video playback stuttering

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Video playback stuttering

    Video playback stuttering
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #1
    2024-03-18, 09:36 PM (This post was last modified: 2024-03-18, 09:48 PM by Unkn0wnUs3r. Edited 1 time in total.)
    Hey guys,

    i just switched to jellyfin to give it a chance replacing my plex server.
    Currently i got a i5-12400 along with a nvidia geforce rtx 3060 (pcie passthrough to my docker vm).

    Inside my docker vm i setup several containers. One of them is jellyfin along with nvidia runtime. Docker containers and transcoding happens on a ssd array. Video files are on my hdd array, mounted to my docker server.

    If someone streams a movie (remote), everything seems to be fine (Video File 9GB; HEVC). If someone wants to watch another movie, stream 1 und 2 stutters and its nearly unplayable.

    I got an average CPU usage of like 30%, Nvidia GPU is being used (checked with nvidia-smi), RAM is like 4 of 16GB used.

    Can someone explain to me why this is happening? I didnt get any issues with plex under a windows vm, streaming to 4 ppl simultaniously. Network upstream is peaked at around 20mbit (if i look onto my unifi udm), my connection can handly up to 40 mbit upload.
    I like the idea to share gpu ressources, this i why i want to give jellyfin a try.

    Logs attached.

    BR Manu


    Attached Files
    .txt   FFmpeg.Transcode-2024-03-18_21-46-01_f94fa134cfc51e464c8ba99b0c15deda_fa7fd460.txt (Size: 52.75 KB / Downloads: 96)
    .txt   FFmpeg.Transcode-2024-03-18_22-21-58_81cefa4351444009976e37da08e68fb9_e6b9b416.txt (Size: 190.63 KB / Downloads: 53)
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #2
    2024-03-18, 09:46 PM
    Update: it is also stuttering while only one person is streaming remote.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-03-18, 10:10 PM
    The transcoding is happening plenty fast. So that isn't it. Are all of your clients remote relative to the server? What is your max upload? 40Mbps? Do you have other apps consuming upstream bandwidth? The 1080P transcode log you attached indicated that the output bit rate was ~20Mbps.
    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]
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #4
    2024-03-18, 10:24 PM
    Thank you for your fast reply.

    All of my clients are near to my server. No other apps consuming bandwith. On my firewall i got a peak usage of 20 mbit (combined). I have 40 mbit available.
    For incoming traffic, i setup my firewall as an exposed host in my router. I set up port forwarding 80/443 to my reverse proxy (nginx), which encrypts the traffic and sends to my jellyfin container on the docker host.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-03-18, 10:34 PM
    So your clients are local? As in on the same LAN? Are your clients using a domain name to connect to your server? Do you have NAT loopback enabled on your router?
    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]
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #6
    2024-03-18, 10:41 PM (This post was last modified: 2024-03-18, 10:44 PM by Unkn0wnUs3r.)
    No, my clients are a few kilometers away, streaming with different devices like apple ipad or webbrowser from my domain media.unknownworkspace.de.
    At home, i also stream from my domain - which is kinda useless because the traffic will also go through the www.

    Cant find any options regarding nat loopback in either my firewall nor my router.

    Speedtest inside an extra docker container.


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-03-18, 11:24 PM
    It may also be called NAT hairpin or simply Hairpin. But not all routers support it. NAT Loopback is only needed if you access it from the same LAN, which is sounds like you also do. NAT loopback/hairpin keeps data local if you use your domain name instead of going out to the Internet only to come back to the same place.

    For testing, can you port forward port 8096 and access Jellyfin directly without the nginx proxy?
    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]
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #8
    2024-03-19, 06:29 AM
    I exposed port 8920 cause of https redirection.
    Video playback to my web browser (computer connected to lan) is also stuttering. But it is better: just 4 short breaks in 3-5 minutes - yet not optimal.


    Attached Files
    .txt   FFmpeg.Transcode-2024-03-19_07-21-45_8b2e31c7c87691e517fc152e69fe93bc_e8e1390b.txt (Size: 125.05 KB / Downloads: 61)
    .txt   FFmpeg.Transcode-2024-03-19_07-21-40_8b2e31c7c87691e517fc152e69fe93bc_c633394c.txt (Size: 37.02 KB / Downloads: 64)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-03-19, 04:14 PM
    Both of these transcodes are over 80Mbps. This is sounding like a network bandwidth issue. In Plex did you have a bit rate limit set? And you don't have one in Jellyfin (yet)?
    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]
    Unkn0wnUs3r
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #10
    2024-03-19, 06:28 PM
    AFAIK Plex is handling out the available bandwith in some way and sends it back to the server to get the movie transcoded or direct played.
    In Jellyfin, i set a bandwith limit per stream outside my network of about 20 mbit.
    Pages (2): 1 2 Next »

    « 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