Skip to main content

Options

NameTypeDescription
delete_sourcesboolean
Delete the packaging source files (not the master sources) upon successful completion of the task.
skip_validationboolean
Skip the validation step for the Package task.

Example options

{
"uid": "package_hls",
"kind": "package",
"payload": {
"kind": "hls",
"options": {
"delete_sources": true,
"skip_validation": true
},
"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"
}
}
}
}