amazonka-mediapackage-vod-2.0: Amazon Elemental MediaPackage VOD SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaPackageVOD.Types.DashPackage

Description

 
Synopsis

Documentation

data DashPackage Source #

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

See: newDashPackage smart constructor.

Constructors

DashPackage' 

Fields

  • encryption :: Maybe DashEncryption
     
  • includeEncoderConfigurationInSegments :: Maybe Bool

    When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.

  • includeIframeOnlyStream :: Maybe Bool

    When enabled, an I-Frame only stream will be included in the output.

  • periodTriggers :: Maybe [PeriodTriggersElement]

    A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.

  • segmentDurationSeconds :: Maybe Int

    Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

  • segmentTemplateFormat :: Maybe SegmentTemplateFormat

    Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.

  • dashManifests :: [DashManifest]

    A list of DASH manifest configurations.

Instances

Instances details
FromJSON DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

ToJSON DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

Generic DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

Associated Types

type Rep DashPackage :: Type -> Type #

Read DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

Show DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

NFData DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

Methods

rnf :: DashPackage -> () #

Eq DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

Hashable DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

type Rep DashPackage Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.Types.DashPackage

type Rep DashPackage = D1 ('MetaData "DashPackage" "Amazonka.MediaPackageVOD.Types.DashPackage" "amazonka-mediapackage-vod-2.0-BlBmQ6Hj2WSdiUpNBozUT" 'False) (C1 ('MetaCons "DashPackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DashEncryption)) :*: (S1 ('MetaSel ('Just "includeEncoderConfigurationInSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeIframeOnlyStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "periodTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PeriodTriggersElement])) :*: S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "segmentTemplateFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SegmentTemplateFormat)) :*: S1 ('MetaSel ('Just "dashManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DashManifest])))))

newDashPackage :: DashPackage Source #

Create a value of DashPackage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:encryption:DashPackage', dashPackage_encryption - Undocumented member.

$sel:includeEncoderConfigurationInSegments:DashPackage', dashPackage_includeEncoderConfigurationInSegments - When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.

$sel:includeIframeOnlyStream:DashPackage', dashPackage_includeIframeOnlyStream - When enabled, an I-Frame only stream will be included in the output.

$sel:periodTriggers:DashPackage', dashPackage_periodTriggers - A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.

$sel:segmentDurationSeconds:DashPackage', dashPackage_segmentDurationSeconds - Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

$sel:segmentTemplateFormat:DashPackage', dashPackage_segmentTemplateFormat - Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.

$sel:dashManifests:DashPackage', dashPackage_dashManifests - A list of DASH manifest configurations.

dashPackage_includeEncoderConfigurationInSegments :: Lens' DashPackage (Maybe Bool) Source #

When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.

dashPackage_includeIframeOnlyStream :: Lens' DashPackage (Maybe Bool) Source #

When enabled, an I-Frame only stream will be included in the output.

dashPackage_periodTriggers :: Lens' DashPackage (Maybe [PeriodTriggersElement]) Source #

A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.

dashPackage_segmentDurationSeconds :: Lens' DashPackage (Maybe Int) Source #

Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

dashPackage_segmentTemplateFormat :: Lens' DashPackage (Maybe SegmentTemplateFormat) Source #

Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.

dashPackage_dashManifests :: Lens' DashPackage [DashManifest] Source #

A list of DASH manifest configurations.