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:



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 205

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:



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 205

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:



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 205

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