class Google::Apis::TranscoderV1::PreprocessingConfig

Preprocessing configurations.

Attributes

audio[RW]

Audio preprocessing configuration. Corresponds to the JSON property ‘audio` @return [Google::Apis::TranscoderV1::Audio]

color[RW]

Color preprocessing configuration. Note: This configuration is not supported. Corresponds to the JSON property ‘color` @return [Google::Apis::TranscoderV1::Color]

crop[RW]

Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution. Corresponds to the JSON property ‘crop` @return [Google::Apis::TranscoderV1::Crop]

deblock[RW]

Deblock preprocessing configuration. Note: This configuration is not supported. Corresponds to the JSON property ‘deblock` @return [Google::Apis::TranscoderV1::Deblock]

denoise[RW]

Denoise preprocessing configuration. Note: This configuration is not supported. Corresponds to the JSON property ‘denoise` @return [Google::Apis::TranscoderV1::Denoise]

pad[RW]

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution. Corresponds to the JSON property ‘pad` @return [Google::Apis::TranscoderV1::Pad]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1447
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 1452
def update!(**args)
  @audio = args[:audio] if args.key?(:audio)
  @color = args[:color] if args.key?(:color)
  @crop = args[:crop] if args.key?(:crop)
  @deblock = args[:deblock] if args.key?(:deblock)
  @denoise = args[:denoise] if args.key?(:denoise)
  @pad = args[:pad] if args.key?(:pad)
end