AWS SDK Version 2 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.

.NET Framework 4.5
 
The captions to be created, if any.

Inheritance Hierarchy

System.Object
  Amazon.ElasticTranscoder.Model.Captions

Namespace: Amazon.ElasticTranscoder.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class Captions : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1