Hi, I’m trying to dinamically generate HLS manifests for VOD assets based on the available renditions of a video in the contents folder of my app.
I found a very helpful code example online for this using a custom amlst handler, and I’ve modified it succesfully to serve our needs. It seems to be working great and generating the manifest correctly.
The only problem is that the video codec information on the manifest for every rendition is missing the level and profile part, so the player is giving me errors and not playing the videos.
Here is an example of a m3u8 manifest generated this way:
#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=346000,CODECS=“avc1,mp4a.40.2”,RESOLUTION=360x202 chunklist_w1542507781_b346000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=456000,CODECS=“avc1,mp4a.40.2”,RESOLUTION=480x270 chunklist_w1542507781_b456000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=570000,CODECS=“avc1,mp4a.40.2”,RESOLUTION=720x406 chunklist_w1542507781_b570000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1418000,CODECS=“avc1,mp4a.40.2”,RESOLUTION=1280x720 chunklist_w1542507781_b1418000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2286000,CODECS=“avc1,mp4a.40.2”,RESOLUTION=1920x1080 chunklist_w1542507781_b2286000.m3u8
Note the missing info after the avc1 part…
The code i’m using to get the video codec information is this:
rendition.setVideoCodecId(getVideoCodec().toCodecsStr());
Is there something i should be doing or configuring differently on Wowza in order to get the codec info right?
Any help would be greatly appreciated so I can finish this project!
Thank you very Much
Sebastian