AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-07-04 · Documentation low

File: cli/latest/reference/mediaconvert/update-preset.md

Summary

Added documentation for ExplicitWeightedPrediction setting and DurationControl structure with compression/trim parameters for H.264 encoding

Security assessment

Changes introduce video encoding optimization features (weighted prediction and duration normalization) without any security context, vulnerabilities, or security controls mentioned.

Diff

diff --git a/cli/latest/reference/mediaconvert/update-preset.md b/cli/latest/reference/mediaconvert/update-preset.md
index cdfc77baa..6d95efa96 100644
--- a//cli/latest/reference/mediaconvert/update-preset.md
+++ b//cli/latest/reference/mediaconvert/update-preset.md
@@ -15 +15 @@
-  * [AWS CLI 2.35.13 Command Reference](../../index.html) »
+  * [AWS CLI 2.35.15 Command Reference](../../index.html) »
@@ -4857,0 +4858,11 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mediac
+>>>> 
+>>>> ExplicitWeightedPrediction -> (string)
+>>>>
+>>>>> Enable or disable explicit weighted prediction for the H.264 encoder. Weighted prediction improves compression efficiency for content with fading or brightness changes between frames.
+>>>>> 
+>>>>> Possible values:
+>>>>> 
+>>>>>   * `DISABLED`
+>>>>>   * `ENABLED`
+>>>>> 
+
@@ -8069,0 +8081,37 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mediac
+>>> 
+>>> DurationControl -> (structure)
+>>>
+>>>> Enable integer-second duration normalization. When enabled, the output duration is adjusted to land on an exact integer-second boundary. The adjustment method (trim, compress, or pad) is chosen automatically based on how far the input duration is from the nearest integer second.
+>>>> 
+>>>> IntegerDurationMaximumCompressionDenominator -> (integer)
+>>>>
+>>>>> Required. Denominator of the maximum allowed compression ratio.
+>>>>> 
+>>>>> Constraints:
+>>>>> 
+>>>>>   * min: `1`
+>>>>>   * max: `2147483647`
+>>>>> 
+
+>>>> 
+>>>> IntegerDurationMaximumCompressionNumerator -> (integer)
+>>>>
+>>>>> Required. Numerator of the maximum allowed compression ratio, defined as overrun divided by target duration. For example, numerator 5 with denominator 100 means max 5% compression. Set to 0 to disable compression entirely (only trim or pad will be used).
+>>>>> 
+>>>>> Constraints:
+>>>>> 
+>>>>>   * min: `0`
+>>>>>   * max: `2147483647`
+>>>>> 
+
+>>>> 
+>>>> IntegerDurationTrimThresholdMilliseconds -> (integer)
+>>>>
+>>>>> Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).
+>>>>> 
+>>>>> Constraints:
+>>>>> 
+>>>>>   * min: `0`
+>>>>>   * max: `500`
+>>>>> 
+
@@ -8966,0 +9015 @@ JSON Syntax:
+            "ExplicitWeightedPrediction": "DISABLED"|"ENABLED",
@@ -9290,0 +9340,5 @@ JSON Syntax:
+          "DurationControl": {
+            "IntegerDurationMaximumCompressionDenominator": integer,
+            "IntegerDurationMaximumCompressionNumerator": integer,
+            "IntegerDurationTrimThresholdMilliseconds": integer
+          },
@@ -14290,0 +14345,11 @@ Preset -> (structure)
+>>>>> 
+>>>>> ExplicitWeightedPrediction -> (string)
+>>>>>
+>>>>>> Enable or disable explicit weighted prediction for the H.264 encoder. Weighted prediction improves compression efficiency for content with fading or brightness changes between frames.
+>>>>>> 
+>>>>>> Possible values:
+>>>>>> 
+>>>>>>   * `DISABLED`
+>>>>>>   * `ENABLED`
+>>>>>> 
+
@@ -17502,0 +17568,37 @@ Preset -> (structure)
+>>>> 
+>>>> DurationControl -> (structure)
+>>>>
+>>>>> Enable integer-second duration normalization. When enabled, the output duration is adjusted to land on an exact integer-second boundary. The adjustment method (trim, compress, or pad) is chosen automatically based on how far the input duration is from the nearest integer second.
+>>>>> 
+>>>>> IntegerDurationMaximumCompressionDenominator -> (integer)
+>>>>>
+>>>>>> Required. Denominator of the maximum allowed compression ratio.
+>>>>>> 
+>>>>>> Constraints:
+>>>>>> 
+>>>>>>   * min: `1`
+>>>>>>   * max: `2147483647`
+>>>>>> 
+
+>>>>> 
+>>>>> IntegerDurationMaximumCompressionNumerator -> (integer)
+>>>>>
+>>>>>> Required. Numerator of the maximum allowed compression ratio, defined as overrun divided by target duration. For example, numerator 5 with denominator 100 means max 5% compression. Set to 0 to disable compression entirely (only trim or pad will be used).
+>>>>>> 
+>>>>>> Constraints:
+>>>>>> 
+>>>>>>   * min: `0`
+>>>>>>   * max: `2147483647`
+>>>>>> 
+
+>>>>> 
+>>>>> IntegerDurationTrimThresholdMilliseconds -> (integer)
+>>>>>
+>>>>>> Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).
+>>>>>> 
+>>>>>> Constraints:
+>>>>>> 
+>>>>>>   * min: `0`
+>>>>>>   * max: `500`
+>>>>>> 
+
@@ -17937 +18039 @@ Preset -> (structure)
-  * [AWS CLI 2.35.13 Command Reference](../../index.html) »
+  * [AWS CLI 2.35.15 Command Reference](../../index.html) »