Class: Google::Cloud::Video::LiveStream::V1::PreprocessingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/outputs.rb

Overview

Preprocessing configurations.

Defined Under Namespace

Classes: Audio, Crop, Pad

Instance Attribute Summary collapse

Instance Attribute Details

#audio::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig::Audio

Returns Audio preprocessing configuration.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 324

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 according to the following:
  #
  #     - -24 is the Advanced Television Systems Committee (ATSC A/85)
  #     - -23 is the EU R128 broadcast standard
  #     - -19 is the prior standard for online mono audio
  #     - -18 is the ReplayGain standard
  #     - -16 is the prior standard for stereo audio
  #     - -14 is the new online audio standard recommended by Spotify, as well as
  #     Amazon Echo
  #     - 0 disables normalization. The default is 0.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#crop::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig::Crop

Returns Specify the video cropping configuration.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 324

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 according to the following:
  #
  #     - -24 is the Advanced Television Systems Committee (ATSC A/85)
  #     - -23 is the EU R128 broadcast standard
  #     - -19 is the prior standard for online mono audio
  #     - -18 is the ReplayGain standard
  #     - -16 is the prior standard for stereo audio
  #     - -14 is the new online audio standard recommended by Spotify, as well as
  #     Amazon Echo
  #     - 0 disables normalization. The default is 0.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#pad::Google::Cloud::Video::LiveStream::V1::PreprocessingConfig::Pad

Returns Specify the video pad filter configuration.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 324

class PreprocessingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Audio preprocessing configuration.
  # @!attribute [rw] lufs
  #   @return [::Float]
  #     Specify audio loudness normalization in loudness units relative to full
  #     scale (LUFS). Enter a value between -24 and 0 according to the following:
  #
  #     - -24 is the Advanced Television Systems Committee (ATSC A/85)
  #     - -23 is the EU R128 broadcast standard
  #     - -19 is the prior standard for online mono audio
  #     - -18 is the ReplayGain standard
  #     - -16 is the prior standard for stereo audio
  #     - -14 is the new online audio standard recommended by Spotify, as well as
  #     Amazon Echo
  #     - 0 disables normalization. The default is 0.
  class Audio
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Video cropping configuration for the input video. The cropped input video
  # is scaled to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to crop from the right. The default is 0.
  class Crop
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Pad filter configuration for the input video. The padded input video
  # is scaled after padding with black to match the output resolution.
  # @!attribute [rw] top_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the top. The default is 0.
  # @!attribute [rw] bottom_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the bottom. The default is 0.
  # @!attribute [rw] left_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the left. The default is 0.
  # @!attribute [rw] right_pixels
  #   @return [::Integer]
  #     The number of pixels to add to the right. The default is 0.
  class Pad
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end