public static interface CmafGroupSettings.Builder extends SdkPojo, CopyableBuilder<CmafGroupSettings.Builder,CmafGroupSettings>
Modifier and Type | Method and Description |
---|---|
CmafGroupSettings.Builder |
additionalManifests(CmafAdditionalManifest... additionalManifests)
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.
|
CmafGroupSettings.Builder |
additionalManifests(Collection<CmafAdditionalManifest> additionalManifests)
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.
|
CmafGroupSettings.Builder |
additionalManifests(Consumer<CmafAdditionalManifest.Builder>... additionalManifests)
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.
|
CmafGroupSettings.Builder |
baseUrl(String baseUrl)
A partial URI prefix that will be put in the manifest file at the top level BaseURL element.
|
CmafGroupSettings.Builder |
clientCache(CmafClientCache clientCache)
Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag.
|
CmafGroupSettings.Builder |
clientCache(String clientCache)
Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag.
|
CmafGroupSettings.Builder |
codecSpecification(CmafCodecSpecification codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
CmafGroupSettings.Builder |
codecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
CmafGroupSettings.Builder |
destination(String destination)
Use Destination (Destination) to specify the S3 output location and the output filename base.
|
default CmafGroupSettings.Builder |
destinationSettings(Consumer<DestinationSettings.Builder> destinationSettings)
Settings associated with the destination.
|
CmafGroupSettings.Builder |
destinationSettings(DestinationSettings destinationSettings)
Settings associated with the destination.
|
CmafGroupSettings.Builder |
encryption(CmafEncryptionSettings encryption)
DRM settings.
|
default CmafGroupSettings.Builder |
encryption(Consumer<CmafEncryptionSettings.Builder> encryption)
DRM settings.
|
CmafGroupSettings.Builder |
fragmentLength(Integer fragmentLength)
Length of fragments to generate (in seconds).
|
CmafGroupSettings.Builder |
manifestCompression(CmafManifestCompression manifestCompression)
When set to GZIP, compresses HLS playlist.
|
CmafGroupSettings.Builder |
manifestCompression(String manifestCompression)
When set to GZIP, compresses HLS playlist.
|
CmafGroupSettings.Builder |
manifestDurationFormat(CmafManifestDurationFormat manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
CmafGroupSettings.Builder |
manifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
CmafGroupSettings.Builder |
minBufferTime(Integer minBufferTime)
Minimum time of initially buffered media that is needed to ensure smooth playout.
|
CmafGroupSettings.Builder |
minFinalSegmentLength(Double minFinalSegmentLength)
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.
|
CmafGroupSettings.Builder |
mpdProfile(CmafMpdProfile mpdProfile)
Specify whether your DASH profile is on-demand or main.
|
CmafGroupSettings.Builder |
mpdProfile(String mpdProfile)
Specify whether your DASH profile is on-demand or main.
|
CmafGroupSettings.Builder |
ptsOffsetHandlingForBFrames(CmafPtsOffsetHandlingForBFrames ptsOffsetHandlingForBFrames)
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).
|
CmafGroupSettings.Builder |
ptsOffsetHandlingForBFrames(String ptsOffsetHandlingForBFrames)
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).
|
CmafGroupSettings.Builder |
segmentControl(CmafSegmentControl segmentControl)
When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment
Length and Segment Length.
|
CmafGroupSettings.Builder |
segmentControl(String segmentControl)
When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment
Length and Segment Length.
|
CmafGroupSettings.Builder |
segmentLength(Integer segmentLength)
Use this setting to specify the length, in seconds, of each individual CMAF segment.
|
CmafGroupSettings.Builder |
streamInfResolution(CmafStreamInfResolution streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
CmafGroupSettings.Builder |
streamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
CmafGroupSettings.Builder |
writeDashManifest(CmafWriteDASHManifest writeDashManifest)
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
CmafGroupSettings.Builder |
writeDashManifest(String writeDashManifest)
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
CmafGroupSettings.Builder |
writeHlsManifest(CmafWriteHLSManifest writeHlsManifest)
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
CmafGroupSettings.Builder |
writeHlsManifest(String writeHlsManifest)
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
CmafGroupSettings.Builder |
writeSegmentTimelineInRepresentation(CmafWriteSegmentTimelineInRepresentation writeSegmentTimelineInRepresentation)
When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH
manifest shows precise segment durations.
|
CmafGroupSettings.Builder |
writeSegmentTimelineInRepresentation(String writeSegmentTimelineInRepresentation)
When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), your DASH
manifest shows precise segment durations.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CmafGroupSettings.Builder additionalManifests(Collection<CmafAdditionalManifest> additionalManifests)
additionalManifests
- 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.CmafGroupSettings.Builder additionalManifests(CmafAdditionalManifest... additionalManifests)
additionalManifests
- 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.CmafGroupSettings.Builder additionalManifests(Consumer<CmafAdditionalManifest.Builder>... additionalManifests)
.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #additionalManifests(List)
.additionalManifests
- a consumer that will call methods on List.Builder
#additionalManifests(List)
CmafGroupSettings.Builder baseUrl(String baseUrl)
baseUrl
- 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.CmafGroupSettings.Builder clientCache(String clientCache)
clientCache
- Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep
the default value Enabled (ENABLED) and control caching in your video distribution set up. For
example, use the Cache-Control http header.CmafClientCache
,
CmafClientCache
CmafGroupSettings.Builder clientCache(CmafClientCache clientCache)
clientCache
- Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep
the default value Enabled (ENABLED) and control caching in your video distribution set up. For
example, use the Cache-Control http header.CmafClientCache
,
CmafClientCache
CmafGroupSettings.Builder codecSpecification(String codecSpecification)
codecSpecification
- Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.CmafCodecSpecification
,
CmafCodecSpecification
CmafGroupSettings.Builder codecSpecification(CmafCodecSpecification codecSpecification)
codecSpecification
- Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.CmafCodecSpecification
,
CmafCodecSpecification
CmafGroupSettings.Builder destination(String destination)
destination
- Use Destination (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.CmafGroupSettings.Builder destinationSettings(DestinationSettings destinationSettings)
destinationSettings
- Settings associated with the destination. Will vary based on the type of destinationdefault CmafGroupSettings.Builder destinationSettings(Consumer<DestinationSettings.Builder> destinationSettings)
DestinationSettings.Builder
avoiding the need to create one manually
via DestinationSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to destinationSettings(DestinationSettings)
.destinationSettings
- a consumer that will call methods on DestinationSettings.Builder
destinationSettings(DestinationSettings)
CmafGroupSettings.Builder encryption(CmafEncryptionSettings encryption)
encryption
- DRM settings.default CmafGroupSettings.Builder encryption(Consumer<CmafEncryptionSettings.Builder> encryption)
CmafEncryptionSettings.Builder
avoiding the need to create one manually via CmafEncryptionSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to encryption(CmafEncryptionSettings)
.encryption
- a consumer that will call methods on CmafEncryptionSettings.Builder
encryption(CmafEncryptionSettings)
CmafGroupSettings.Builder fragmentLength(Integer fragmentLength)
fragmentLength
- Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and
Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual
fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a
single output file and it does not cause the creation of many output files as in other output types.CmafGroupSettings.Builder manifestCompression(String manifestCompression)
manifestCompression
- When set to GZIP, compresses HLS playlist.CmafManifestCompression
,
CmafManifestCompression
CmafGroupSettings.Builder manifestCompression(CmafManifestCompression manifestCompression)
manifestCompression
- When set to GZIP, compresses HLS playlist.CmafManifestCompression
,
CmafManifestCompression
CmafGroupSettings.Builder manifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat
- Indicates whether the output manifest should use floating point values for segment duration.CmafManifestDurationFormat
,
CmafManifestDurationFormat
CmafGroupSettings.Builder manifestDurationFormat(CmafManifestDurationFormat manifestDurationFormat)
manifestDurationFormat
- Indicates whether the output manifest should use floating point values for segment duration.CmafManifestDurationFormat
,
CmafManifestDurationFormat
CmafGroupSettings.Builder minBufferTime(Integer minBufferTime)
minBufferTime
- Minimum time of initially buffered media that is needed to ensure smooth playout.CmafGroupSettings.Builder minFinalSegmentLength(Double minFinalSegmentLength)
minFinalSegmentLength
- 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.CmafGroupSettings.Builder mpdProfile(String mpdProfile)
mpdProfile
- Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE),
the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose
On-demand (ON_DEMAND_PROFILE), 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
(SegmentControl) to Single file (SINGLE_FILE).CmafMpdProfile
,
CmafMpdProfile
CmafGroupSettings.Builder mpdProfile(CmafMpdProfile mpdProfile)
mpdProfile
- Specify whether your DASH profile is on-demand or main. When you choose Main profile (MAIN_PROFILE),
the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose
On-demand (ON_DEMAND_PROFILE), 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
(SegmentControl) to Single file (SINGLE_FILE).CmafMpdProfile
,
CmafMpdProfile
CmafGroupSettings.Builder ptsOffsetHandlingForBFrames(String ptsOffsetHandlingForBFrames)
ptsOffsetHandlingForBFrames
- 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
(MATCH_INITIAL_PTS) when you want MediaConvert to use the initial PTS as the first time stamp in the
manifest. Choose Zero-based (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.CmafPtsOffsetHandlingForBFrames
,
CmafPtsOffsetHandlingForBFrames
CmafGroupSettings.Builder ptsOffsetHandlingForBFrames(CmafPtsOffsetHandlingForBFrames ptsOffsetHandlingForBFrames)
ptsOffsetHandlingForBFrames
- 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
(MATCH_INITIAL_PTS) when you want MediaConvert to use the initial PTS as the first time stamp in the
manifest. Choose Zero-based (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.CmafPtsOffsetHandlingForBFrames
,
CmafPtsOffsetHandlingForBFrames
CmafGroupSettings.Builder segmentControl(String segmentControl)
segmentControl
- 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.CmafSegmentControl
,
CmafSegmentControl
CmafGroupSettings.Builder segmentControl(CmafSegmentControl segmentControl)
segmentControl
- 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.CmafSegmentControl
,
CmafSegmentControl
CmafGroupSettings.Builder segmentLength(Integer segmentLength)
segmentLength
- Use this setting to specify the length, in seconds, of each individual CMAF segment. This value
applies to the whole package; that is, to every output in the output group. Note that segments end on
the first keyframe after this number of seconds, so the actual segment length might be slightly
longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content
of each output in a single file that has metadata that marks these segments. If you set it to
segmented files, the service creates multiple files for each output, each with the content of one
segment.CmafGroupSettings.Builder streamInfResolution(String streamInfResolution)
streamInfResolution
- Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.CmafStreamInfResolution
,
CmafStreamInfResolution
CmafGroupSettings.Builder streamInfResolution(CmafStreamInfResolution streamInfResolution)
streamInfResolution
- Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.CmafStreamInfResolution
,
CmafStreamInfResolution
CmafGroupSettings.Builder writeDashManifest(String writeDashManifest)
writeDashManifest
- When set to ENABLED, a DASH MPD manifest will be generated for this output.CmafWriteDASHManifest
,
CmafWriteDASHManifest
CmafGroupSettings.Builder writeDashManifest(CmafWriteDASHManifest writeDashManifest)
writeDashManifest
- When set to ENABLED, a DASH MPD manifest will be generated for this output.CmafWriteDASHManifest
,
CmafWriteDASHManifest
CmafGroupSettings.Builder writeHlsManifest(String writeHlsManifest)
writeHlsManifest
- When set to ENABLED, an Apple HLS manifest will be generated for this output.CmafWriteHLSManifest
,
CmafWriteHLSManifest
CmafGroupSettings.Builder writeHlsManifest(CmafWriteHLSManifest writeHlsManifest)
writeHlsManifest
- When set to ENABLED, an Apple HLS manifest will be generated for this output.CmafWriteHLSManifest
,
CmafWriteHLSManifest
CmafGroupSettings.Builder writeSegmentTimelineInRepresentation(String writeSegmentTimelineInRepresentation)
writeSegmentTimelineInRepresentation
- When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation),
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.CmafWriteSegmentTimelineInRepresentation
,
CmafWriteSegmentTimelineInRepresentation
CmafGroupSettings.Builder writeSegmentTimelineInRepresentation(CmafWriteSegmentTimelineInRepresentation writeSegmentTimelineInRepresentation)
writeSegmentTimelineInRepresentation
- When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation),
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.CmafWriteSegmentTimelineInRepresentation
,
CmafWriteSegmentTimelineInRepresentation
Copyright © 2021. All rights reserved.