Interface VideoStream.Vp9CodecSettingsOrBuilder (1.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.79.0 (latest)
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
publicstaticinterface VideoStream.Vp9CodecSettingsOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getBitrateBps()
publicabstractintgetBitrateBps()Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 480,000,000.
int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The bitrateBps. |
getColorFormatCase()
publicabstractVideoStream.Vp9CodecSettings.ColorFormatCasegetColorFormatCase()| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9CodecSettings.ColorFormatCase |
|
getCrfLevel()
publicabstractintgetCrfLevel()Target CRF level. Must be between 10 and 36, where 10 is the highest quality and 36 is the most efficient compression. The default is 21.
Note: This field is not supported.
int32 crf_level = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The crfLevel. |
getFrameRate()
publicabstractdoublegetFrameRate()Required. The target video frame rate in frames per second (FPS). Must be less than or equal to 120.
double frame_rate = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
double |
The frameRate. |
getFrameRateConversionStrategy()
publicabstractVideoStream.FrameRateConversionStrategygetFrameRateConversionStrategy() Optional. Frame rate conversion strategy for desired frame rate. The
default is DOWNSAMPLE.
.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategy frame_rate_conversion_strategy = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.FrameRateConversionStrategy |
The frameRateConversionStrategy. |
getFrameRateConversionStrategyValue()
publicabstractintgetFrameRateConversionStrategyValue() Optional. Frame rate conversion strategy for desired frame rate. The
default is DOWNSAMPLE.
.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategy frame_rate_conversion_strategy = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for frameRateConversionStrategy. |
getGopDuration()
publicabstractDurationgetGopDuration() Select the GOP size based on the specified duration. The default is
3s. Note that gopDuration must be less than or equal to
segmentDuration, and
segmentDuration must be divisible by
gopDuration.
.google.protobuf.Duration gop_duration = 9;
| Returns | |
|---|---|
| Type | Description |
Duration |
The gopDuration. |
getGopDurationOrBuilder()
publicabstractDurationOrBuildergetGopDurationOrBuilder() Select the GOP size based on the specified duration. The default is
3s. Note that gopDuration must be less than or equal to
segmentDuration, and
segmentDuration must be divisible by
gopDuration.
.google.protobuf.Duration gop_duration = 9;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getGopFrameCount()
publicabstractintgetGopFrameCount()Select the GOP size based on the specified frame count. Must be greater than zero.
int32 gop_frame_count = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The gopFrameCount. |
getGopModeCase()
publicabstractVideoStream.Vp9CodecSettings.GopModeCasegetGopModeCase()| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9CodecSettings.GopModeCase |
|
getHeightPixels()
publicabstractintgetHeightPixels()The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used.
For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
int32 height_pixels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The heightPixels. |
getHlg()
publicabstractVideoStream.Vp9ColorFormatHLGgetHlg()Optional. HLG color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLG hlg = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9ColorFormatHLG |
The hlg. |
getHlgOrBuilder()
publicabstractVideoStream.Vp9ColorFormatHLGOrBuildergetHlgOrBuilder()Optional. HLG color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLG hlg = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9ColorFormatHLGOrBuilder |
|
getPixelFormat()
publicabstractStringgetPixelFormat() Pixel format to use. The default is yuv420p.
Supported pixel formats:
yuv420ppixel formatyuv422ppixel formatyuv444ppixel formatyuv420p1010-bit HDR pixel formatyuv422p1010-bit HDR pixel formatyuv444p1010-bit HDR pixel formatyuv420p1212-bit HDR pixel formatyuv422p1212-bit HDR pixel formatyuv444p1212-bit HDR pixel format
string pixel_format = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The pixelFormat. |
getPixelFormatBytes()
publicabstractByteStringgetPixelFormatBytes() Pixel format to use. The default is yuv420p.
Supported pixel formats:
yuv420ppixel formatyuv422ppixel formatyuv444ppixel formatyuv420p1010-bit HDR pixel formatyuv422p1010-bit HDR pixel formatyuv444p1010-bit HDR pixel formatyuv420p1212-bit HDR pixel formatyuv422p1212-bit HDR pixel formatyuv444p1212-bit HDR pixel format
string pixel_format = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pixelFormat. |
getProfile()
publicabstractStringgetProfile()Enforces the specified codec profile. The following profiles are supported:
profile0(default)profile1profile2profile3The available options are WebM-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the
Vp9CodecSettingsmessage.
string profile = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The profile. |
getProfileBytes()
publicabstractByteStringgetProfileBytes()Enforces the specified codec profile. The following profiles are supported:
profile0(default)profile1profile2profile3The available options are WebM-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the
Vp9CodecSettingsmessage.
string profile = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for profile. |
getRateControlMode()
publicabstractStringgetRateControlMode() Specify the mode. The default is vbr.
Supported rate control modes:
vbr- variable bitrate
string rate_control_mode = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The rateControlMode. |
getRateControlModeBytes()
publicabstractByteStringgetRateControlModeBytes() Specify the mode. The default is vbr.
Supported rate control modes:
vbr- variable bitrate
string rate_control_mode = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rateControlMode. |
getSdr()
publicabstractVideoStream.Vp9ColorFormatSDRgetSdr()Optional. SDR color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDR sdr = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9ColorFormatSDR |
The sdr. |
getSdrOrBuilder()
publicabstractVideoStream.Vp9ColorFormatSDROrBuildergetSdrOrBuilder()Optional. SDR color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDR sdr = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.Vp9ColorFormatSDROrBuilder |
|
getWidthPixels()
publicabstractintgetWidthPixels()The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used.
For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
int32 width_pixels = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The widthPixels. |
hasGopDuration()
publicabstractbooleanhasGopDuration() Select the GOP size based on the specified duration. The default is
3s. Note that gopDuration must be less than or equal to
segmentDuration, and
segmentDuration must be divisible by
gopDuration.
.google.protobuf.Duration gop_duration = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gopDuration field is set. |
hasGopFrameCount()
publicabstractbooleanhasGopFrameCount()Select the GOP size based on the specified frame count. Must be greater than zero.
int32 gop_frame_count = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gopFrameCount field is set. |
hasHlg()
publicabstractbooleanhasHlg()Optional. HLG color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatHLG hlg = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hlg field is set. |
hasSdr()
publicabstractbooleanhasSdr()Optional. SDR color format setting for VP9.
.google.cloud.video.transcoder.v1.VideoStream.Vp9ColorFormatSDR sdr = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sdr field is set. |