Skip to content

Long seek time on HLS when playback rate is < 1.0

Hi,

When I try to seek in an HLS Stream after changing the playback rate to something lower than 1, VLC does seek to the right point in the stream, but then takes a long time to start the playback from that point. The slower the playback rate is, the longer it will take to start the playback again. When using libvlc, it will sometimes send me a time before the selected seek time, but it will the send me the right time when the playback has started again. Tested on 3.0.6 and 4.0.0-master.

How to reproduce :

  • Extract the linked file
  • Start a static file server.This can be done using docker (make sure you are in the extracted folder) :
docker run -d -v `pwd`:/web -p 8080:8080 halverneus/static-file-server:latest

You can then access the stream with vlc using this url :

http://localhost:8080/hls.m3u8
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information