Amazon Elastic Transcoder · Schema
CaptionSource
A source file for the input sidecar captions used during the transcoding process.
Amazon Web ServicesMediaTranscodingVideo
Properties
| Name | Type | Description |
|---|---|---|
| Key | object | |
| Language | object | |
| TimeOffset | object | |
| Label | object | |
| Encryption | 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-caption-source-schema.json",
"title": "CaptionSource",
"description": "A source file for the input sidecar captions used during the transcoding process.",
"type": "object",
"properties": {
"Key": {
"allOf": [
{
"$ref": "#/components/schemas/LongKey"
},
{
"description": "The name of the sidecar caption file that you want Elastic Transcoder to include in the output file."
}
]
},
"Language": {
"allOf": [
{
"$ref": "#/components/schemas/Key"
},
{
"description": "<p>A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:</p> <ul> <li> <p>2-character ISO 639-1 code</p> </li> <li> <p>3-character ISO 639-2 code</p> </li> </ul> <p>For more information on ISO language codes and language names, see the List of ISO 639-1 codes.</p>"
}
]
},
"TimeOffset": {
"allOf": [
{
"$ref": "#/components/schemas/TimeOffset"
},
{
"description": "<p>For clip generation or captions that do not start at the same time as the associated video file, the <code>TimeOffset</code> tells Elastic Transcoder how much of the video to encode before including captions.</p> <p>Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.</p>"
}
]
},
"Label": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions."
}
]
},
"Encryption": {
"allOf": [
{
"$ref": "#/components/schemas/Encryption"
},
{
"description": "The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources."
}
]
}
}
}