Struct aws_sdk_mediaconvert::types::builders::MpdSettingsBuilder
source · #[non_exhaustive]pub struct MpdSettingsBuilder { /* private fields */ }
Expand description
A builder for MpdSettings
.
Implementations§
source§impl MpdSettingsBuilder
impl MpdSettingsBuilder
Optional. Choose Include to have MediaConvert mark up your DASH manifest with
Optional. Choose Include to have MediaConvert mark up your DASH manifest with
Optional. Choose Include to have MediaConvert mark up your DASH manifest with
sourcepub fn audio_duration(self, input: MpdAudioDuration) -> Self
pub fn audio_duration(self, input: MpdAudioDuration) -> Self
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. In all other cases, keep the default value, 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.
sourcepub fn set_audio_duration(self, input: Option<MpdAudioDuration>) -> Self
pub fn set_audio_duration(self, input: Option<MpdAudioDuration>) -> Self
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. In all other cases, keep the default value, 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.
sourcepub fn get_audio_duration(&self) -> &Option<MpdAudioDuration>
pub fn get_audio_duration(&self) -> &Option<MpdAudioDuration>
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. In all other cases, keep the default value, 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.
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 for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 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.
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 for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 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.
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 for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 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.
sourcepub fn klv_metadata(self, input: MpdKlvMetadata) -> Self
pub fn klv_metadata(self, input: MpdKlvMetadata) -> Self
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.
sourcepub fn set_klv_metadata(self, input: Option<MpdKlvMetadata>) -> Self
pub fn set_klv_metadata(self, input: Option<MpdKlvMetadata>) -> Self
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.
sourcepub fn get_klv_metadata(&self) -> &Option<MpdKlvMetadata>
pub fn get_klv_metadata(&self) -> &Option<MpdKlvMetadata>
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and writes each instance to a separate event message box in the output, according to MISB ST1910.1. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.
sourcepub fn manifest_metadata_signaling(
self,
input: MpdManifestMetadataSignaling
) -> Self
pub fn manifest_metadata_signaling( self, input: MpdManifestMetadataSignaling ) -> Self
To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be “urn:scte:scte35:2013:bin”. To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata to Passthrough.
sourcepub fn set_manifest_metadata_signaling(
self,
input: Option<MpdManifestMetadataSignaling>
) -> Self
pub fn set_manifest_metadata_signaling( self, input: Option<MpdManifestMetadataSignaling> ) -> Self
To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be “urn:scte:scte35:2013:bin”. To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata to Passthrough.
sourcepub fn get_manifest_metadata_signaling(
&self
) -> &Option<MpdManifestMetadataSignaling>
pub fn get_manifest_metadata_signaling( &self ) -> &Option<MpdManifestMetadataSignaling>
To add an InbandEventStream element in your output MPD manifest for each type of event message, set Manifest metadata signaling to Enabled. For ID3 event messages, the InbandEventStream element schemeIdUri will be same value that you specify for ID3 metadata scheme ID URI. For SCTE35 event messages, the InbandEventStream element schemeIdUri will be “urn:scte:scte35:2013:bin”. To leave these elements out of your output MPD manifest, set Manifest metadata signaling to Disabled. To enable Manifest metadata signaling, you must also set SCTE-35 source to Passthrough, ESAM SCTE-35 to insert, or ID3 metadata to Passthrough.
sourcepub fn scte35_esam(self, input: MpdScte35Esam) -> Self
pub fn scte35_esam(self, input: MpdScte35Esam) -> Self
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.
sourcepub fn set_scte35_esam(self, input: Option<MpdScte35Esam>) -> Self
pub fn set_scte35_esam(self, input: Option<MpdScte35Esam>) -> Self
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.
sourcepub fn get_scte35_esam(&self) -> &Option<MpdScte35Esam>
pub fn get_scte35_esam(&self) -> &Option<MpdScte35Esam>
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.
sourcepub fn scte35_source(self, input: MpdScte35Source) -> Self
pub fn scte35_source(self, input: MpdScte35Source) -> Self
Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don’t want those SCTE-35 markers in this output.
sourcepub fn set_scte35_source(self, input: Option<MpdScte35Source>) -> Self
pub fn set_scte35_source(self, input: Option<MpdScte35Source>) -> Self
Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don’t want those SCTE-35 markers in this output.
sourcepub fn get_scte35_source(&self) -> &Option<MpdScte35Source>
pub fn get_scte35_source(&self) -> &Option<MpdScte35Source>
Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don’t want those SCTE-35 markers in this output.
sourcepub fn timed_metadata(self, input: MpdTimedMetadata) -> Self
pub fn timed_metadata(self, input: MpdTimedMetadata) -> Self
To include ID3 metadata in this output: Set ID3 metadata to Passthrough. Specify this ID3 metadata in Custom ID3 metadata inserter. MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None or leave blank.
sourcepub fn set_timed_metadata(self, input: Option<MpdTimedMetadata>) -> Self
pub fn set_timed_metadata(self, input: Option<MpdTimedMetadata>) -> Self
To include ID3 metadata in this output: Set ID3 metadata to Passthrough. Specify this ID3 metadata in Custom ID3 metadata inserter. MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None or leave blank.
sourcepub fn get_timed_metadata(&self) -> &Option<MpdTimedMetadata>
pub fn get_timed_metadata(&self) -> &Option<MpdTimedMetadata>
To include ID3 metadata in this output: Set ID3 metadata to Passthrough. Specify this ID3 metadata in Custom ID3 metadata inserter. MediaConvert writes each instance of ID3 metadata in a separate Event Message (eMSG) box. To exclude this ID3 metadata: Set ID3 metadata to None or leave blank.
sourcepub fn timed_metadata_box_version(
self,
input: MpdTimedMetadataBoxVersion
) -> Self
pub fn timed_metadata_box_version( self, input: MpdTimedMetadataBoxVersion ) -> Self
Specify the event message box (eMSG) version for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax. Leave blank to use the default value Version 0. When you specify Version 1, you must also set ID3 metadata to Passthrough.
sourcepub fn set_timed_metadata_box_version(
self,
input: Option<MpdTimedMetadataBoxVersion>
) -> Self
pub fn set_timed_metadata_box_version( self, input: Option<MpdTimedMetadataBoxVersion> ) -> Self
Specify the event message box (eMSG) version for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax. Leave blank to use the default value Version 0. When you specify Version 1, you must also set ID3 metadata to Passthrough.
sourcepub fn get_timed_metadata_box_version(
&self
) -> &Option<MpdTimedMetadataBoxVersion>
pub fn get_timed_metadata_box_version( &self ) -> &Option<MpdTimedMetadataBoxVersion>
Specify the event message box (eMSG) version for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax. Leave blank to use the default value Version 0. When you specify Version 1, you must also set ID3 metadata to Passthrough.
sourcepub fn timed_metadata_scheme_id_uri(self, input: impl Into<String>) -> Self
pub fn timed_metadata_scheme_id_uri(self, input: impl Into<String>) -> Self
Specify the event message box (eMSG) scheme ID URI for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 When you specify a value for ID3 metadata scheme ID URI, you must also set ID3 metadata to Passthrough.
sourcepub fn set_timed_metadata_scheme_id_uri(self, input: Option<String>) -> Self
pub fn set_timed_metadata_scheme_id_uri(self, input: Option<String>) -> Self
Specify the event message box (eMSG) scheme ID URI for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 When you specify a value for ID3 metadata scheme ID URI, you must also set ID3 metadata to Passthrough.
sourcepub fn get_timed_metadata_scheme_id_uri(&self) -> &Option<String>
pub fn get_timed_metadata_scheme_id_uri(&self) -> &Option<String>
Specify the event message box (eMSG) scheme ID URI for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. Leave blank to use the default value: https://aomedia.org/emsg/ID3 When you specify a value for ID3 metadata scheme ID URI, you must also set ID3 metadata to Passthrough.
sourcepub fn timed_metadata_value(self, input: impl Into<String>) -> Self
pub fn timed_metadata_value(self, input: impl Into<String>) -> Self
Specify the event message box (eMSG) value for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. When you specify a value for ID3 Metadata Value, you must also set ID3 metadata to Passthrough.
sourcepub fn set_timed_metadata_value(self, input: Option<String>) -> Self
pub fn set_timed_metadata_value(self, input: Option<String>) -> Self
Specify the event message box (eMSG) value for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. When you specify a value for ID3 Metadata Value, you must also set ID3 metadata to Passthrough.
sourcepub fn get_timed_metadata_value(&self) -> &Option<String>
pub fn get_timed_metadata_value(&self) -> &Option<String>
Specify the event message box (eMSG) value for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.4 Semantics. When you specify a value for ID3 Metadata Value, you must also set ID3 metadata to Passthrough.
sourcepub fn build(self) -> MpdSettings
pub fn build(self) -> MpdSettings
Consumes the builder and constructs a MpdSettings
.
Trait Implementations§
source§impl Clone for MpdSettingsBuilder
impl Clone for MpdSettingsBuilder
source§fn clone(&self) -> MpdSettingsBuilder
fn clone(&self) -> MpdSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MpdSettingsBuilder
impl Debug for MpdSettingsBuilder
source§impl Default for MpdSettingsBuilder
impl Default for MpdSettingsBuilder
source§fn default() -> MpdSettingsBuilder
fn default() -> MpdSettingsBuilder
source§impl PartialEq for MpdSettingsBuilder
impl PartialEq for MpdSettingsBuilder
source§fn eq(&self, other: &MpdSettingsBuilder) -> bool
fn eq(&self, other: &MpdSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MpdSettingsBuilder
Auto Trait Implementations§
impl Freeze for MpdSettingsBuilder
impl RefUnwindSafe for MpdSettingsBuilder
impl Send for MpdSettingsBuilder
impl Sync for MpdSettingsBuilder
impl Unpin for MpdSettingsBuilder
impl UnwindSafe for MpdSettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more