class Aws::ElasticTranscoder::Types::InputCaptions
The captions to be created, if any.
@note When making an API call, you may pass InputCaptions
data as a hash: { merge_policy: "CaptionMergePolicy", caption_sources: [ { key: "LongKey", language: "Key", time_offset: "TimeOffset", label: "Name", encryption: { mode: "EncryptionMode", key: "Base64EncodedString", key_md_5: "Base64EncodedString", initialization_vector: "ZeroTo255String", }, }, ], }
@!attribute [rw] merge_policy
A policy that determines how Elastic Transcoder handles the existence of multiple captions. * **MergeOverride:** 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. * **MergeRetain:** 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 `CaptionSources` is empty, Elastic Transcoder omits all sidecar captions from the output files. * **Override:** Elastic Transcoder transcodes only the sidecar captions that you specify in `CaptionSources`. `MergePolicy` cannot be null. @return [String]
@!attribute [rw] caption_sources
Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave `CaptionSources` blank. @return [Array<Types::CaptionSource>]
Constants
- SENSITIVE