Interface DurationControl.Builder

  • Method Details

    • integerDurationMaximumCompressionDenominator

      DurationControl.Builder integerDurationMaximumCompressionDenominator(Integer integerDurationMaximumCompressionDenominator)
      Required. Denominator of the maximum allowed compression ratio.
      Parameters:
      integerDurationMaximumCompressionDenominator - Required. Denominator of the maximum allowed compression ratio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integerDurationMaximumCompressionNumerator

      DurationControl.Builder integerDurationMaximumCompressionNumerator(Integer 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).
      Parameters:
      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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integerDurationTrimThresholdMilliseconds

      DurationControl.Builder integerDurationTrimThresholdMilliseconds(Integer integerDurationTrimThresholdMilliseconds)
      Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).
      Parameters:
      integerDurationTrimThresholdMilliseconds - Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).
      Returns:
      Returns a reference to this object so that method calls can be chained together.