Wowza Community

SMIL FILE Format

HI All,

I am having issues with playback on IOS and it appears the issue came from missing decriptors in the .smil manifest files…I have been able to get all attributes to show up in that file minus the frame-rate attribute…is there any way I can get the frame-rate attribute to show up in the smil files?..Example file:

#EXT-X-STREAM-INF:BANDWIDTH=2597760,AVERAGE-BANDWIDTH=2745600,CODECS=“avc1.4d401f,mp4a.40.2”,RESOLUTION=1280x720,FRAME-RATE=25.000

how far I have gone:

#EXT-X-STREAM-INF:BANDWIDTH=1178000,AVERAGE-BANDWIDTH=1050000,CODECS=“avc.77.30,mp4a.40.2”,RESOLUTION=720x576 chunklist_w471107396_b1178000_slENG.m3u8

As can be seen above, only the frame-rate attribute is left to be added…any ideas any one?

I need urgent help on this as I am at the end of timelines.

We do not currently support that with SMIL files. We currently have a backlog request for adding the FRAME-RATE attribute to EXT-X-STREAM-INF tag in HLS manifest.

As a workaround, you can instead add the attribute as a custom header for HLS:

If you would like to add the frame rate information in the manifest headers for your HLS stream, then you should be able to do so by calling the

addHeader

method for the chunk’s headers object in

onFillChunkStart

https://www.wowza.com/docs/how-to-add-custom-playlist-headers-to-apple-hls-manifests

Here’s the relevant code:

CupertinoUserManifestHeaders userManifestHeaders = liveStreamPacketizer.getUserManifestHeaders(chunk.getRendition());			

if (userManifestHeaders != null)

{

// Add custom headers to chunklist header				

userManifestHeaders.addHeader("EXT-CUSTOM-TEST", "nameone", "valueone");				userManifestHeaders.addHeader("EXT-CUSTOM-TEST", "nametwo", 2);				userManifestHeaders.addHeader("EXT-CUSTOM-TEST", "namethree");	
}

Do note that this is added only to the chunklist, and not to the playlist, where the EXT-X-STREAM-INF tag is found.

Please submit a support ticket if you’d like us to implement this alongside you.