Class: Google::Apis::TranscoderV1beta1::PreprocessingConfig
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::PreprocessingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb
Overview
Preprocessing configurations.
Instance Attribute Summary collapse
-
#audio ⇒ Google::Apis::TranscoderV1beta1::Audio
Audio preprocessing configuration.
-
#color ⇒ Google::Apis::TranscoderV1beta1::Color
Color preprocessing configuration.
-
#crop ⇒ Google::Apis::TranscoderV1beta1::Crop
Video cropping configuration for the input video.
-
#deblock ⇒ Google::Apis::TranscoderV1beta1::Deblock
Deblock preprocessing configuration.
-
#denoise ⇒ Google::Apis::TranscoderV1beta1::Denoise
Denoise preprocessing configuration.
-
#pad ⇒ Google::Apis::TranscoderV1beta1::Pad
Pad filter configuration for the input video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PreprocessingConfig
constructor
A new instance of PreprocessingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PreprocessingConfig
Returns a new instance of PreprocessingConfig.
1270 1271 1272 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::TranscoderV1beta1::Audio
Audio preprocessing configuration.
Corresponds to the JSON property audio
1241 1242 1243 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1241 def audio @audio end |
#color ⇒ Google::Apis::TranscoderV1beta1::Color
Color preprocessing configuration.
Corresponds to the JSON property color
1246 1247 1248 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1246 def color @color end |
#crop ⇒ Google::Apis::TranscoderV1beta1::Crop
Video cropping configuration for the input video. The cropped input video is
scaled to match the output resolution.
Corresponds to the JSON property crop
1252 1253 1254 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1252 def crop @crop end |
#deblock ⇒ Google::Apis::TranscoderV1beta1::Deblock
Deblock preprocessing configuration.
Corresponds to the JSON property deblock
1257 1258 1259 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1257 def deblock @deblock end |
#denoise ⇒ Google::Apis::TranscoderV1beta1::Denoise
Denoise preprocessing configuration.
Corresponds to the JSON property denoise
1262 1263 1264 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1262 def denoise @denoise end |
#pad ⇒ Google::Apis::TranscoderV1beta1::Pad
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
1268 1269 1270 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1268 def pad @pad end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1275 1276 1277 1278 1279 1280 1281 1282 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1275 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 |