Skip to content

DashPackage

Source code in docs_src/capo_mediapackage_vod/types/dash_package.py
class DashPackage(TypedDict, closed=True):
    dash_manifests: NotRequired[
        "capo_mediapackage_vod.types.__list_of_dash_manifest.__listOfDashManifest"
    ]
    """A list of DASH manifest configurations."""
    encryption: NotRequired[
        "capo_mediapackage_vod.types.dash_encryption.DashEncryption"
    ]
    include_encoder_configuration_in_segments: NotRequired[
        "capo_mediapackage_vod.types.__boolean.__boolean"
    ]
    """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."""
    include_iframe_only_stream: NotRequired[
        "capo_mediapackage_vod.types.__boolean.__boolean"
    ]
    """When enabled, an I-Frame only stream will be included in the output."""
    period_triggers: NotRequired[
        "capo_mediapackage_vod.types.__list_of__period_triggers_element.__listOf__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."""
    segment_duration_seconds: NotRequired[
        "capo_mediapackage_vod.types.__integer.__integer"
    ]
    """Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration."""
    segment_template_format: NotRequired[
        "capo_mediapackage_vod.types.segment_template_format.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."""

dash_manifests instance-attribute

dash_manifests: NotRequired[__listOfDashManifest]

A list of DASH manifest configurations.

encryption instance-attribute

encryption: NotRequired[DashEncryption]

include_encoder_configuration_in_segments instance-attribute

include_encoder_configuration_in_segments: NotRequired[__boolean]

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.

include_iframe_only_stream instance-attribute

include_iframe_only_stream: NotRequired[__boolean]

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

period_triggers instance-attribute

period_triggers: NotRequired[__listOf__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.

segment_duration_seconds instance-attribute

segment_duration_seconds: NotRequired[__integer]

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

segment_template_format instance-attribute

segment_template_format: NotRequired[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.