Skip to main content

Closed_captions

NameTypeDescription
cc_indexintegerThe index value for the closed-caption track.
minimum: 1
maximum: 4
languagestringThe language of the closed-caption track.
is_defaultbooleanSetting to specify that this track is the default closed-caption track.
is_autoselectbooleanSetting to automatically auto-select this track.
group_idstringThe GroupID of the track.

Example closed_captions

{
"uid": "package_hls",
"kind": "package",
"payload": {
"kind": "hls",
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_output_folder/hls_manifests"
},
"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"
},
"media_file_pattern": "{source_basename}.ts",
"hls": {
"media_playlist_location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_output_folder/hls_manifests"
}
},
"closed_captions": [
{
"cc_index": "1",
"language": "es",
"is_defualt": true,
"is_autoselect": true,
"group_id": "Spanish"
}
]
}
}