Skip to content

Commit 9dc169d

Browse files
author
AWS
committed
AWS Elemental MediaConvert Update: Lowers minimum duration for black video generator. Adds support for embedding and signing C2PA content credentials in DASH and CMAF HLS outputs.
1 parent 34de9fc commit 9dc169d

File tree

2 files changed

+72
-7
lines changed

2 files changed

+72
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Elemental MediaConvert",
4+
"contributor": "",
5+
"description": "Lowers minimum duration for black video generator. Adds support for embedding and signing C2PA content credentials in DASH and CMAF HLS outputs."
6+
}

services/mediaconvert/src/main/resources/codegen-resources/service-2.json

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,6 +3872,14 @@
38723872
"AUDIO_ONLY_VARIANT_STREAM"
38733873
]
38743874
},
3875+
"CmfcC2paManifest": {
3876+
"type": "string",
3877+
"documentation": "When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html",
3878+
"enum": [
3879+
"INCLUDE",
3880+
"EXCLUDE"
3881+
]
3882+
},
38753883
"CmfcDescriptiveVideoServiceFlag": {
38763884
"type": "string",
38773885
"documentation": "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.",
@@ -3943,6 +3951,16 @@
39433951
"locationName": "audioTrackType",
39443952
"documentation": "Use this setting to control the values that MediaConvert puts in your HLS parent playlist to control how the client player selects which audio track to play. Choose Audio-only variant stream (AUDIO_ONLY_VARIANT_STREAM) for any variant that you want to prohibit the client from playing with video. This causes MediaConvert to represent the variant as an EXT-X-STREAM-INF in the HLS manifest. The other options for this setting determine the values that MediaConvert writes for the DEFAULT and AUTOSELECT attributes of the EXT-X-MEDIA entry for the audio variant. For more information about these attributes, see the Apple documentation article https://developer.apple.com/documentation/http_live_streaming/example_playlists_for_http_live_streaming/adding_alternate_media_to_a_playlist. Choose Alternate audio, auto select, default to set DEFAULT=YES and AUTOSELECT=YES. Choose this value for only one variant in your output group. Choose Alternate audio, auto select, not default to set DEFAULT=NO and AUTOSELECT=YES. Choose Alternate Audio, Not Auto Select to set DEFAULT=NO and AUTOSELECT=NO. When you don't specify a value for this setting, MediaConvert defaults to Alternate audio, auto select, default. When there is more than one variant in your output group, you must explicitly choose a value for this setting."
39453953
},
3954+
"C2paManifest": {
3955+
"shape": "CmfcC2paManifest",
3956+
"locationName": "c2paManifest",
3957+
"documentation": "When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html"
3958+
},
3959+
"CertificateSecret": {
3960+
"shape": "__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09",
3961+
"locationName": "certificateSecret",
3962+
"documentation": "Specify the name or ARN of the AWS Secrets Manager secret that contains your C2PA public certificate chain in PEM format. Provide a valid secret name or ARN. Note that your MediaConvert service role must allow access to this secret. The public certificate chain is added to the COSE header (x5chain) for signature validation. Include the signer's certificate and all intermediate certificates. Do not include the root certificate. For details on COSE, see: https://opensource.contentauthenticity.org/docs/manifest/signing-manifests"
3963+
},
39463964
"DescriptiveVideoServiceFlag": {
39473965
"shape": "CmfcDescriptiveVideoServiceFlag",
39483966
"locationName": "descriptiveVideoServiceFlag",
@@ -3973,6 +3991,11 @@
39733991
"locationName": "scte35Source",
39743992
"documentation": "Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want those SCTE-35 markers in this output."
39753993
},
3994+
"SigningKmsKey": {
3995+
"shape": "__stringMin1PatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932",
3996+
"locationName": "signingKmsKey",
3997+
"documentation": "Specify the ID or ARN of the AWS KMS key used to sign the C2PA manifest in your MP4 output. Provide a valid KMS key ARN. Note that your MediaConvert service role must allow access to this key."
3998+
},
39763999
"TimedMetadata": {
39774000
"shape": "CmfcTimedMetadata",
39784001
"locationName": "timedMetadata",
@@ -6397,6 +6420,14 @@
63976420
},
63986421
"documentation": "Required when you set Codec to the value FRAME_CAPTURE."
63996422
},
6423+
"FrameControl": {
6424+
"type": "string",
6425+
"documentation": "Choose how MediaConvert handles start and end times for input clipping with video passthrough. Your input video codec must be H.264 or H.265 to use IFRAME. To clip at the nearest IDR-frame: Choose Nearest IDR. If an IDR-frame is not found at the frame that you specify, MediaConvert uses the next compatible IDR-frame. Note that your output may be shorter than your input clip duration. To clip at the nearest I-frame: Choose Nearest I-frame. If an I-frame is not found at the frame that you specify, MediaConvert uses the next compatible I-frame. Note that your output may be shorter than your input clip duration. We only recommend this setting for special workflows, and when you choose this setting your output may not be compatible with most players.",
6426+
"enum": [
6427+
"NEAREST_IDRFRAME",
6428+
"NEAREST_IFRAME"
6429+
]
6430+
},
64006431
"FrameMetricType": {
64016432
"type": "string",
64026433
"documentation": "* PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate control mode. * SHOT_CHANGE: Shot Changes",
@@ -8780,9 +8811,9 @@
87808811
"documentation": "Specify the number of audio channels to include in your video generator input. MediaConvert creates these audio channels as silent audio within a single audio track. Enter an integer from 1 to 32."
87818812
},
87828813
"Duration": {
8783-
"shape": "__integerMin50Max86400000",
8814+
"shape": "__integerMin1Max86400000",
87848815
"locationName": "duration",
8785-
"documentation": "Specify the duration, in milliseconds, for your video generator input.\nEnter an integer from 50 to 86400000."
8816+
"documentation": "Specify the duration, in milliseconds, for your video generator input.\nEnter an integer from 1 to 86400000."
87868817
},
87878818
"FramerateDenominator": {
87888819
"shape": "__integerMin1Max1001",
@@ -10837,6 +10868,14 @@
1083710868
"MATCH_VIDEO_DURATION"
1083810869
]
1083910870
},
10871+
"MpdC2paManifest": {
10872+
"type": "string",
10873+
"documentation": "When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html",
10874+
"enum": [
10875+
"INCLUDE",
10876+
"EXCLUDE"
10877+
]
10878+
},
1084010879
"MpdCaptionContainerType": {
1084110880
"type": "string",
1084210881
"documentation": "Use this setting only in DASH output groups that include sidecar TTML, IMSC or WEBVTT captions. You specify sidecar captions in a separate output from your audio and video. Choose Raw for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 for captions in XML format contained within fragmented MP4 files. This set of fragmented MP4 files is separate from your video and audio fragmented MP4 files.",
@@ -10890,11 +10929,21 @@
1089010929
"locationName": "audioDuration",
1089110930
"documentation": "Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec."
1089210931
},
10932+
"C2paManifest": {
10933+
"shape": "MpdC2paManifest",
10934+
"locationName": "c2paManifest",
10935+
"documentation": "When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html"
10936+
},
1089310937
"CaptionContainerType": {
1089410938
"shape": "MpdCaptionContainerType",
1089510939
"locationName": "captionContainerType",
1089610940
"documentation": "Use this setting only in DASH output groups that include sidecar TTML, IMSC or WEBVTT captions. You specify sidecar captions in a separate output from your audio and video. Choose Raw for captions in a single XML file in a raw container. Choose Fragmented MPEG-4 for captions in XML format contained within fragmented MP4 files. This set of fragmented MP4 files is separate from your video and audio fragmented MP4 files."
1089710941
},
10942+
"CertificateSecret": {
10943+
"shape": "__stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09",
10944+
"locationName": "certificateSecret",
10945+
"documentation": "Specify the name or ARN of the AWS Secrets Manager secret that contains your C2PA public certificate chain in PEM format. Provide a valid secret name or ARN. Note that your MediaConvert service role must allow access to this secret. The public certificate chain is added to the COSE header (x5chain) for signature validation. Include the signer's certificate and all intermediate certificates. Do not include the root certificate. For details on COSE, see: https://opensource.contentauthenticity.org/docs/manifest/signing-manifests"
10946+
},
1089810947
"KlvMetadata": {
1089910948
"shape": "MpdKlvMetadata",
1090010949
"locationName": "klvMetadata",
@@ -10915,6 +10964,11 @@
1091510964
"locationName": "scte35Source",
1091610965
"documentation": "Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want those SCTE-35 markers in this output."
1091710966
},
10967+
"SigningKmsKey": {
10968+
"shape": "__stringMin1PatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932",
10969+
"locationName": "signingKmsKey",
10970+
"documentation": "Specify the ID or ARN of the AWS KMS key used to sign the C2PA manifest in your MP4 output. Provide a valid KMS key ARN. Note that your MediaConvert service role must allow access to this key."
10971+
},
1091810972
"TimedMetadata": {
1091910973
"shape": "MpdTimedMetadata",
1092010974
"locationName": "timedMetadata",
@@ -11964,6 +12018,11 @@
1196412018
"PassthroughSettings": {
1196512019
"type": "structure",
1196612020
"members": {
12021+
"FrameControl": {
12022+
"shape": "FrameControl",
12023+
"locationName": "frameControl",
12024+
"documentation": "Choose how MediaConvert handles start and end times for input clipping with video passthrough. Your input video codec must be H.264 or H.265 to use IFRAME. To clip at the nearest IDR-frame: Choose Nearest IDR. If an IDR-frame is not found at the frame that you specify, MediaConvert uses the next compatible IDR-frame. Note that your output may be shorter than your input clip duration. To clip at the nearest I-frame: Choose Nearest I-frame. If an I-frame is not found at the frame that you specify, MediaConvert uses the next compatible I-frame. Note that your output may be shorter than your input clip duration. We only recommend this setting for special workflows, and when you choose this setting your output may not be compatible with most players."
12025+
},
1196712026
"VideoSelectorMode": {
1196812027
"shape": "VideoSelectorMode",
1196912028
"locationName": "videoSelectorMode",
@@ -15517,6 +15576,11 @@
1551715576
"min": 1,
1551815577
"max": 8
1551915578
},
15579+
"__integerMin1Max86400000": {
15580+
"type": "integer",
15581+
"min": 1,
15582+
"max": 86400000
15583+
},
1552015584
"__integerMin2000Max30000": {
1552115585
"type": "integer",
1552215586
"min": 2000,
@@ -15607,11 +15671,6 @@
1560715671
"min": 4,
1560815672
"max": 12
1560915673
},
15610-
"__integerMin50Max86400000": {
15611-
"type": "integer",
15612-
"min": 50,
15613-
"max": 86400000
15614-
},
1561515674
"__integerMin6000Max1024000": {
1561615675
"type": "integer",
1561715676
"min": 6000,

0 commit comments

Comments
 (0)