The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ElasticTranscoder::Captions

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Captions object:

  $service_obj->Method(Att1 => { CaptionFormats => $value, ..., MergePolicy => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Captions object:

  $result = $service_obj->Method(...);
  $result->Att1->CaptionFormats

DESCRIPTION

The captions to be created, if any.

ATTRIBUTES

CaptionFormats => ArrayRef[Paws::ElasticTranscoder::CaptionFormat]

  The array of file formats for the output captions. If you leave this
value blank, Elastic Transcoder returns an error.

CaptionSources => ArrayRef[Paws::ElasticTranscoder::CaptionSource]

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

MergePolicy => Str

  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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ElasticTranscoder

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues