Class: Aws::MediaConvert::Types::VideoOverlayPosition

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

Overview

position of video overlay

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#heightInteger

To scale your video overlay to the same height as the base input video: Leave blank. To scale the height of your video overlay to a different height: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 360 and choose Pixels, your video overlay will be rendered with a height of 360. When you enter 50, choose Percentage, and your overlay’s source has a height of 1080, your video overlay will be rendered with a height of 540. To scale your overlay to a specific height while automatically maintaining its original aspect ratio, enter a value for Height and leave Width blank.

Returns:

  • (Integer)


13401
13402
13403
13404
13405
13406
13407
13408
13409
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13401

class VideoOverlayPosition < Struct.new(
  :height,
  :unit,
  :width,
  :x_position,
  :y_position)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Specify the Unit type to use when you enter a value for X position, Y position, Width, or Height. You can choose Pixels or Percentage. Leave blank to use the default value, Pixels.

Returns:

  • (String)


13401
13402
13403
13404
13405
13406
13407
13408
13409
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13401

class VideoOverlayPosition < Struct.new(
  :height,
  :unit,
  :width,
  :x_position,
  :y_position)
  SENSITIVE = []
  include Aws::Structure
end

#widthInteger

To scale your video overlay to the same width as the base input video: Leave blank. To scale the width of your video overlay to a different width: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 640 and choose Pixels, your video overlay will scale to a height of 640 pixels. When you enter 50, choose Percentage, and your overlay’s source has a width of 1920, your video overlay will scale to a width of 960. To scale your overlay to a specific width while automatically maintaining its original aspect ratio, enter a value for Width and leave Height blank.

Returns:

  • (Integer)


13401
13402
13403
13404
13405
13406
13407
13408
13409
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13401

class VideoOverlayPosition < Struct.new(
  :height,
  :unit,
  :width,
  :x_position,
  :y_position)
  SENSITIVE = []
  include Aws::Structure
end

#x_positionInteger

To position the left edge of your video overlay along the left edge of the base input video’s frame: Keep blank, or enter 0. To position the left edge of your video overlay to the right, relative to the left edge of the base input video’s frame: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 10 and choose Pixels, your video overlay will be positioned 10 pixels from the left edge of the base input video’s frame. When you enter 10, choose Percentage, and your base input video is 1920x1080, your video overlay will be positioned 192 pixels from the left edge of the base input video’s frame.

Returns:

  • (Integer)


13401
13402
13403
13404
13405
13406
13407
13408
13409
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13401

class VideoOverlayPosition < Struct.new(
  :height,
  :unit,
  :width,
  :x_position,
  :y_position)
  SENSITIVE = []
  include Aws::Structure
end

#y_positionInteger

To position the top edge of your video overlay along the top edge of the base input video’s frame: Keep blank, or enter 0. To position the top edge of your video overlay down, relative to the top edge of the base input video’s frame: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 10 and choose Pixels, your video overlay will be positioned 10 pixels from the top edge of the base input video’s frame. When you enter 10, choose Percentage, and your underlying video is 1920x1080, your video overlay will be positioned 108 pixels from the top edge of the base input video’s frame.

Returns:

  • (Integer)


13401
13402
13403
13404
13405
13406
13407
13408
13409
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13401

class VideoOverlayPosition < Struct.new(
  :height,
  :unit,
  :width,
  :x_position,
  :y_position)
  SENSITIVE = []
  include Aws::Structure
end