Class: Aws::MediaConvert::Types::MpdSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass MpdSettings data as a hash:

{
  accessibility_caption_hints: "INCLUDE", # accepts INCLUDE, EXCLUDE
  audio_duration: "DEFAULT_CODEC_DURATION", # accepts DEFAULT_CODEC_DURATION, MATCH_VIDEO_DURATION
  caption_container_type: "RAW", # accepts RAW, FRAGMENTED_MP4
  scte_35_esam: "INSERT", # accepts INSERT, NONE
  scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
}

These settings relate to the fragmented MP4 container for the segments in your DASH outputs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accessibility_caption_hintsString

Optional. Choose Include (INCLUDE) to have MediaConvert mark up your DASH manifest with elements for embedded 608 captions. This markup isn't generally required, but some video players require it to discover and play embedded 608 captions. Keep the default value, Exclude (EXCLUDE), to leave these elements out. When you enable this setting, this is the markup that MediaConvert includes in your manifest:

Returns:

  • (String)


17006
17007
17008
17009
17010
17011
17012
17013
17014
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17006

class MpdSettings < Struct.new(
  :accessibility_caption_hints,
  :audio_duration,
  :caption_container_type,
  :scte_35_esam,
  :scte_35_source)
  SENSITIVE = []
  include Aws::Structure
end

#audio_durationString

Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (DEFAULT_CODEC_DURATION). When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.

Returns:

  • (String)


17006
17007
17008
17009
17010
17011
17012
17013
17014
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17006

class MpdSettings < Struct.new(
  :accessibility_caption_hints,
  :audio_duration,
  :caption_container_type,
  :scte_35_esam,
  :scte_35_source)
  SENSITIVE = []
  include Aws::Structure
end

#caption_container_typeString

Use this setting only in DASH output groups that include sidecar TTML or IMSC captions. You specify sidecar captions in a separate output from your audio and video. Choose Raw (RAW) for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 (FRAGMENTED_MP4) for captions in XML format contained within fragmented MP4 files. This set of fragmented MP4 files is separate from your video and audio fragmented MP4 files.

Returns:

  • (String)


17006
17007
17008
17009
17010
17011
17012
17013
17014
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17006

class MpdSettings < Struct.new(
  :accessibility_caption_hints,
  :audio_duration,
  :caption_container_type,
  :scte_35_esam,
  :scte_35_source)
  SENSITIVE = []
  include Aws::Structure
end

#scte_35_esamString

Use this setting only when you specify SCTE-35 markers from ESAM. Choose INSERT to put SCTE-35 markers in this output at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).

Returns:

  • (String)


17006
17007
17008
17009
17010
17011
17012
17013
17014
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17006

class MpdSettings < Struct.new(
  :accessibility_caption_hints,
  :audio_duration,
  :caption_container_type,
  :scte_35_esam,
  :scte_35_source)
  SENSITIVE = []
  include Aws::Structure
end

#scte_35_sourceString

Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want those SCTE-35 markers in this output.

Returns:

  • (String)


17006
17007
17008
17009
17010
17011
17012
17013
17014
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17006

class MpdSettings < Struct.new(
  :accessibility_caption_hints,
  :audio_duration,
  :caption_container_type,
  :scte_35_esam,
  :scte_35_source)
  SENSITIVE = []
  include Aws::Structure
end