Struct aws_sdk_mediaconvert::types::HlsSettings
source · #[non_exhaustive]pub struct HlsSettings {
pub audio_group_id: Option<String>,
pub audio_only_container: Option<HlsAudioOnlyContainer>,
pub audio_rendition_sets: Option<String>,
pub audio_track_type: Option<HlsAudioTrackType>,
pub descriptive_video_service_flag: Option<HlsDescriptiveVideoServiceFlag>,
pub i_frame_only_manifest: Option<HlsIFrameOnlyManifest>,
pub segment_modifier: Option<String>,
}
Expand description
Settings for HLS output groups
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.audio_group_id: Option<String>
Specifies the group to which the audio rendition belongs.
audio_only_container: Option<HlsAudioOnlyContainer>
Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.
audio_rendition_sets: Option<String>
List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ‘,’.
audio_track_type: Option<HlsAudioTrackType>
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
descriptive_video_service_flag: Option<HlsDescriptiveVideoServiceFlag>
Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag, MediaConvert includes the parameter CHARACTERISTICS=“public.accessibility.describes-video” in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don’t flag, MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation.
i_frame_only_manifest: Option<HlsIFrameOnlyManifest>
Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don’t need the I-frame only child manifest, keep the default value Exclude.
segment_modifier: Option<String>
Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html
Implementations§
source§impl HlsSettings
impl HlsSettings
sourcepub fn audio_group_id(&self) -> Option<&str>
pub fn audio_group_id(&self) -> Option<&str>
Specifies the group to which the audio rendition belongs.
sourcepub fn audio_only_container(&self) -> Option<&HlsAudioOnlyContainer>
pub fn audio_only_container(&self) -> Option<&HlsAudioOnlyContainer>
Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create an audio-only file in a raw container. Regardless of the value that you specify here, if this output has video, the service will place the output into an MPEG2-TS container.
sourcepub fn audio_rendition_sets(&self) -> Option<&str>
pub fn audio_rendition_sets(&self) -> Option<&str>
List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ‘,’.
sourcepub fn audio_track_type(&self) -> Option<&HlsAudioTrackType>
pub fn audio_track_type(&self) -> Option<&HlsAudioTrackType>
Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
sourcepub fn descriptive_video_service_flag(
&self
) -> Option<&HlsDescriptiveVideoServiceFlag>
pub fn descriptive_video_service_flag( &self ) -> Option<&HlsDescriptiveVideoServiceFlag>
Specify whether to flag this audio track as descriptive video service (DVS) in your HLS parent manifest. When you choose Flag, MediaConvert includes the parameter CHARACTERISTICS=“public.accessibility.describes-video” in the EXT-X-MEDIA entry for this track. When you keep the default choice, Don’t flag, MediaConvert leaves this parameter out. The DVS flag can help with accessibility on Apple devices. For more information, see the Apple documentation.
sourcepub fn i_frame_only_manifest(&self) -> Option<&HlsIFrameOnlyManifest>
pub fn i_frame_only_manifest(&self) -> Option<&HlsIFrameOnlyManifest>
Choose Include to have MediaConvert generate a child manifest that lists only the I-frames for this rendition, in addition to your regular manifest for this rendition. You might use this manifest as part of a workflow that creates preview functions for your video. MediaConvert adds both the I-frame only child manifest and the regular child manifest to the parent manifest. When you don’t need the I-frame only child manifest, keep the default value Exclude.
sourcepub fn segment_modifier(&self) -> Option<&str>
pub fn segment_modifier(&self) -> Option<&str>
Use this setting to add an identifying string to the filename of each segment. The service adds this string between the name modifier and segment index number. You can use format identifiers in the string. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/using-variables-in-your-job-settings.html
source§impl HlsSettings
impl HlsSettings
sourcepub fn builder() -> HlsSettingsBuilder
pub fn builder() -> HlsSettingsBuilder
Creates a new builder-style object to manufacture HlsSettings
.
Trait Implementations§
source§impl Clone for HlsSettings
impl Clone for HlsSettings
source§fn clone(&self) -> HlsSettings
fn clone(&self) -> HlsSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsSettings
impl Debug for HlsSettings
source§impl PartialEq for HlsSettings
impl PartialEq for HlsSettings
source§fn eq(&self, other: &HlsSettings) -> bool
fn eq(&self, other: &HlsSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsSettings
Auto Trait Implementations§
impl Freeze for HlsSettings
impl RefUnwindSafe for HlsSettings
impl Send for HlsSettings
impl Sync for HlsSettings
impl Unpin for HlsSettings
impl UnwindSafe for HlsSettings
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