AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The captions to be created, if any.

Inheritance Hierarchy

System.Object
  Amazon.ElasticTranscoder.Model.Captions

Namespace: Amazon.ElasticTranscoder.Model
Assembly: AWSSDK.ElasticTranscoder.dll
Version: 3.x.y.z

Syntax

C#
public class Captions

The Captions type exposes the following members

Constructors

NameDescription
Public Method Captions()

Properties

NameTypeDescription
Public Property CaptionFormats System.Collections.Generic.List<Amazon.ElasticTranscoder.Model.CaptionFormat>

Gets and sets the property CaptionFormats.

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

Public Property CaptionSources System.Collections.Generic.List<Amazon.ElasticTranscoder.Model.CaptionSource>

Gets and sets the property CaptionSources.

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

Public Property MergePolicy System.String

Gets and sets the property MergePolicy.

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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5