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

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

Overview

Note:

When making an API call, you may pass CaptionSourceFramerate data as a 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. When you work directly in your JSON job specification, use the settings framerateNumerator and 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.

Constant Summary collapse

SENSITIVE =
[]

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)


2728
2729
2730
2731
2732
2733
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2728

class CaptionSourceFramerate < Struct.new(
  :framerate_denominator,
  :framerate_numerator)
  SENSITIVE = []
  include Aws::Structure
end

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


2728
2729
2730
2731
2732
2733
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 2728

class CaptionSourceFramerate < Struct.new(
  :framerate_denominator,
  :framerate_numerator)
  SENSITIVE = []
  include Aws::Structure
end