Hi,

I have recently set up a Jellyfin server running on a Beelink S12 pro in docker (with a few other containers running), and I am having a few problems with stuttering video.

I get little micro-stutters every few seconds regardless of whether it is direct play or transcoding and regardless of what client I use (librelec with Jellyfin plugin), android phone, or firefox on a windows laptop), and I am struggling to narrow down the cause of it.

Any ideas of where I should look first?

The server utilisation seems low, I have tried a wired and wifi connection, I have tried 720, 1080, and 2160 resolution videos, with and without transcoding.

Any help would be greatly appreciated.

Edit: I think I have now fixed the problem. I tried a new setup on my gaming PC and everything worked fine. This was running on the same network and same client. This made me think it was something with my server. I used the cup-shares docker command to prioritise the jellyfin container and I’ve had no stutters since.

Edit2: turns that has not fixed it 😔

  • AverageGoob@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    If you have any torrent service running maybe try stopping that temporarily and see if that helps. I was having a similar issue with stuttering and found another person mentioning qbittorrent as the culprit.

  • _Analog_@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Have you isolated source formats? Does it do this with h264 and hevc?

    Tried stopping other containers and/or all other services? Could have less to do with pure power and more with sheer volume (scheduling.)

    Any issues if you use the current server as a file server and play the video on another machine? Any modifications to playback speed?

    If none of that works you might try iperf3 to check network speeds. Or fio for disk speeds. Run tests covering all kinds of situations, you’re not so much looking for max speeds but instead for inconsistencies.

    Don’t get too lost in the small stuff. Isolate systems. Might even move or clone the boot drive to another machine as a test. Try a different switch. That kind of thing.

    Good luck!

    • Starfarer@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Hey thank you for the help.

      I have run a jellyfin off my gaming PC and that worked fine out of the box - no stuttering. This is over wifi on the same network, which makes me think that there is something specific to my new set up that is going wrong.

      I will definitely check the network speeds though and run a few more tests.

    • Starfarer@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The data is on an SATA SSD but I could try moving some over to the small M2 drive to see if there is a difference. Jellyfin is the only process accessing it.

  • Djoot@feddit.dk
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Are you running with subtitles? I had the same issue and it disappeared when I turned off subtitles

  • hottari
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Sounds like you have a network bottleneck. Check your router’s bandwidth settings for something something duplex (can’t recall exact name), make sure the settings are max/full.

    If that fails, most Jellyfin clients should allow you to specify large cache sizes.

  • baldissara@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Might be a network issue, check your upload speed. I had similar problems and the issue was that I was using a cat5 cable on my server, which was limiting the upload to 100mb, causing it to stutter while playing videos with high bitrates