nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
198 stars 14 forks source link

HLS: Discard seek to segment if distance too short #103

Closed nschlia closed 2 years ago

nschlia commented 2 years ago

If requested HLS segment is less than X (adjustable) seconds away, discard request. Segment would be available very soon anyway, and that seek makes a re-transcode necessary.