Class PreprocessingConfig (0.4.1)

PreprocessingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Preprocessing configurations. .. attribute:: color

Color preprocessing configuration.

:type: google.cloud.video.transcoder_v1.types.PreprocessingConfig.Color

Attributes

NameDescription
denoise google.cloud.video.transcoder_v1.types.PreprocessingConfig.Denoise
Denoise preprocessing configuration.
deblock google.cloud.video.transcoder_v1.types.PreprocessingConfig.Deblock
Deblock preprocessing configuration.
audio google.cloud.video.transcoder_v1.types.PreprocessingConfig.Audio
Audio preprocessing configuration.
crop google.cloud.video.transcoder_v1.types.PreprocessingConfig.Crop
Specify the video cropping configuration.
pad google.cloud.video.transcoder_v1.types.PreprocessingConfig.Pad
Specify the video pad filter configuration.

Classes

Audio

Audio(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Audio preprocessing configuration. .. attribute:: lufs

Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where:

  • -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  • -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

    :type: float

Color

Color(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Color preprocessing configuration. .. attribute:: saturation

Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.

:type: float

Crop

Crop(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.

Deblock

Deblock(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Deblock preprocessing configuration. .. attribute:: strength

Set strength of the deblocker. Enter a value between 0 and 1. The higher the value, the stronger the block removal. 0 is no deblocking. The default is 0.

:type: float

Denoise

Denoise(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Denoise preprocessing configuration. .. attribute:: strength

Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.

:type: float

Pad

Pad(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.