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

Generate subtitles for your media file with your transcription request.

You can choose a start index of 0 or 1, and you can specify either WebVTT or SubRip (or both) as your output format.

Note that your subtitle files are placed in the same location as your transcription output.

Inheritance Hierarchy

System.Object
  Amazon.TranscribeService.Model.Subtitles

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

Syntax

C#
public class Subtitles

The Subtitles type exposes the following members

Constructors

NameDescription
Public Method Subtitles()

Properties

NameTypeDescription
Public Property Formats System.Collections.Generic.List<System.String>

Gets and sets the property Formats.

Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property OutputStartIndex System.Nullable<System.Int32>

Gets and sets the property OutputStartIndex.

Specify the starting value that is assigned to the first subtitle segment.

The default start index for Amazon Transcribe is 0, which differs from the more widely used standard of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer