@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafGroupSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CmafGroupSettings() |
| Modifier and Type | Method and Description |
|---|---|
CmafGroupSettings |
clone() |
boolean |
equals(Object obj) |
String |
getBaseUrl()
A partial URI prefix that will be put in the manifest file at the top level BaseURL element.
|
String |
getClientCache()
When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later
replay.
|
String |
getCodecSpecification()
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
String |
getDestination()
Use Destination (Destination) to specify the S3 output location and the output filename base.
|
DestinationSettings |
getDestinationSettings()
Settings associated with the destination.
|
CmafEncryptionSettings |
getEncryption()
DRM settings.
|
Integer |
getFragmentLength()
Length of fragments to generate (in seconds).
|
String |
getManifestCompression()
When set to GZIP, compresses HLS playlist.
|
String |
getManifestDurationFormat()
Indicates whether the output manifest should use floating point values for segment duration.
|
Integer |
getMinBufferTime()
Minimum time of initially buffered media that is needed to ensure smooth playout.
|
Double |
getMinFinalSegmentLength()
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.
|
String |
getSegmentControl()
When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment
Length and Segment Length.
|
Integer |
getSegmentLength()
Use this setting to specify the length, in seconds, of each individual CMAF segment.
|
String |
getStreamInfResolution()
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
String |
getWriteDashManifest()
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
String |
getWriteHlsManifest()
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBaseUrl(String baseUrl)
A partial URI prefix that will be put in the manifest file at the top level BaseURL element.
|
void |
setClientCache(String clientCache)
When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later
replay.
|
void |
setCodecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
void |
setDestination(String destination)
Use Destination (Destination) to specify the S3 output location and the output filename base.
|
void |
setDestinationSettings(DestinationSettings destinationSettings)
Settings associated with the destination.
|
void |
setEncryption(CmafEncryptionSettings encryption)
DRM settings.
|
void |
setFragmentLength(Integer fragmentLength)
Length of fragments to generate (in seconds).
|
void |
setManifestCompression(String manifestCompression)
When set to GZIP, compresses HLS playlist.
|
void |
setManifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
void |
setMinBufferTime(Integer minBufferTime)
Minimum time of initially buffered media that is needed to ensure smooth playout.
|
void |
setMinFinalSegmentLength(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.
|
void |
setSegmentControl(String segmentControl)
When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment
Length and Segment Length.
|
void |
setSegmentLength(Integer segmentLength)
Use this setting to specify the length, in seconds, of each individual CMAF segment.
|
void |
setStreamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
void |
setWriteDashManifest(String writeDashManifest)
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
void |
setWriteHlsManifest(String writeHlsManifest)
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
String |
toString()
Returns a string representation of this object.
|
CmafGroupSettings |
withBaseUrl(String baseUrl)
A partial URI prefix that will be put in the manifest file at the top level BaseURL element.
|
CmafGroupSettings |
withClientCache(CmafClientCache clientCache)
When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later
replay.
|
CmafGroupSettings |
withClientCache(String clientCache)
When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later
replay.
|
CmafGroupSettings |
withCodecSpecification(CmafCodecSpecification codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
CmafGroupSettings |
withCodecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
CmafGroupSettings |
withDestination(String destination)
Use Destination (Destination) to specify the S3 output location and the output filename base.
|
CmafGroupSettings |
withDestinationSettings(DestinationSettings destinationSettings)
Settings associated with the destination.
|
CmafGroupSettings |
withEncryption(CmafEncryptionSettings encryption)
DRM settings.
|
CmafGroupSettings |
withFragmentLength(Integer fragmentLength)
Length of fragments to generate (in seconds).
|
CmafGroupSettings |
withManifestCompression(CmafManifestCompression manifestCompression)
When set to GZIP, compresses HLS playlist.
|
CmafGroupSettings |
withManifestCompression(String manifestCompression)
When set to GZIP, compresses HLS playlist.
|
CmafGroupSettings |
withManifestDurationFormat(CmafManifestDurationFormat manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
CmafGroupSettings |
withManifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
CmafGroupSettings |
withMinBufferTime(Integer minBufferTime)
Minimum time of initially buffered media that is needed to ensure smooth playout.
|
CmafGroupSettings |
withMinFinalSegmentLength(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 |
withSegmentControl(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 |
withSegmentControl(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 |
withSegmentLength(Integer segmentLength)
Use this setting to specify the length, in seconds, of each individual CMAF segment.
|
CmafGroupSettings |
withStreamInfResolution(CmafStreamInfResolution streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
CmafGroupSettings |
withStreamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
CmafGroupSettings |
withWriteDashManifest(CmafWriteDASHManifest writeDashManifest)
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
CmafGroupSettings |
withWriteDashManifest(String writeDashManifest)
When set to ENABLED, a DASH MPD manifest will be generated for this output.
|
CmafGroupSettings |
withWriteHlsManifest(CmafWriteHLSManifest writeHlsManifest)
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
CmafGroupSettings |
withWriteHlsManifest(String writeHlsManifest)
When set to ENABLED, an Apple HLS manifest will be generated for this output.
|
public void setBaseUrl(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.public String getBaseUrl()
public CmafGroupSettings withBaseUrl(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.public void setClientCache(String clientCache)
clientCache - When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for
later replay.CmafClientCachepublic String getClientCache()
CmafClientCachepublic CmafGroupSettings withClientCache(String clientCache)
clientCache - When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for
later replay.CmafClientCachepublic CmafGroupSettings withClientCache(CmafClientCache clientCache)
clientCache - When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for
later replay.CmafClientCachepublic void setCodecSpecification(String codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.CmafCodecSpecificationpublic String getCodecSpecification()
CmafCodecSpecificationpublic CmafGroupSettings withCodecSpecification(String codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.CmafCodecSpecificationpublic CmafGroupSettings withCodecSpecification(CmafCodecSpecification codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.CmafCodecSpecificationpublic void setDestination(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.public String getDestination()
public CmafGroupSettings withDestination(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.public void setDestinationSettings(DestinationSettings destinationSettings)
destinationSettings - Settings associated with the destination. Will vary based on the type of destinationpublic DestinationSettings getDestinationSettings()
public CmafGroupSettings withDestinationSettings(DestinationSettings destinationSettings)
destinationSettings - Settings associated with the destination. Will vary based on the type of destinationpublic void setEncryption(CmafEncryptionSettings encryption)
encryption - DRM settings.public CmafEncryptionSettings getEncryption()
public CmafGroupSettings withEncryption(CmafEncryptionSettings encryption)
encryption - DRM settings.public void setFragmentLength(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.public Integer getFragmentLength()
public CmafGroupSettings withFragmentLength(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.public void setManifestCompression(String manifestCompression)
manifestCompression - When set to GZIP, compresses HLS playlist.CmafManifestCompressionpublic String getManifestCompression()
CmafManifestCompressionpublic CmafGroupSettings withManifestCompression(String manifestCompression)
manifestCompression - When set to GZIP, compresses HLS playlist.CmafManifestCompressionpublic CmafGroupSettings withManifestCompression(CmafManifestCompression manifestCompression)
manifestCompression - When set to GZIP, compresses HLS playlist.CmafManifestCompressionpublic void setManifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point values for segment duration.CmafManifestDurationFormatpublic String getManifestDurationFormat()
CmafManifestDurationFormatpublic CmafGroupSettings withManifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point values for segment duration.CmafManifestDurationFormatpublic CmafGroupSettings withManifestDurationFormat(CmafManifestDurationFormat manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point values for segment duration.CmafManifestDurationFormatpublic void setMinBufferTime(Integer minBufferTime)
minBufferTime - Minimum time of initially buffered media that is needed to ensure smooth playout.public Integer getMinBufferTime()
public CmafGroupSettings withMinBufferTime(Integer minBufferTime)
minBufferTime - Minimum time of initially buffered media that is needed to ensure smooth playout.public void setMinFinalSegmentLength(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.public Double getMinFinalSegmentLength()
public CmafGroupSettings withMinFinalSegmentLength(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.public void setSegmentControl(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.CmafSegmentControlpublic String getSegmentControl()
CmafSegmentControlpublic CmafGroupSettings withSegmentControl(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.CmafSegmentControlpublic CmafGroupSettings withSegmentControl(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.CmafSegmentControlpublic void setSegmentLength(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.public Integer getSegmentLength()
public CmafGroupSettings withSegmentLength(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.public void setStreamInfResolution(String streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.CmafStreamInfResolutionpublic String getStreamInfResolution()
CmafStreamInfResolutionpublic CmafGroupSettings withStreamInfResolution(String streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.CmafStreamInfResolutionpublic CmafGroupSettings withStreamInfResolution(CmafStreamInfResolution streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.CmafStreamInfResolutionpublic void setWriteDashManifest(String writeDashManifest)
writeDashManifest - When set to ENABLED, a DASH MPD manifest will be generated for this output.CmafWriteDASHManifestpublic String getWriteDashManifest()
CmafWriteDASHManifestpublic CmafGroupSettings withWriteDashManifest(String writeDashManifest)
writeDashManifest - When set to ENABLED, a DASH MPD manifest will be generated for this output.CmafWriteDASHManifestpublic CmafGroupSettings withWriteDashManifest(CmafWriteDASHManifest writeDashManifest)
writeDashManifest - When set to ENABLED, a DASH MPD manifest will be generated for this output.CmafWriteDASHManifestpublic void setWriteHlsManifest(String writeHlsManifest)
writeHlsManifest - When set to ENABLED, an Apple HLS manifest will be generated for this output.CmafWriteHLSManifestpublic String getWriteHlsManifest()
CmafWriteHLSManifestpublic CmafGroupSettings withWriteHlsManifest(String writeHlsManifest)
writeHlsManifest - When set to ENABLED, an Apple HLS manifest will be generated for this output.CmafWriteHLSManifestpublic CmafGroupSettings withWriteHlsManifest(CmafWriteHLSManifest writeHlsManifest)
writeHlsManifest - When set to ENABLED, an Apple HLS manifest will be generated for this output.CmafWriteHLSManifestpublic String toString()
toString in class ObjectObject.toString()public CmafGroupSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.