I used ffmpeg to generate some segment files that I'm using as slate to play before a program starts. Using nodejs, I'm generating a an m3u8 file that loops perfectly in HLS.js, but on some players (namely VLC), it stutters around and can't seem to play smoothly at all.

Here is what the playlist looks like:


I'm dynamically updating the EXT-X-START:TIME-OFFSET and EXT-X-MEDIA-SEQUENCE tags and the order of the segments when a request comes in.

Is there something obvious I can change to make it playback normally in VLC?

I've noticed that if I don't have the EXT-X-DISCONTINUITY tag then it won't loop on any player but it does play smoother for about 5 seconds in VLC...


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.