#[non_exhaustive]
pub struct CmafGroupSettingsBuilder { /* private fields */ }
Expand description

A builder for CmafGroupSettings.

Implementations§

source§

impl CmafGroupSettingsBuilder

source

pub fn additional_manifests(self, input: CmafAdditionalManifest) -> Self

Appends an item to additional_manifests.

To override the contents of this collection use set_additional_manifests.

By default, the service creates one top-level .m3u8 HLS manifest and one top -level .mpd DASH manifest for each CMAF output group in your job. These default manifests reference every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here. For each additional manifest that you specify, the service creates one HLS manifest and one DASH manifest.

source

pub fn set_additional_manifests( self, input: Option<Vec<CmafAdditionalManifest>> ) -> Self

By default, the service creates one top-level .m3u8 HLS manifest and one top -level .mpd DASH manifest for each CMAF output group in your job. These default manifests reference every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here. For each additional manifest that you specify, the service creates one HLS manifest and one DASH manifest.

source

pub fn get_additional_manifests(&self) -> &Option<Vec<CmafAdditionalManifest>>

By default, the service creates one top-level .m3u8 HLS manifest and one top -level .mpd DASH manifest for each CMAF output group in your job. These default manifests reference every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here. For each additional manifest that you specify, the service creates one HLS manifest and one DASH manifest.

source

pub fn base_url(self, input: impl Into<String>) -> Self

A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.

source

pub fn set_base_url(self, input: Option<String>) -> Self

A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.

source

pub fn get_base_url(&self) -> &Option<String>

A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.

source

pub fn client_cache(self, input: CmafClientCache) -> Self

Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep the default value Enabled and control caching in your video distribution set up. For example, use the Cache-Control http header.

source

pub fn set_client_cache(self, input: Option<CmafClientCache>) -> Self

Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep the default value Enabled and control caching in your video distribution set up. For example, use the Cache-Control http header.

source

pub fn get_client_cache(&self) -> &Option<CmafClientCache>

Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep the default value Enabled and control caching in your video distribution set up. For example, use the Cache-Control http header.

source

pub fn codec_specification(self, input: CmafCodecSpecification) -> Self

Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.

source

pub fn set_codec_specification( self, input: Option<CmafCodecSpecification> ) -> Self

Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.

source

pub fn get_codec_specification(&self) -> &Option<CmafCodecSpecification>

Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.

source

pub fn dash_manifest_style(self, input: DashManifestStyle) -> Self

Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct.

source

pub fn set_dash_manifest_style(self, input: Option<DashManifestStyle>) -> Self

Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct.

source

pub fn get_dash_manifest_style(&self) -> &Option<DashManifestStyle>

Specify how MediaConvert writes SegmentTimeline in your output DASH manifest. To write a SegmentTimeline in each video Representation: Keep the default value, Basic. To write a common SegmentTimeline in the video AdaptationSet: Choose Compact. Note that MediaConvert will still write a SegmentTimeline in any Representation that does not share a common timeline. To write a video AdaptationSet for each different output framerate, and a common SegmentTimeline in each AdaptationSet: Choose Distinct.

source

pub fn destination(self, input: impl Into<String>) -> Self

Use Destination to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.

source

pub fn set_destination(self, input: Option<String>) -> Self

Use Destination to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.

source

pub fn get_destination(&self) -> &Option<String>

Use Destination to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.

source

pub fn destination_settings(self, input: DestinationSettings) -> Self

Settings associated with the destination. Will vary based on the type of destination

source

pub fn set_destination_settings( self, input: Option<DestinationSettings> ) -> Self

Settings associated with the destination. Will vary based on the type of destination

source

pub fn get_destination_settings(&self) -> &Option<DestinationSettings>

Settings associated with the destination. Will vary based on the type of destination

source

pub fn encryption(self, input: CmafEncryptionSettings) -> Self

DRM settings.

source

pub fn set_encryption(self, input: Option<CmafEncryptionSettings>) -> Self

DRM settings.

source

pub fn get_encryption(&self) -> &Option<CmafEncryptionSettings>

DRM settings.

source

pub fn fragment_length(self, input: i32) -> Self

Specify the length, in whole seconds, of the mp4 fragments. When you don’t specify a value, MediaConvert defaults to 2. Related setting: Use Fragment length control to specify whether the encoder enforces this value strictly.

source

pub fn set_fragment_length(self, input: Option<i32>) -> Self

Specify the length, in whole seconds, of the mp4 fragments. When you don’t specify a value, MediaConvert defaults to 2. Related setting: Use Fragment length control to specify whether the encoder enforces this value strictly.

source

pub fn get_fragment_length(&self) -> &Option<i32>

Specify the length, in whole seconds, of the mp4 fragments. When you don’t specify a value, MediaConvert defaults to 2. Related setting: Use Fragment length control to specify whether the encoder enforces this value strictly.

source

pub fn image_based_trick_play(self, input: CmafImageBasedTrickPlay) -> Self

Specify whether MediaConvert generates images for trick play. Keep the default value, None, to not generate any images. Choose Thumbnail to generate tiled thumbnails. Choose Thumbnail and full frame to generate tiled thumbnails and full-resolution images of single frames. When you enable Write HLS manifest, MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. When you enable Write DASH manifest, MediaConvert adds an entry in the .mpd manifest for each set of images that you generate. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md

source

pub fn set_image_based_trick_play( self, input: Option<CmafImageBasedTrickPlay> ) -> Self

Specify whether MediaConvert generates images for trick play. Keep the default value, None, to not generate any images. Choose Thumbnail to generate tiled thumbnails. Choose Thumbnail and full frame to generate tiled thumbnails and full-resolution images of single frames. When you enable Write HLS manifest, MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. When you enable Write DASH manifest, MediaConvert adds an entry in the .mpd manifest for each set of images that you generate. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md

source

pub fn get_image_based_trick_play(&self) -> &Option<CmafImageBasedTrickPlay>

Specify whether MediaConvert generates images for trick play. Keep the default value, None, to not generate any images. Choose Thumbnail to generate tiled thumbnails. Choose Thumbnail and full frame to generate tiled thumbnails and full-resolution images of single frames. When you enable Write HLS manifest, MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. When you enable Write DASH manifest, MediaConvert adds an entry in the .mpd manifest for each set of images that you generate. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md

source

pub fn image_based_trick_play_settings( self, input: CmafImageBasedTrickPlaySettings ) -> Self

Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED

source

pub fn set_image_based_trick_play_settings( self, input: Option<CmafImageBasedTrickPlaySettings> ) -> Self

Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED

source

pub fn get_image_based_trick_play_settings( &self ) -> &Option<CmafImageBasedTrickPlaySettings>

Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED

source

pub fn manifest_compression(self, input: CmafManifestCompression) -> Self

When set to GZIP, compresses HLS playlist.

source

pub fn set_manifest_compression( self, input: Option<CmafManifestCompression> ) -> Self

When set to GZIP, compresses HLS playlist.

source

pub fn get_manifest_compression(&self) -> &Option<CmafManifestCompression>

When set to GZIP, compresses HLS playlist.

source

pub fn manifest_duration_format(self, input: CmafManifestDurationFormat) -> Self

Indicates whether the output manifest should use floating point values for segment duration.

source

pub fn set_manifest_duration_format( self, input: Option<CmafManifestDurationFormat> ) -> Self

Indicates whether the output manifest should use floating point values for segment duration.

source

pub fn get_manifest_duration_format( &self ) -> &Option<CmafManifestDurationFormat>

Indicates whether the output manifest should use floating point values for segment duration.

source

pub fn min_buffer_time(self, input: i32) -> Self

Minimum time of initially buffered media that is needed to ensure smooth playout.

source

pub fn set_min_buffer_time(self, input: Option<i32>) -> Self

Minimum time of initially buffered media that is needed to ensure smooth playout.

source

pub fn get_min_buffer_time(&self) -> &Option<i32>

Minimum time of initially buffered media that is needed to ensure smooth playout.

source

pub fn min_final_segment_length(self, input: f64) -> Self

Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.

source

pub fn set_min_final_segment_length(self, input: Option<f64>) -> Self

Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.

source

pub fn get_min_final_segment_length(&self) -> &Option<f64>

Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.

source

pub fn mpd_manifest_bandwidth_type( self, input: CmafMpdManifestBandwidthType ) -> Self

Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second.

source

pub fn set_mpd_manifest_bandwidth_type( self, input: Option<CmafMpdManifestBandwidthType> ) -> Self

Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second.

source

pub fn get_mpd_manifest_bandwidth_type( &self ) -> &Option<CmafMpdManifestBandwidthType>

Specify how the value for bandwidth is determined for each video Representation in your output MPD manifest. We recommend that you choose a MPD manifest bandwidth type that is compatible with your downstream player configuration. Max: Use the same value that you specify for Max bitrate in the video output, in bits per second. Average: Use the calculated average bitrate of the encoded video output, in bits per second.

source

pub fn mpd_profile(self, input: CmafMpdProfile) -> Self

Specify whether your DASH profile is on-demand or main. When you choose Main profile, the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand, the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control to Single file.

source

pub fn set_mpd_profile(self, input: Option<CmafMpdProfile>) -> Self

Specify whether your DASH profile is on-demand or main. When you choose Main profile, the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand, the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control to Single file.

source

pub fn get_mpd_profile(&self) -> &Option<CmafMpdProfile>

Specify whether your DASH profile is on-demand or main. When you choose Main profile, the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand, the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control to Single file.

source

pub fn pts_offset_handling_for_b_frames( self, input: CmafPtsOffsetHandlingForBFrames ) -> Self

Use this setting only when your output video stream has B-frames, which causes the initial presentation time stamp (PTS) to be offset from the initial decode time stamp (DTS). Specify how MediaConvert handles PTS when writing time stamps in output DASH manifests. Choose Match initial PTS when you want MediaConvert to use the initial PTS as the first time stamp in the manifest. Choose Zero-based to have MediaConvert ignore the initial PTS in the video stream and instead write the initial time stamp as zero in the manifest. For outputs that don’t have B-frames, the time stamps in your DASH manifests start at zero regardless of your choice here.

source

pub fn set_pts_offset_handling_for_b_frames( self, input: Option<CmafPtsOffsetHandlingForBFrames> ) -> Self

Use this setting only when your output video stream has B-frames, which causes the initial presentation time stamp (PTS) to be offset from the initial decode time stamp (DTS). Specify how MediaConvert handles PTS when writing time stamps in output DASH manifests. Choose Match initial PTS when you want MediaConvert to use the initial PTS as the first time stamp in the manifest. Choose Zero-based to have MediaConvert ignore the initial PTS in the video stream and instead write the initial time stamp as zero in the manifest. For outputs that don’t have B-frames, the time stamps in your DASH manifests start at zero regardless of your choice here.

source

pub fn get_pts_offset_handling_for_b_frames( &self ) -> &Option<CmafPtsOffsetHandlingForBFrames>

Use this setting only when your output video stream has B-frames, which causes the initial presentation time stamp (PTS) to be offset from the initial decode time stamp (DTS). Specify how MediaConvert handles PTS when writing time stamps in output DASH manifests. Choose Match initial PTS when you want MediaConvert to use the initial PTS as the first time stamp in the manifest. Choose Zero-based to have MediaConvert ignore the initial PTS in the video stream and instead write the initial time stamp as zero in the manifest. For outputs that don’t have B-frames, the time stamps in your DASH manifests start at zero regardless of your choice here.

source

pub fn segment_control(self, input: CmafSegmentControl) -> Self

When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.

source

pub fn set_segment_control(self, input: Option<CmafSegmentControl>) -> Self

When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.

source

pub fn get_segment_control(&self) -> &Option<CmafSegmentControl>

When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.

source

pub fn segment_length(self, input: i32) -> Self

Specify the length, in whole seconds, of each segment. When you don’t specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control to specify whether the encoder enforces this value strictly. Use Segment control to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.

source

pub fn set_segment_length(self, input: Option<i32>) -> Self

Specify the length, in whole seconds, of each segment. When you don’t specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control to specify whether the encoder enforces this value strictly. Use Segment control to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.

source

pub fn get_segment_length(&self) -> &Option<i32>

Specify the length, in whole seconds, of each segment. When you don’t specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control to specify whether the encoder enforces this value strictly. Use Segment control to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.

source

pub fn segment_length_control(self, input: CmafSegmentLengthControl) -> Self

Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.

source

pub fn set_segment_length_control( self, input: Option<CmafSegmentLengthControl> ) -> Self

Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.

source

pub fn get_segment_length_control(&self) -> &Option<CmafSegmentLengthControl>

Specify how you want MediaConvert to determine the segment length. Choose Exact to have the encoder use the exact length that you specify with the setting Segment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.

source

pub fn stream_inf_resolution(self, input: CmafStreamInfResolution) -> Self

Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.

source

pub fn set_stream_inf_resolution( self, input: Option<CmafStreamInfResolution> ) -> Self

Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.

source

pub fn get_stream_inf_resolution(&self) -> &Option<CmafStreamInfResolution>

Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.

source

pub fn target_duration_compatibility_mode( self, input: CmafTargetDurationCompatibilityMode ) -> Self

When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.

source

pub fn set_target_duration_compatibility_mode( self, input: Option<CmafTargetDurationCompatibilityMode> ) -> Self

When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.

source

pub fn get_target_duration_compatibility_mode( &self ) -> &Option<CmafTargetDurationCompatibilityMode>

When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (< 0.5). You may need to use LEGACY if your client needs to ensure that the target duration is always longer than the actual duration of the segment. Some older players may experience interrupted playback when the actual duration of a track in a segment is longer than the target duration.

source

pub fn video_composition_offsets( self, input: CmafVideoCompositionOffsets ) -> Self

Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.

source

pub fn set_video_composition_offsets( self, input: Option<CmafVideoCompositionOffsets> ) -> Self

Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.

source

pub fn get_video_composition_offsets( &self ) -> &Option<CmafVideoCompositionOffsets>

Specify the video sample composition time offset mode in the output fMP4 TRUN box. For wider player compatibility, set Video composition offsets to Unsigned or leave blank. The earliest presentation time may be greater than zero, and sample composition time offsets will increment using unsigned integers. For strict fMP4 video and audio timing, set Video composition offsets to Signed. The earliest presentation time will be equal to zero, and sample composition time offsets will increment using signed integers.

source

pub fn write_dash_manifest(self, input: CmafWriteDashManifest) -> Self

When set to ENABLED, a DASH MPD manifest will be generated for this output.

source

pub fn set_write_dash_manifest( self, input: Option<CmafWriteDashManifest> ) -> Self

When set to ENABLED, a DASH MPD manifest will be generated for this output.

source

pub fn get_write_dash_manifest(&self) -> &Option<CmafWriteDashManifest>

When set to ENABLED, a DASH MPD manifest will be generated for this output.

source

pub fn write_hls_manifest(self, input: CmafWriteHlsManifest) -> Self

When set to ENABLED, an Apple HLS manifest will be generated for this output.

source

pub fn set_write_hls_manifest(self, input: Option<CmafWriteHlsManifest>) -> Self

When set to ENABLED, an Apple HLS manifest will be generated for this output.

source

pub fn get_write_hls_manifest(&self) -> &Option<CmafWriteHlsManifest>

When set to ENABLED, an Apple HLS manifest will be generated for this output.

source

pub fn write_segment_timeline_in_representation( self, input: CmafWriteSegmentTimelineInRepresentation ) -> Self

When you enable Precise segment duration in DASH manifests, your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn’t enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.

source

pub fn set_write_segment_timeline_in_representation( self, input: Option<CmafWriteSegmentTimelineInRepresentation> ) -> Self

When you enable Precise segment duration in DASH manifests, your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn’t enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.

source

pub fn get_write_segment_timeline_in_representation( &self ) -> &Option<CmafWriteSegmentTimelineInRepresentation>

When you enable Precise segment duration in DASH manifests, your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn’t enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.

source

pub fn build(self) -> CmafGroupSettings

Consumes the builder and constructs a CmafGroupSettings.

Trait Implementations§

source§

impl Clone for CmafGroupSettingsBuilder

source§

fn clone(&self) -> CmafGroupSettingsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CmafGroupSettingsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CmafGroupSettingsBuilder

source§

fn default() -> CmafGroupSettingsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for CmafGroupSettingsBuilder

source§

fn eq(&self, other: &CmafGroupSettingsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for CmafGroupSettingsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more