Requirements for .smil manifests
When sending a VOD MP4 asset to AWS Elemental MediaPackage, a .smil manifest must be included. The .smil manifest is an XML file that acts as a wrapper for all the files in the asset, letting MediaPackage know which MP4s are part of a single asset.
Resources
-
For guidance on creating a .smil manifest, see .smil using AWS Elemental MediaPackage VOD
(blog). -
For general information about Synchronized Multimedia Integration Language (SMIL), see the SMIL 3.0 specification
.
MediaPackage supports the following attributes in a .smil manifest.
Attributes
-
audioName
- The name of the audio track, such asEnglish 2
. -
includeAudio
- A Boolean value indicating if the audio tracks should be included. This attribute should contain as many values as there are languages defined. If not specified, all tracks default totrue
. -
src
orname
- Either the name or the source of the text stream or video file relative to the manifest location. -
subtitleName
- The subtitle name, such asEnglish
. -
systemLanguage
orlanguage
- The system language, such aseng
.
Example .smil manifest
The following is an example of a .smil
manifest.
<?xml version="1.0" encoding="utf-8"?> <smil> <body> <alias value="Example"/> <switch> <video name="example_360.mp4" systemLanguage="eng,fra,spa" audioName="English,French,Spanish" includeAudio="true,true,true"/> <video name="example_480.mp4" systemLanguage="eng" audioName="English 2" includeAudio="false"/> <textstream src="example_subs_eng.srt" systemLanguage="eng" subtitleName="English" includeAudio="false"/> <textstream src="example_subs_fra.srt" systemLanguage="fra" subtitleName="French" includeAudio="false"/> <textstream src="example_subs_spa.srt" systemLanguage="spa" subtitleName="Spanish" includeAudio="false"/> </switch> </body> </smil>