Hls
Name | Type | Description |
---|---|---|
location | object | This will override any location defined within the parent of this manifest. |
file_pattern | string | This describes the target file name. Placeholders such as {source_basename} for source file name are supported.default: {source_basename} |
version | enum 3 4 5 6 7 8 9 10 11 12 | The HLS version for packaging. default?. |
ietf_draft_version | integer | Attributes and tags newer than the version listed here may be omitted. |
primary_layer_uid | string | If one of the included targets has a matching UID, it will be listed as the first layer in the hls. |
include_iframe_manifests | boolean | If the individual layers have i-frame/trick play manifests, include these in the master manifest. This requires HLS version 4 or greater. |
master_manifest_iframe_references_location | enum before_media after_media | Position i-frame/trick play manifest references befopre or after the media manifest references in the master manifest. |
media_playlist_location | object | The location of media playlist m3u8's. |
media_playlist_url_prefix | string | The URL prefix to be added to media playlist locations. |
media_playlist_file_pattern | string | The file pattern of the media playlist m3u8's. default: {source_basename} |
manifest_location | object | The location of the master m3u8's. |
manifest_file_pattern | string | The file pattern of the master m3u8's. Example: {source_basename} _master_manifest.m3u8default: {source_basename} |
align_to_av_media | boolean | For subtitles only, align duration and segmenting to A/V media time. |
Example hls
{
"uid": "package_hls",
"kind": "package",
"payload": {
"kind": "hls",
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_output_folder/hls_manifests",
"attributes": [
{
"name": "ContentType",
"value": "application/x-mpegURL"
}
]
},
"file_pattern": "master_manifest.m3u8",
"segmentation_mode": "segmented_ts",
"segment_duration_sec": "6",
"force_original_media": false,
"media_location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_output_folder/hls_media",
"attributes": [
{
"name": "ContentType",
"value": "video/MP2T"
}
]
},
"media_file_pattern": "{source_basename}.ts",
"hls": {
"media_playlist_location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_output_folder/hls_manifests"
},
"include_iframe_manifests": true,
"primary_layer_uid": "Layer4"
}
}
}