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.
    • height

      Specify the height, in pixels, for your video generator input. This is useful for positioning when you include one or more video overlays for this input. To use the default resolution 540x360: Leave both width and height blank. To specify a height: Enter an even integer from 32 to 8192. When you do, you must also specify a value for width.
      Parameters:
      height - Specify the height, in pixels, for your video generator input. This is useful for positioning when you include one or more video overlays for this input. To use the default resolution 540x360: Leave both width and height blank. To specify a height: Enter an even integer from 32 to 8192. When you do, you must also specify a value for width.
      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.
    • width

      Specify the width, in pixels, for your video generator input. This is useful for positioning when you include one or more video overlays for this input. To use the default resolution 540x360: Leave both width and height blank. To specify a width: Enter an even integer from 32 to 8192. When you do, you must also specify a value for height.
      Parameters:
      width - Specify the width, in pixels, for your video generator input. This is useful for positioning when you include one or more video overlays for this input. To use the default resolution 540x360: Leave both width and height blank. To specify a width: Enter an even integer from 32 to 8192. When you do, you must also specify a value for height.
      Returns:
      Returns a reference to this object so that method calls can be chained together.