Skip to content

Frequent stuttering during playback. #7454

@AinzRimuru

Description

@AinzRimuru

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

The previous buffering limits were too strict; the maximum buffer length of 6 seconds is now easily triggered. The current video segment length is approximately 5-6 seconds. Therefore, the loading time for the next segment is too short, leading to frequent buffering issues.
This is especially true in network environments with high latency, where the last segment finishes playing almost immediately after transmission begins.
It is recommended to dynamically adjust the buffer length based on the bitrate to ensure the buffer size remains at 50MB.

Reproduction Steps

  1. Limit bandwidth to 5Mbps
  2. Keep latency below 200ms
  3. Play videos with a bitrate of 4Mbps or higher

Expected/Actual behaviour

Smooth playback without lag.

Media info of the file

Logs

No response

FFmpeg logs

Server version

10.11.4

Web version

10.11.4

Build version

10.11.4

Platform

Wndows

Browser

Chrome

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackThis PR or issue mainly concerns playback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions