Page 1 of 1

Bug handling HLS stream from Periscope? VLC 2.2.4

Posted: 23 Mar 2017 22:30
by christopherw
I grabbed an HLS m3u8 for a Periscope live stream (in this case, provided directly by a TV channel, I presume using the new API for high quality encodes).

The m3u8 (link will probably expire after stream ends) appears to conform to spec:
#EXTM3U
#EXT-X-TARGETDURATION:2
#EXT-X-VERSION:6
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA-SEQUENCE:3100
#EXT-X-DISCONTINUITY-SEQUENCE:0
#EXT-X-PROGRAM-DATE-TIME:2017-03-23T21:27:00.564Z
#EXTINF:2.000,
chunk_1490304416624752298_3100.ts
#EXT-X-PROGRAM-DATE-TIME:2017-03-23T21:27:02.564Z
#EXTINF:2.000,
chunk_1490304418580913319_3101.ts
#EXT-X-PROGRAM-DATE-TIME:2017-03-23T21:27:04.556Z
#EXTINF:2.000,
chunk_1490304420566817561_3102.ts
#EXT-X-PROGRAM-DATE-TIME:2017-03-23T21:27:06.573Z
#EXTINF:2.000,
chunk_1490304422599001228_3103.ts
#EXT-X-PROGRAM-DATE-TIME:2017-03-23T21:27:08.569Z
#EXTINF:2.000,
chunk_1490304424558690672_3104.ts
However, VLC 2.2.4 only wants to play the first segment, stopping after it ends. As Periscope uses 2 second segments, this leads to a very short window of viewing enjoyment.