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

Class: Aws::MediaConvert::Types::VideoPreprocessor

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

{
  color_corrector: {
    brightness: 1,
    color_space_conversion: "NONE", # accepts NONE, FORCE_601, FORCE_709, FORCE_HDR10, FORCE_HLG_2020
    contrast: 1,
    hdr_10_metadata: {
      blue_primary_x: 1,
      blue_primary_y: 1,
      green_primary_x: 1,
      green_primary_y: 1,
      max_content_light_level: 1, # required
      max_frame_average_light_level: 1, # required
      max_luminance: 1,
      min_luminance: 1,
      red_primary_x: 1,
      red_primary_y: 1,
      white_point_x: 1,
      white_point_y: 1,
    },
    hue: 1,
    saturation: 1,
  },
  deinterlacer: {
    algorithm: "INTERPOLATE", # accepts INTERPOLATE, INTERPOLATE_TICKER, BLEND, BLEND_TICKER
    control: "FORCE_ALL_FRAMES", # accepts FORCE_ALL_FRAMES, NORMAL
    mode: "DEINTERLACE", # accepts DEINTERLACE, INVERSE_TELECINE, ADAPTIVE
  },
  image_inserter: {
    insertable_images: [ # required
      {
        duration: 1,
        fade_in: 1,
        fade_out: 1,
        height: 1,
        image_inserter_input: "__stringMin14PatternS3BmpBMPPngPNGTgaTGA", # required
        image_x: 1, # required
        image_y: 1, # required
        layer: 1, # required
        opacity: 1, # required
        start_time: "__stringPattern01D20305D205D",
        width: 1,
      },
    ],
  },
  noise_reducer: {
    filter: "BILATERAL", # required, accepts BILATERAL, MEAN, GAUSSIAN, LANCZOS, SHARPEN, CONSERVE, SPATIAL
    filter_settings: {
      strength: 1,
    },
    spatial_filter_settings: {
      post_filter_sharpen_strength: 1,
      speed: 1,
      strength: 1,
    },
  },
  timecode_burnin: {
    font_size: 1,
    position: "TOP_CENTER", # accepts TOP_CENTER, TOP_LEFT, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT
    prefix: "__stringPattern",
  },
}

Find additional transcoding features under Preprocessors (VideoPreprocessors). Enable the features at each output individually. These features are disabled by default.

Instance Attribute Summary collapse

Instance Attribute Details

#color_correctorTypes::ColorCorrector

Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.



14431
14432
14433
14434
14435
14436
14437
14438
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14431

class VideoPreprocessor < Struct.new(
  :color_corrector,
  :deinterlacer,
  :image_inserter,
  :noise_reducer,
  :timecode_burnin)
  include Aws::Structure
end

#deinterlacerTypes::Deinterlacer

Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture.

Returns:



14431
14432
14433
14434
14435
14436
14437
14438
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14431

class VideoPreprocessor < Struct.new(
  :color_corrector,
  :deinterlacer,
  :image_inserter,
  :noise_reducer,
  :timecode_burnin)
  include Aws::Structure
end

#image_inserterTypes::ImageInserter

Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default.



14431
14432
14433
14434
14435
14436
14437
14438
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14431

class VideoPreprocessor < Struct.new(
  :color_corrector,
  :deinterlacer,
  :image_inserter,
  :noise_reducer,
  :timecode_burnin)
  include Aws::Structure
end

#noise_reducerTypes::NoiseReducer

Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.

Returns:



14431
14432
14433
14434
14435
14436
14437
14438
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14431

class VideoPreprocessor < Struct.new(
  :color_corrector,
  :deinterlacer,
  :image_inserter,
  :noise_reducer,
  :timecode_burnin)
  include Aws::Structure
end

#timecode_burninTypes::TimecodeBurnin

Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output.



14431
14432
14433
14434
14435
14436
14437
14438
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14431

class VideoPreprocessor < Struct.new(
  :color_corrector,
  :deinterlacer,
  :image_inserter,
  :noise_reducer,
  :timecode_burnin)
  include Aws::Structure
end