Interface InputVideoGenerator.Builder

  • Method Details

    • channels

      Specify the number of audio channels to include in your video generator input. MediaConvert creates these audio channels as silent audio within a single audio track. Enter an integer from 1 to 32.
      Parameters:
      channels - Specify the number of audio channels to include in your video generator input. MediaConvert creates these audio channels as silent audio within a single audio track. Enter an integer from 1 to 32.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Specify the duration, in milliseconds, for your video generator input. Enter an integer from 50 to 86400000.
      Parameters:
      duration - Specify the duration, in milliseconds, for your video generator input. Enter an integer from 50 to 86400000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framerateDenominator

      InputVideoGenerator.Builder framerateDenominator(Integer framerateDenominator)
      Specify the denominator of the fraction that represents the frame rate for your video generator input. When you do, you must also specify a value for Frame rate numerator. MediaConvert uses a default frame rate of 29.97 when you leave Frame rate numerator and Frame rate denominator blank.
      Parameters:
      framerateDenominator - Specify the denominator of the fraction that represents the frame rate for your video generator input. When you do, you must also specify a value for Frame rate numerator. MediaConvert uses a default frame rate of 29.97 when you leave Frame rate numerator and Frame rate denominator blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framerateNumerator

      InputVideoGenerator.Builder framerateNumerator(Integer framerateNumerator)
      Specify the numerator of the fraction that represents the frame rate for your video generator input. When you do, you must also specify a value for Frame rate denominator. MediaConvert uses a default frame rate of 29.97 when you leave Frame rate numerator and Frame rate denominator blank.
      Parameters:
      framerateNumerator - Specify the numerator of the fraction that represents the frame rate for your video generator input. When you do, you must also specify a value for Frame rate denominator. MediaConvert uses a default frame rate of 29.97 when you leave Frame rate numerator and Frame rate denominator blank.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleRate

      InputVideoGenerator.Builder sampleRate(Integer sampleRate)
      Specify the audio sample rate, in Hz, for the silent audio in your video generator input. Enter an integer from 32000 to 48000.
      Parameters:
      sampleRate - Specify the audio sample rate, in Hz, for the silent audio in your video generator input. Enter an integer from 32000 to 48000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.