running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
|- 360p_001.ts
|- 360p_002.ts
|- 480p.m3u8
|- 480p_001.ts
|- 480p_002.ts
|- 720p.m3u8
|- 720p_001.ts
|- 720p_002.ts
|- 1080p.m3u8
|- 1080p_001.ts
|- 1080p_002.ts
origin: http://docs.peer5.com/guides/production-ready-hls-vod/
It seems this script only outputs the filename on the next line after each
#EXT-X-STREAM-INF
line and this seems to 'break' any m3u8 playlist file because the entire URL to the file has to exist, no? (reference from Apple https://developer.apple.com/documentation/http_live_streaming/example_playlists_for_http_live_streaming/creating_a_master_playlist)On other words, I cannot get this to work with this example:
It seems to only work if I cite the URLs to the files: