Skip to content

/AWS1/CL_MDCDURATIONCONTROL

Settings for integer-second duration normalization. When this preprocessor is present, the output duration will be adjusted to an exact integer-second boundary. If the input is within the trim threshold of an integer second, trailing frames are dropped. If within the compression threshold and less than 500ms over the previous integer second, the output is sped up slightly. Otherwise, black frames are padded to the next integer second.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_intdurmaxcomprssndenomi00 TYPE /AWS1/MDC__INTEGERMIN1MAX21400 /AWS1/MDC__INTEGERMIN1MAX21400

Required. Denominator of the maximum allowed compression ratio.

iv_intdurmaxcomprssnnumera00 TYPE /AWS1/MDC__INTEGERMIN0MAX21400 /AWS1/MDC__INTEGERMIN0MAX21400

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).

iv_intdurtrimthreshmillisecs TYPE /AWS1/MDC__INTEGERMIN0MAX500 /AWS1/MDC__INTEGERMIN0MAX500

Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).


Queryable Attributes

IntegerDurationMaximumCompressionDenominator

Required. Denominator of the maximum allowed compression ratio.

Accessible with the following methods

Method Description
GT_INTDURMAXCOMPRSSNDENOMI00() Getter for INTDURMAXCOMPRSSNDENOMINATOR, with configurable d
ASK_INTDURMAXCOMPRSSNDENOM00() Getter for INTDURMAXCOMPRSSNDENOMINATOR w/ exceptions if fie
HAS_INTDURMAXCOMPRSSNDENOM00() Determine if INTDURMAXCOMPRSSNDENOMINATOR has a value

IntegerDurationMaximumCompressionNumerator

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).

Accessible with the following methods

Method Description
GT_INTDURMAXCOMPRSSNNUMERA00() Getter for INTDURMAXCOMPRSSNNUMERATOR, with configurable def
ASK_INTDURMAXCOMPRSSNNUMER00() Getter for INTDURMAXCOMPRSSNNUMERATOR w/ exceptions if field
HAS_INTDURMAXCOMPRSSNNUMER00() Determine if INTDURMAXCOMPRSSNNUMERATOR has a value

IntegerDurationTrimThresholdMilliseconds

Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).

Accessible with the following methods

Method Description
GET_INTDURTRIMTHRESHMILSECS() Getter for INTDURTRIMTHRESHMILLISECONDS, with configurable d
ASK_INTDURTRIMTHRESHMILSECS() Getter for INTDURTRIMTHRESHMILLISECONDS w/ exceptions if fie
HAS_INTDURTRIMTHRESHMILSECS() Determine if INTDURTRIMTHRESHMILLISECONDS has a value