Skip to content

Vlc seek error in M3U8 stream if there is an PCR rollover

Hi,

I have an issue with vlc seeking in an M3U8 video stream if you try to seek past a PCR rollover in one of the .ts files. Vlc will seek to the last file available in the stream. Tested on 3.0.6 and 4.0.0

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 streams with vlc using these urls :

http://localhost:8080/ExpectedBehavior/hls.m3u8

Will show what is the expected behavior

http://localhost:8080/SeekError/hls.m3u8

Will show the error

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information