stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.78k stars 778 forks source link

Buffer feature to allow player to preload larger chunks of video #4469

Open jayg6994 opened 7 months ago

jayg6994 commented 7 months ago

As discussed on Discord, would be great to add the feature that allows buffering a video in advance similar to some streaming services online. This can help with high bitrate files, slower connections and/or vpn access where files buffer alot and can ruin playback experience.

(https://stackoverflow.com/questions/29823916/increase-buffer-size-or-time-for-video-js-html5-player), possible solution to add the feature.

anonstash commented 1 month ago

Seconding this. Right now chrome and safari seem to only buffer the next ~3 seconds of playback which is annoying when scrubbing on a slower connection. Firefox is able to preload significantly more (30+ seconds), but not sure what's causing the inconsistency.

cj12312021 commented 1 month ago

The video player should already support this if you stream using HLS: Screenshot 2024-08-09 192008

DogmaDragon commented 1 month ago

Make sure to configure cache path if you are using HLS/DASH.

Settings > System > Application Paths > Cache Path.