hi there,
i recorded all live event qualities in my vod folder: event_720p.mp4,event_540p.mp4,event_360p.mp4
and so on for next event.
I want open a generic medialist, smilefile to stream my ABR files.
like http://WOWZA/vod/ngrp:event_all/playlist.m3u8
http://WOWZA/vod/ngrp:event2_all/playlist.m3u8
Is there a integrated solution ?
You can create a custom module that would take incoming requests for playback and create the smil files on the fly.
We outline an example module here.
https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests
As the article describes you would be calling streams using the amslt: instead of smil:
You could also consider having the SMIL files located in a single location in your server to simply this. We have a module that can be used to force the checks to an alternative location as shown here:
https://www.wowza.com/docs/how-to-use-different-locations-for-smil-files-and-vod-assets-modulemedialistpathselector
You should be able to use a single alternative location for the SMIL or list the multiple directories with the pathSelectorPrefixes property.
Then with your SMIL file you can define different src locations for each rendition file:
https://www.wowza.com/docs/How-to-do-adaptive-bitrate-streaming#text-file-configuration
For example:
<?xml version="1.0" encoding="UTF-8"?>
<smil title="">
<body>
<switch>
<video height="720" src="path-1/sub-path/version-720/filename.mp4" systemLanguage="eng" width="1272">
<param name="videoBitrate" value="2640000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="1080" src="path-2/sub-path/version-1080/filename.mp4" systemLanguage="eng" width="1920">
<param name="videoBitrate" value="4400000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>
The VOD files must be placed within the ${com.wowza.wms.context.VHostConfigHome}/content directory or a subdirectory of this defined folder.
SMIL files can be placed elsewhere if you use the modulemedialistpathselector and define the directory locations.
Usage:
With VOD applications, when a SMIL file is read by Wowza Streaming Engine, the SMIL file location is prepended to all of the content paths defined in the SMIL file. This works if the referenced content is stored in the same folder as the SMIL file or in a subfolder below the folder that has the SMIL file.
Use this module in situations where the referenced content and SMIL file are stored in different directory paths or where the content is stored in a folder above the SMIL file folder in the same path. When the content files are processed, this module checks the path against the pathSelectorPrefixes property value and removes any prepended prefixes that match so the original content path defined in the SMIL file is used.
Thanks for testing module, works great.
my recommendation