Struct rusoto_elastictranscoder::InputCaptions[][src]

pub struct InputCaptions {
    pub caption_sources: Option<Vec<CaptionSource>>,
    pub merge_policy: Option<String>,
}

The captions to be created, if any.

Fields

Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

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.

Trait Implementations

impl Default for InputCaptions
[src]

Returns the "default value" for a type. Read more

impl Debug for InputCaptions
[src]

Formats the value using the given formatter. Read more

impl Clone for InputCaptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InputCaptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations