You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaConvert::Types::CaptionSourceFramerate

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CaptionSourceFramerate as input to an Aws::Client method, you can use a vanilla Hash:

{
  framerate_denominator: 1,
  framerate_numerator: 1,
}

Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#framerate_denominatorInteger

Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate). Use this setting along with the setting Framerate numerator (framerateNumerator).

Returns:

  • (Integer)

    Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate).

#framerate_numeratorInteger

Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate). Use this setting along with the setting Framerate denominator (framerateDenominator).

Returns:

  • (Integer)

    Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate).