CaptionSource class

A source file for the input sidecar captions used during the transcoding process.

Constructors

CaptionSource({Encryption? encryption, String? key, String? label, String? language, String? timeOffset})
CaptionSource.fromJson(Map<String, dynamic> json)
factory

Properties

encryption Encryption?
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.
final
hashCode int
The hash code for this object.
no setterinherited
key String?
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
final
label String?
The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.
final
language String?
A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeOffset String?
For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited