Class: Aws::MediaConvert::Types::DurationControl

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#integer_duration_maximum_compression_denominatorInteger

Required. Denominator of the maximum allowed compression ratio.

Returns:

  • (Integer)


4781
4782
4783
4784
4785
4786
4787
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4781

class DurationControl < Struct.new(
  :integer_duration_maximum_compression_denominator,
  :integer_duration_maximum_compression_numerator,
  :integer_duration_trim_threshold_milliseconds)
  SENSITIVE = []
  include Aws::Structure
end

#integer_duration_maximum_compression_numeratorInteger

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

Returns:

  • (Integer)


4781
4782
4783
4784
4785
4786
4787
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4781

class DurationControl < Struct.new(
  :integer_duration_maximum_compression_denominator,
  :integer_duration_maximum_compression_numerator,
  :integer_duration_trim_threshold_milliseconds)
  SENSITIVE = []
  include Aws::Structure
end

#integer_duration_trim_threshold_millisecondsInteger

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

Returns:

  • (Integer)


4781
4782
4783
4784
4785
4786
4787
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4781

class DurationControl < Struct.new(
  :integer_duration_maximum_compression_denominator,
  :integer_duration_maximum_compression_numerator,
  :integer_duration_trim_threshold_milliseconds)
  SENSITIVE = []
  include Aws::Structure
end