I’m using a module to generate m3u8 playlists for HLS VOD dynamically based on pre-encoded mp4 files e.g. sample.mp4, sample_720p.mp4, sample_1080p.mp4. The file sample.mp4 without suffix is defined as the “base” 360p resolution.
The output of the url http://localhost:1935/vod/amlst:sample.mp4/playlist.m3u8 delivers the following playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=2259904,CODECS=“avc1.100.30,mp4a.40.2”,RESOLUTION=640x360
chunklist_w573994235_b2259904.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4328269,CODECS=“avc1.100.40,mp4a.40.2”,RESOLUTION=1920x1080
chunklist_w573994235_b4328269.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=3295056,CODECS=“avc1.100.31,mp4a.40.2”,RESOLUTION=1280x720
chunklist_w573994235_b3295056.m3u8
Howewer, if I try to get a single chunklist for 720p with url http://localhost:1935/vod/amlst:sample.mp4/chunklist_w573994235_b3295056.m3u8 or the 1080p chunklist everything works fine, except the “base” 360p chunklist.
If I try to get the http://localhost:1935/vod/amlst:sample.mp4/chunklist_w573994235_b2259904.m3u8 the output is the playlist with different resolutions again, instead of the chunklist with media_w573994235_b2259904_0.ts and so on.
What could be the problem? There are also no entries in the wowza access log while trying to get the “base” 360p chunklist. The module source code is available here:
https://github.com/illyah/DynamicAMLST/blob/master/src/com/wowza/wms/plugin/module/DynamicAMLST.java