Class SimpleEncodingVodJobDirectFileUploadInput

Export

SimpleEncodingVodJobDirectFileUploadInput

Hierarchy (view full)

Constructors

Properties

inputId?: string

Id of a DirectFileUploadInput (required)

Memberof

SimpleEncodingVodJobDirectFileUploadInput

Defines the type of the input file, if no type is set it is assumed that the input file contains at least one video stream and optionally one or multiple audio streams. Note that when defining video and audio inputs, you can either - add one single input without inputType, in which case that source file must contain a video stream and (if you want audio) one audio stream, or - add one single input with inputType=VIDEO and (if you want audio) one or more inputs with inputType=AUDIO (each containing one audio stream) Other combinations are not valid.

Memberof

SimpleEncodingVodJobDirectFileUploadInput

language?: string

The language of the audio track, the subtitles, or closed captions file. The language code must be compliant with BCP 47. This property is mandatory if the input provided is of type SUBTITLES or CLOSED_CAPTIONS and recommended for input type AUDIO and an input that does not specify an input type (combined audio and video). If an audio input does not specify the language, it is defaulted to und (undefined).

Memberof

SimpleEncodingVodJobDirectFileUploadInput

type: SimpleEncodingVodJobInputSourceType = SimpleEncodingVodJobInputSourceType.DIRECT_FILE_UPLOAD

Discriminator property for SimpleEncodingVodJobInput

Memberof

SimpleEncodingVodJobDirectFileUploadInput

_discriminatorMapping: {
    DIRECT_FILE_UPLOAD: string;
    URL: string;
} = ...

Type declaration

  • DIRECT_FILE_UPLOAD: string
  • URL: string
_discriminatorName: "type" = 'type'