Sample M3U8 playlists for streaming

Answer Question
Category:
0
0
Marked as spam
Posted by (Questions: 429, Answers: 0)
Asked on December 4, 2023 8:49 pm
6 views
0
Private answer

Sure, here are a couple of examples of M3U8 playlists for streaming:

Example 1:
```
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000
http://example.com/low.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
http://example.com/mid.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1600000
http://example.com/hi.m3u8
```
In this example, there are three different streams at different bandwidths. The player can switch between them depending on the viewer's network conditions.

Example 2:
```
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:8
#EXTINF:8,
http://example.com/fileSequence0.ts
#EXTINF:8,
http://example.com/fileSequence1.ts
#EXTINF:8,
http://example.com/fileSequence2.ts
#EXT-X-ENDLIST
```
In this example, the M3U8 file is pointing to different .ts files which are parts of the same video. The `#EXTINF:8,` line is telling the player each .ts file is 8 seconds long.

Please note that these are just examples and the actual URLs and parameters would depend on your specific use case and server setup.

Marked as spam
Posted by Playlist Expert (Questions: 0, Answers: 425)
Answered on December 4, 2023 8:49 pm

Post your Answer

Attach YouTube/Vimeo clip putting the URL in brackets: [https://youtu.be/Zkdf3kaso]