• 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 General Questions Jellyfin Web does not buffer ahead for Direct Play

     
    • 0 Vote(s) - 0 Average

    Jellyfin Web does not buffer ahead for Direct Play

    Abhishek Ranjan
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-02, 10:09 AM
    Hi,
    I'm trying to reach out to the community about this problem I've been facing for quite a while.

    My Setup:
    - jellyfin LXC running on proxmox
    - Setup was done via helper-scripts
    - Another VM exposes a shared folder via SMB to proxmox root which then mounts it as /media inside lxc

    The Problem:
    When I'm playing a video, and it's playing as "Direct Play" (as seen from playback info), the jellyfin web client will not buffer ahead. I don't see that little white progress bar which indicates that the video has been loaded until that point.
    When a video is being transcoded, it does buffer ahead and I can easily move my video within the area of the white progress bar and play the video without any delay.
    My direct streams will often stop, buffer and start playing again. I feel the reason for this is this "pre-loading" not happening as it happens for transcoded streams.

    Is anyone else facing the issue, or can help me debug it ? I see no notable things in the log to indicate some sort of failure.
    Fate
    Offline

    Member

    Posts: 220
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #2
    2024-11-02, 12:16 PM
    Well it it always buffering then a bigger buffer probably won't help because it would always underflow...

    Can you describe which client you are using and how are you connect to your jellyfin instance?
    Also what bit rate/filesize does the file have you trying to play?

    posting jellyfin logs to pastebin could be helpful as well.
    Abhishek Ranjan
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-17, 01:34 PM
    (2024-11-02, 12:16 PM)Fate Wrote: Well it it always buffering then a bigger buffer probably won't help because it would always underflow...

    Can you describe which client you are using and how are you connect to your jellyfin instance?
    Also what bit rate/filesize does the file have you trying to play?

    posting jellyfin logs to pastebin could be helpful as well.

    I checked my link speed and found it to be much lower than expected. Found out that my pfsense had "hardfare offloading" enabled. That has atleast improved the speeds and made things better.
    Can you tell me what is the way to increase buffer size ?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-17, 04:00 PM
    What is the bit rate of the video and how fast is the network connection? Can you share your server logs so we can see what is going on 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]
    Abhishek Ranjan
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    #5
    2025-02-07, 07:27 PM
    (2024-11-17, 04:00 PM)TheDreadPirate Wrote: What is the bit rate of the video and how fast is the network connection?  Can you share your server logs so we can see what is going on server side?

    Well, I think pfsense was causing much of a bottleneck. I think there are a few default configurations in pfsense which do not work well with all hardware, and that might have been causing the lags. I saw pfsense cpu usage shoot up significantly when more data was being streamed.

    Maybe this helps someone somday who is facing the same issue.
    visualblind
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #6
    2025-02-07, 09:55 PM
    (2025-02-07, 07:27 PM)Abhishek Ranjan Wrote:
    (2024-11-17, 04:00 PM)TheDreadPirate Wrote: What is the bit rate of the video and how fast is the network connection?  Can you share your server logs so we can see what is going on server side?

    Well, I think pfsense was causing much of a bottleneck. I think there are a few default configurations in pfsense which do not work well with all hardware, and that might have been causing the lags. I saw pfsense cpu usage shoot up significantly when more data was being streamed.

    Maybe this helps someone somday who is facing the same issue.

    Are you familiar with the pfsense open source alternative called OPNsense? If not it might be worth checking out.
    « 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