Skip to content

Commit

Permalink
The AWS Elemental MediaConvert SDK has added support for setting the …
Browse files Browse the repository at this point in the history
…SDR reference white point for HDR conversions and conversion of HDR10 to DolbyVision without mastering metadata.
  • Loading branch information
aws-sdk-dotnet-automation committed Nov 7, 2022
1 parent 9f0419c commit 6a7ce67
Show file tree
Hide file tree
Showing 16 changed files with 457 additions and 289 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,10 @@
"Saturation": {
"shape": "__integerMin1Max100",
"locationName": "saturation"
},
"SdrReferenceWhiteLevel": {
"shape": "__integerMin100Max1000",
"locationName": "sdrReferenceWhiteLevel"
}
}
},
Expand All @@ -2768,7 +2772,9 @@
"REC_601",
"REC_709",
"HDR10",
"HLG_2020"
"HLG_2020",
"P3DCI",
"P3D65_SDR"
]
},
"ColorSpaceConversion": {
Expand All @@ -2778,7 +2784,9 @@
"FORCE_601",
"FORCE_709",
"FORCE_HDR10",
"FORCE_HLG_2020"
"FORCE_HLG_2020",
"FORCE_P3DCI",
"FORCE_P3D65_SDR"
]
},
"ColorSpaceUsage": {
Expand Down Expand Up @@ -4045,7 +4053,7 @@
"locationName": "attenuationControl"
},
"Bitrate": {
"shape": "__integerMin64000Max640000",
"shape": "__integerMin32000Max3024000",
"locationName": "bitrate"
},
"BitstreamMode": {
Expand Down Expand Up @@ -5844,6 +5852,10 @@
"InsertableImages": {
"shape": "__listOfInsertableImage",
"locationName": "insertableImages"
},
"SdrReferenceWhiteLevel": {
"shape": "__integerMin100Max1000",
"locationName": "sdrReferenceWhiteLevel"
}
}
},
Expand Down Expand Up @@ -10707,6 +10719,11 @@
"min": 1000,
"max": 480000000
},
"__integerMin100Max1000": {
"type": "integer",
"min": 100,
"max": 1000
},
"__integerMin10Max48": {
"type": "integer",
"min": 10,
Expand Down Expand Up @@ -10857,6 +10874,11 @@
"min": 32000,
"max": 192000
},
"__integerMin32000Max3024000": {
"type": "integer",
"min": 32000,
"max": 3024000
},
"__integerMin32000Max384000": {
"type": "integer",
"min": 32000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -780,15 +780,15 @@
}
},
"ColorSpace": {
"base": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.",
"base": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow. The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 here and specify correct values in the input HDR 10 metadata settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. Select P3D65 (SDR) to set the input color space metadata to the following:\n * Color primaries: Display P3\n * Transfer characteristics: SMPTE 428M\n * Matrix coefficients: BT.709",
"refs": {
"VideoSelector$ColorSpace": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr."
"VideoSelector$ColorSpace": "If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value Follow. The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10 here and specify correct values in the input HDR 10 metadata settings. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. Select P3D65 (SDR) to set the input color space metadata to the following:\n * Color primaries: Display P3\n * Transfer characteristics: SMPTE 428M\n * Matrix coefficients: BT.709"
}
},
"ColorSpaceConversion": {
"base": "Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR.",
"base": "Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR. Select Force P3D65 (SDR) to set the output color space metadata to the following: * Color primaries: Display P3 * Transfer characteristics: SMPTE 428M * Matrix coefficients: BT.709",
"refs": {
"ColorCorrector$ColorSpaceConversion": "Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR."
"ColorCorrector$ColorSpaceConversion": "Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR. Select Force P3D65 (SDR) to set the output color space metadata to the following: * Color primaries: Display P3 * Transfer characteristics: SMPTE 428M * Matrix coefficients: BT.709"
}
},
"ColorSpaceUsage": {
Expand Down Expand Up @@ -4204,6 +4204,13 @@
"Vp9Settings$MaxBitrate": "Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate."
}
},
"__integerMin100Max1000": {
"base": null,
"refs": {
"ColorCorrector$SdrReferenceWhiteLevel": "Specify the reference white level, in nits, for all of your SDR inputs. Use to correct brightness levels within HDR10 outputs. The following color metadata must be present in your SDR input: color primaries, transfer characteristics, and matrix coefficients. If your SDR input has missing color metadata, or if you want to correct input color metadata, manually specify a color space in the input video selector. For 1,000 nit peak brightness displays, we recommend that you set SDR reference white level to 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, or specify an integer from 100 to 1000.",
"ImageInserter$SdrReferenceWhiteLevel": "Specify the reference white level, in nits, for all of your image inserter images. Use to correct brightness levels within HDR10 outputs. For 1,000 nit peak brightness displays, we recommend that you set SDR reference white level to 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, or specify an integer from 100 to 1000."
}
},
"__integerMin10Max48": {
"base": null,
"refs": {
Expand Down Expand Up @@ -4460,6 +4467,12 @@
"OpusSettings$Bitrate": "Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth."
}
},
"__integerMin32000Max3024000": {
"base": null,
"refs": {
"Eac3Settings$Bitrate": "Specify the average bitrate in bits per second. The bitrate that you specify must be a multiple of 8000 within the allowed minimum and maximum values. Leave blank to use the default bitrate for the coding mode you select according ETSI TS 102 366. Valid bitrates for coding mode 1/0: Default: 96000. Minimum: 32000. Maximum: 3024000. Valid bitrates for coding mode 2/0: Default: 192000. Minimum: 96000. Maximum: 3024000. Valid bitrates for coding mode 3/2: Default: 384000. Minimum: 192000. Maximum: 3024000."
}
},
"__integerMin32000Max384000": {
"base": null,
"refs": {
Expand Down Expand Up @@ -4548,8 +4561,7 @@
"__integerMin64000Max640000": {
"base": null,
"refs": {
"Ac3Settings$Bitrate": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.",
"Eac3Settings$Bitrate": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode."
"Ac3Settings$Bitrate": "Specify the average bitrate in bits per second. The bitrate that you specify must be a multiple of 8000 within the allowed minimum and maximum values. Leave blank to use the default bitrate for the coding mode you select according ETSI TS 102 366. Valid bitrates for coding mode 1/0: Default: 96000. Minimum: 64000. Maximum: 128000. Valid bitrates for coding mode 1/1: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 2/0: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 3/2 with FLE: Default: 384000. Minimum: 384000. Maximum: 640000."
}
},
"__integerMin8000Max192000": {
Expand Down
Loading

0 comments on commit 6a7ce67

Please sign in to comment.