Hello fellow selfhosters! I reformatted my USB hard drive from exFAT to XFS because I needed a filesystem that could handle hardlinks. I remounted the hard drive and now jellyfin webUI has a severe stuttering problem on some videos, all of them are MKV but it may be a coincidence. On android (using exoplayer) the same files works smoothly. what could be the problem?
in the logs I get a bunch of Slow HTTP Response from http://fedoraserver:8096/ to 192.168.1.30 in 0:00:07.4635856 with Status Code 200

OT: while looking at the logs this happened

SOLUTION: I enabled hardware acceleration, and manually selected also the HEVC and Allow encoding in HEVC format settings, and now the stutter disappeared! thanks to everyone for your help!!!

  • @Gnorv@feddit.de
    link
    fedilink
    English
    1410 months ago

    I had a similar problem. For me it was because some of the videos were encoded with x265 which some client devices could not decode properly. Therefore the server had to decode them but it was not fast enough to do it.

    I guess that is why on the Android device the videos are smooth, it can handle the decoding.

    • tubbaduOP
      link
      English
      210 months ago

      How did you solve it?

      • KptnAutismus
        link
        fedilink
        English
        5
        edit-2
        10 months ago

        not OC, but i ended up redownloading whatever was x265 and replacing it with 264 or anything else.

        also the 1060 in my NAS can do NVENC encoding. that helped a lot with compatibility.

        • @MajorMajormajormajor@lemmy.ca
          link
          fedilink
          English
          210 months ago

          You can also use something like handbrake to convert everything to 264 instead of redownloading everything. You can also set it up to convert after items are downloaded.

            • @AustralianSimon@lemmy.world
              link
              fedilink
              English
              2
              edit-2
              10 months ago

              It can but it’s the server hardware that decides your performance, you can just avoid transcoder on the fly and have h264 mp4 and can run JF on a toaster smoothly.

            • @Blackmist@feddit.uk
              link
              fedilink
              English
              210 months ago

              Yes, but if the server isn’t fast enough to do it, then you’re going to have a bad time.

      • originalucifer
        link
        fedilink
        410 months ago

        i had this problem. i fixed it with a faster machine. same os, same files. more cpu worked.

        • tubbaduOP
          link
          English
          210 months ago

          You mean a new sever or a new client?

            • tubbaduOP
              link
              English
              2
              edit-2
              10 months ago

              But I know of people running jellyfin on a raspberry, I have an old laptop but it’s not that old… There’srno way to run it smoothly?

              • originalucifer
                link
                fedilink
                010 months ago

                yeah, re-encode to a lighter encoding like 264. might be slightly larger, but less work for the cpu

      • @Gnorv@feddit.de
        link
        fedilink
        English
        310 months ago

        I did not really solve it. I looked around for a bit but found no good solution. The only thing that sort of worked was to copy the stream URL in Jellyfin and paste it into VLC Media Player, which could play the videos okay. But that was not really satisfactory for me.

        In the end I installed a new OS on my PC which already came with the codecs to decode x265 preinstalled. I installed it for other reasons but it fixed also that issue and now I can play any video in the Jellyfin Media Player. I did not try if it also works in the browser. The OS I am now using is called Nobara.

        • tubbaduOP
          link
          English
          110 months ago

          So it’s a problem on codecs on my pc, not my server, correct? So installing the correct drivers should solve the issue?

          • @Gnorv@feddit.de
            link
            fedilink
            English
            410 months ago

            I do not think they are called drivers, but yes, installing the needed codecs should work. I just did not find out how to do it properly.

        • tubbaduOP
          link
          English
          210 months ago

          Doing this will prevent my files from seeding, I’d like to find a more “universal” solution

          Thanks for the info tho!

    • tubbaduOP
      link
      English
      510 months ago

      All Mp4 files I tried worked well

      I’ll read it as soon as I can, thanks!

      • Atemu
        link
        fedilink
        English
        410 months ago

        That has nothing to do with Jellyfin itself. Any comparable service will have the exact same issue because the root cause are browsers not supporting the container.