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

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

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

Overview

Note:

When passing VideoPreprocessor as input to an Aws::Client method, you can use a vanilla 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,
      max_frame_average_light_level: 1,
      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
  },
  dolby_vision: {
    l6_metadata: {
      max_cll: 1,
      max_fall: 1,
    },
    l6_mode: "PASSTHROUGH", # accepts PASSTHROUGH, RECALCULATE, SPECIFY
    profile: "PROFILE_5", # accepts PROFILE_5
  },
  image_inserter: {
    insertable_images: [
      {
        duration: 1,
        fade_in: 1,
        fade_out: 1,
        height: 1,
        image_inserter_input: "__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA",
        image_x: 1,
        image_y: 1,
        layer: 1,
        opacity: 1,
        start_time: "__stringPattern01D20305D205D",
        width: 1,
      },
    ],
  },
  noise_reducer: {
    filter: "BILATERAL", # accepts BILATERAL, MEAN, GAUSSIAN, LANCZOS, SHARPEN, CONSERVE, SPATIAL, TEMPORAL
    filter_settings: {
      strength: 1,
    },
    spatial_filter_settings: {
      post_filter_sharpen_strength: 1,
      speed: 1,
      strength: 1,
    },
    temporal_filter_settings: {
      aggressive_mode: 1,
      post_temporal_sharpening: "DISABLED", # accepts DISABLED, ENABLED, AUTO
      speed: 1,
      strength: 1,
    },
  },
  partner_watermarking: {
    nexguard_file_marker_settings: {
      license: "__stringMin1Max100000",
      payload: 1,
      preset: "__stringMin1Max256",
      strength: "LIGHTEST", # accepts LIGHTEST, LIGHTER, DEFAULT, STRONGER, STRONGEST
    },
  },
  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.

Returned by:

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.

Returns:

#deinterlacerTypes::Deinterlacer

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

Returns:

  • (Types::Deinterlacer)

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

#dolby_visionTypes::DolbyVision

Enable Dolby Vision feature to produce Dolby Vision compatible video output.

Returns:

  • (Types::DolbyVision)

    Enable Dolby Vision feature to produce Dolby Vision compatible video output.

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

Returns:

  • (Types::ImageInserter)

    Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video.

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

  • (Types::NoiseReducer)

    Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary.

#partner_watermarkingTypes::PartnerWatermarking

If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output.

Returns:

  • (Types::PartnerWatermarking)

    If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output.

#timecode_burninTypes::TimecodeBurnin

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

Returns:

  • (Types::TimecodeBurnin)

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