Amazon Elastic Transcoder · Schema
Captions
The captions to be created, if any.
Amazon Web ServicesMediaTranscodingVideo
Properties
| Name | Type | Description |
|---|---|---|
| MergePolicy | object | |
| CaptionSources | object | |
| CaptionFormats | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-transcoder/refs/heads/main/json-schema/amazon-elastic-transcoder-captions-schema.json",
"title": "Captions",
"description": "The captions to be created, if any.",
"type": "object",
"properties": {
"MergePolicy": {
"allOf": [
{
"$ref": "#/components/schemas/CaptionMergePolicy"
},
{
"deprecated": true,
"description": "<p>A policy that determines how Elastic Transcoder handles the existence of multiple captions.</p> <ul> <li> <p> <b>MergeOverride:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.</p> </li> <li> <p> <b>MergeRetain:</b> Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If <code>CaptionSources</code> is empty, Elastic Transcoder omits all sidecar captions from the output files.</p> </li> <li> <p> <b>Override:</b> Elastic Transcoder transcodes only the sidecar captions that you specify in <code>CaptionSources</code>.</p> </li> </ul> <p> <code>MergePolicy</code> cannot be null.</p>"
}
]
},
"CaptionSources": {
"allOf": [
{
"$ref": "#/components/schemas/CaptionSources"
},
{
"deprecated": true,
"description": "Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave <code>CaptionSources</code> blank."
}
]
},
"CaptionFormats": {
"allOf": [
{
"$ref": "#/components/schemas/CaptionFormats"
},
{
"description": "The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error."
}
]
}
}
}