Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
RFC_6381 RFC_4281
CmafEncryptionSettings
Settings for CMAF encryption
encryptionMethod
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).
Type: CmafEncryptionType (p. 164) Required: False
constantInitializationVector
This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.
Type: string Required: False
Pattern: ^[0-9a-fA-F]{32}$
MinLength: 32
Properties
MaxLength: 32
initializationVectorInManifest
When you use DRM with CMAF outputs, choose whether the service writes the 128-bit encryption initialization vector in the HLS and DASH manifests.
Type: CmafInitializationVectorInManifest (p. 170) Required: False
spekeKeyProvider
If your output group type is CMAF, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is HLS, DASH, or Microsoft Smooth, use the SpekeKeyProvider settings instead.
Type: SpekeKeyProviderCmaf (p. 364) Required: False
staticKeyProvider
Use these settings to set up encryption with a static key provider.
Type: StaticKeyProvider (p. 366) Required: False
type
Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/
documentation/what-is-speke.html.
Type: CmafKeyProviderType (p. 171) Required: False
CmafEncryptionType
Specify the encryption scheme that you want the service to use when encrypting your CMAF segments.
Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR).
SAMPLE_AES AES_CTR
CmafGroupSettings
Settings related to your CMAF output package. For more information, see https://docs.aws.amazon.com/
mediaconvert/latest/ug/outputs-file-ABR.html. When you work directly in your JSON job specification, include this object and any required children when you set Type, under OutputGroupSettings, to CMAF_GROUP_SETTINGS.
targetDurationCompatibilityMode
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
Properties
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.
Type: CmafTargetDurationCompatibilityMode (p. 172) Required: False
writeHlsManifest
When set to ENABLED, an Apple HLS manifest will be generated for this output.
Type: CmafWriteHLSManifest (p. 172) Required: False
writeDashManifest
When set to ENABLED, a DASH MPD manifest will be generated for this output.
Type: CmafWriteDASHManifest (p. 172) Required: False
segmentLength
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 (SegmentLengthControl) to specify whether the encoder enforces this value strictly. Use Segment control (CmafSegmentControl) to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.
Type: integer Required: False Minimum: 1
Maximum: 2147483647
segmentLengthControl
Specify how you want MediaConvert to determine the segment length. Choose Exact (EXACT) to have the encoder use the exact length that you specify with the setting Segment length (SegmentLength).
This might result in extra I-frames. Choose Multiple of GOP (GOP_MULTIPLE) to have the encoder round up the segment lengths to match the next GOP boundary.
Type: CmafSegmentLengthControl (p. 172) Required: False
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
Properties
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.
Type: number Required: False Format: float Minimum: 0.0
Maximum: 2.147483647E9
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.
Type: string Required: False Pattern: ^s3:\/\/
destinationSettings
Settings associated with the destination. Will vary based on the type of destination Type: DestinationSettings (p. 193)
Required: False
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.
Type: Array of type CmafAdditionalManifest (p. 162) Required: False