TrackInserterPreset

object
@odata.typestringRequired
The discriminator for derived types.
baseFilenamestringOptional<=64 characterspattern: ^[A-Za-z0-9_-]+$

Used to create the output filename.

  • For text tracks: {BaseFilename}.cmft, the default being the input .vtt filename minus the extension, e.g. subtitles.vtt -> subtitles.cmft.
  • For audio tracks: {BaseFilename}.mp4, the default being the input .mp4 filename, ignored if the audio file is already present in the output asset.
trackslist of objectsRequired1-1 items
The set of tracks to be inserted. Currently limited to one.
Show 2 variantsHide 2 variants

Discriminated by @odata.type. Select one variant:

#MediaKind.TextTrackobjectTextTrack
@odata.typestringRequired
The discriminator for derived types.
displayNamestringOptional
The display name of the track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
hlsSettingsobjectHlsSettingsOptional
The HLS specific setting for the track.
Show 3 propertiesHide 3 properties
characteristicsstringOptional
The characteristics for the HLS setting.
defaultbooleanOptionalDefaults to false
Default track?
forcedbooleanOptionalDefaults to false
Forced track?
languageCodestringOptional
The RFC5646 language code for the track.
playerVisibilityenumOptionalDefaults to Visible
When PlayerVisibility is set to 'Visible', the track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to 'Hidden', the track will not be available to the client. The default value is 'Visible'.
Allowed values:VisibleHidden
trackNamestringRequired
The name of the track in the manifest.
#MediaKind.AudioTrackobjectAudioTrack
@odata.typestringRequired
The discriminator for derived types.
dashSettingsobjectDashSettingsOptional
The DASH specific setting for the audio track.
Show 1 propertyHide 1 property
rolestringOptional
The role for the DASH setting.
displayNamestringOptional
The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
hlsSettingsobjectHlsSettingsOptional
The HLS specific setting for the audio track.
Show 3 propertiesHide 3 properties
characteristicsstringOptional
The characteristics for the HLS setting.
defaultbooleanOptionalDefaults to false
Default track?
forcedbooleanOptionalDefaults to false
Forced track?
languageCodestringOptional
The RFC5646 language code for the audio track.
trackNamestringRequired
The name of the audio track in the manifest.