• 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 Networking & Access Jellyfin stuttering over VPN despite fast download speed

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Jellyfin stuttering over VPN despite fast download speed

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-11-04, 12:53 PM
    The MKV files.
    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]
    StaticUnit97
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #12
    2024-11-05, 02:46 AM (This post was last modified: 2024-11-05, 02:47 AM by StaticUnit97. Edited 1 time in total.)
    (2024-11-04, 02:44 AM)TheDreadPirate Wrote: Try just remuxing one of your videos.  To make sure there isn't something wrong with the container.

    Code:
    ffmpeg -fflags +genpts+igndts -i "/path/to/your/file.mkv" -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts auto newFile.mkv

    Update: the remuxed file is having the same stuttering as the original. Fixing bitrate to 20 mbps also works as before. Some of the mkv files we've been playing are from MakeMKV, some not.

    Interestingly, tonight he is having to sometimes drop to 15 or 10 mbps to get things to play without stuttering, so there must just be a bottleneck somewhere. I had him play something on his phone over a cell connection to at least rule out his local ISP servers, and things were still stuttering.

    I'm able to stream things on my cell connection, so it seems like my server + Jellyfin are working well. At least for something "local". Any other ideas on the Jellyfin side?

    And thanks for all your help, it's much appreciated.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-11-05, 04:39 PM
    So the remux was just to verify that the file itself isn't bad. Which doesn't appear to be the case.

    I think setting up a Librespeed container (self-hosted speed test) is the next step. To have your friend test a plain http based connection speed test instead of whatever custom protocol Speedtest uses.

    I've included an example docker compose from my setup.

    https://hub.docker.com/r/linuxserver/librespeed

    Code:
    librespeed:
        image: lscr.io/linuxserver/librespeed:latest
        container_name: librespeed
        hostname: librespeed
        networks:
          blackmoon:
            ipv4_address: 172.16.100.5
        volumes:
          - /docker/containers/librespeed/config:/config
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=America/New_York
          - PASSWORD=InsertYourPassword
        expose:
          - 80
        restart: unless-stopped
    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]
    StaticUnit97
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #14
    2024-11-06, 12:38 AM (This post was last modified: 2024-11-06, 01:49 AM by StaticUnit97. Edited 1 time in total.)
    (2024-11-05, 04:39 PM)TheDreadPirate Wrote: So the remux was just to verify that the file itself isn't bad.  Which doesn't appear to be the case.

    I think setting up a Librespeed container (self-hosted speed test) is the next step.  To have your friend test a plain http based connection speed test instead of whatever custom protocol Speedtest uses.

    Almost identical speeds between speedtest and librespeed.

    UPDATE: at some point the speed just plummeted down to ~1 mbps on both Librespeed and Speedtest, and he's been unable to access the server from the VPN. It then rose to about 40 mbps, and as of yet he's still unable to access. Not sure what's causing that, but I wonder if that's what has been causing trouble in the past.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-11-06, 01:58 PM
    Sounds like it. So the question is now whether their Internet connection, in general, is flakely? Or is there some issue with the path data takes between the two of you?
    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]
    StaticUnit97
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #16
    2024-11-06, 07:21 PM
    (2024-11-06, 01:58 PM)TheDreadPirate Wrote: Sounds like it.  So the question is now whether their Internet connection, in general, is flakely?  Or is there some issue with the path data takes between the two of you?

    My guess is the latter. He had the same issues when connecting to the server via a cell connection. He just checked and he's able to stream again when fixing the bitrate 20 mbps. Last night he could not connect to the server at all.

    Is there really anything you can do if there's an issue with the P2P data transfer. I wonder if another VPN solution like tailscale could help?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2024-11-06, 07:29 PM
    It wouldn't. Tailscale is wireguard with a few bells and whistles. You'd need to use a VPN client that lets you change where your tunnel exits so that data takes a different path. To clarify, THEY would need to use that type of VPN. Not the server side.
    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]
    StaticUnit97
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #18
    2024-11-07, 01:58 AM
    (2024-11-06, 07:29 PM)TheDreadPirate Wrote: It wouldn't.  Tailscale is wireguard with a few bells and whistles.  You'd need to use a VPN client that lets you change where your tunnel exits so that data takes a different path.  To clarify, THEY would need to use that type of VPN.  Not the server side.

    Hmm, gotcha. I'll have to look into how realistic that is.

    Thank you again for all the help, it's definitely made the debugging easier!
    Pages (2): « Previous 1 2

    « 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