Class: Aws::MediaConvert::Types::CmafImageBasedTrickPlaySettings

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 CmafImageBasedTrickPlaySettings data as a hash:

{
  interval_cadence: "FOLLOW_IFRAME", # accepts FOLLOW_IFRAME, FOLLOW_CUSTOM
  thumbnail_height: 1,
  thumbnail_interval: 1.0,
  thumbnail_width: 1,
  tile_height: 1,
  tile_width: 1,
}

Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#interval_cadenceString

The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.

Returns:

  • (String)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end

#thumbnail_heightInteger

Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.

Returns:

  • (Integer)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end

#thumbnail_intervalFloat

Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.

Returns:

  • (Float)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end

#thumbnail_widthInteger

Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.

Returns:

  • (Integer)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end

#tile_heightInteger

Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.

Returns:

  • (Integer)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end

#tile_widthInteger

Number of thumbnails in each row of a tile image. Set a value between 1 and 512.

Returns:

  • (Integer)


3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3358

class CmafImageBasedTrickPlaySettings < Struct.new(
  :interval_cadence,
  :thumbnail_height,
  :thumbnail_interval,
  :thumbnail_width,
  :tile_height,
  :tile_width)
  SENSITIVE = []
  include Aws::Structure
end