Hello Jean-Baptiste,
[1] This HLS stream isn't a live stream but a pre-encoded HLS stream for VOD purpose.
Hosted and shared over Internet by a common Web server.
Each video playlists (M3U8) is closed with the #EXT-X-ENDLIST tag.
For your checking, here is URLs for each video stream qualities :
Code: Select all
. http://sample.vodobox.com/planete_interdite/low/planete_interdite_228_h264_144p.m3u8
. http://sample.vodobox.com/planete_interdite/medium/planete_interdite_500_h264_240p.m3u8
. http://sample.vodobox.com/planete_interdite/high/planete_interdite_1228_q264_360p.m3u8
. http://sample.vodobox.com/planete_interdite/veryhigh/planete_interdite_2080_q264_480p.m3u8
. http://sample.vodobox.com/planete_interdite/hdready/planete_interdite_4160_n264_720p.m3u8
. http://sample.vodobox.com/planete_interdite/fullhd/planete_interdite_8256_n264_1080p.m3u8
When reading each video stream qualities singly with VLC 3.0.0 its scrollbar works perfectly. But when VLC 3.0.0 is using the HLS master playlist to detect adaptive bitrate video tracks and the multiple audio+subtitle tracks, its scrollbar load, display the video time length properly (1 hour and 38 minutes). But it's not able to forward or rewind the video time duration. Scrollbar is in live TV mode instead of VOD mode.
When playing the same stream with two different master playlists (M3U8).
Scrollbar works perfectly with the adaptive bitrate master playlist :
http://sample.vodobox.com/planete_inter ... rdite.m3u8
But scrollbar becomes sick with the adaptive bitrate + alternates audio and subtitles master playlist :
http://sample.vodobox.com/planete_inter ... rnate.m3u8
So, I suppose something goes wrong while parsing the M3U8 master playlist (planete_interdite_alternate.m3u8) with alternates audio and subtitle tracks. And VLC thinks video is like a live HLS stream.
[3] Apple decided HLS streams must provide subtitles as segmented WebVTT files.
This is information about WebVTT format :
http://www.w3.org/TR/webvtt1/
And here are some extracts of the HTTP Live Stream documentation about the subtitle file segmentation :
Subtitle segments are formatted as WebVTT [WebVTT] files. Each subtitle segment MUST contain all subtitle cues that are intended to be displayed during the period indicated by the segment EXTINF duration. The start time offset and end time offset of each cue MUST indicate the total display time for that cue, even if part of the cue time range is outside the segment period. A WebVTT segment MAY contain no cues; this indicates that no subtitles are to be displayed during that period.
Each subtitle segment MUST either start with a WebVTT header or have a Media Initialization Section declared in the Media Playlist (Section 4.3.2.5).
Source :
https://tools.ietf.org/html/draft-panto ... reaming-19
I hope my explanations are relevant and will serve your searches.