CaptionDescription
public struct CaptionDescription : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Specifies which “Caption Selector”:#inputs-caption_selector to use from each input when generating captions. The name should be of the format “Caption Selector ”, which denotes that the Nth Caption Selector will be used from each input.
Declaration
Swift
public let captionSelectorName: String?
-
Specify the language for this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information when automatically selecting the font script for rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.
Declaration
Swift
public let customLanguageCode: String?
-
Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.
Declaration
Swift
public let destinationSettings: CaptionDestinationSettings?
-
Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.
Declaration
Swift
public let languageCode: LanguageCode?
-
Specify a label for this set of output captions. For example, “English”, “Director commentary”, or “track_2”. For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer’s player device. For outputs in other output groups, the service ignores this setting.
Declaration
Swift
public let languageDescription: String?
-
Undocumented
Declaration
Swift
public init(captionSelectorName: String? = nil, customLanguageCode: String? = nil, destinationSettings: CaptionDestinationSettings? = nil, languageCode: LanguageCode? = nil, languageDescription: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws