Class VideoStream.H265CodecSettings (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
publicstaticfinalclass VideoStream.H265CodecSettingsextendsGeneratedMessageV3implementsVideoStream.H265CodecSettingsOrBuilderH265 codec settings.
Protobuf type google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VideoStream.H265CodecSettingsImplements
VideoStream.H265CodecSettingsOrBuilderInherited Members
Static Fields
ALLOW_OPEN_GOP_FIELD_NUMBER
publicstaticfinalintALLOW_OPEN_GOP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AQ_STRENGTH_FIELD_NUMBER
publicstaticfinalintAQ_STRENGTH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BITRATE_BPS_FIELD_NUMBER
publicstaticfinalintBITRATE_BPS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
B_FRAME_COUNT_FIELD_NUMBER
publicstaticfinalintB_FRAME_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
B_PYRAMID_FIELD_NUMBER
publicstaticfinalintB_PYRAMID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CRF_LEVEL_FIELD_NUMBER
publicstaticfinalintCRF_LEVEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ENABLE_TWO_PASS_FIELD_NUMBER
publicstaticfinalintENABLE_TWO_PASS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FRAME_RATE_CONVERSION_STRATEGY_FIELD_NUMBER
publicstaticfinalintFRAME_RATE_CONVERSION_STRATEGY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FRAME_RATE_FIELD_NUMBER
publicstaticfinalintFRAME_RATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GOP_DURATION_FIELD_NUMBER
publicstaticfinalintGOP_DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GOP_FRAME_COUNT_FIELD_NUMBER
publicstaticfinalintGOP_FRAME_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HDR10_FIELD_NUMBER
publicstaticfinalintHDR10_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HEIGHT_PIXELS_FIELD_NUMBER
publicstaticfinalintHEIGHT_PIXELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HLG_FIELD_NUMBER
publicstaticfinalintHLG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PIXEL_FORMAT_FIELD_NUMBER
publicstaticfinalintPIXEL_FORMAT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRESET_FIELD_NUMBER
publicstaticfinalintPRESET_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROFILE_FIELD_NUMBER
publicstaticfinalintPROFILE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RATE_CONTROL_MODE_FIELD_NUMBER
publicstaticfinalintRATE_CONTROL_MODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SDR_FIELD_NUMBER
publicstaticfinalintSDR_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TUNE_FIELD_NUMBER
publicstaticfinalintTUNE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VBV_FULLNESS_BITS_FIELD_NUMBER
publicstaticfinalintVBV_FULLNESS_BITS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VBV_SIZE_BITS_FIELD_NUMBER
publicstaticfinalintVBV_SIZE_BITS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
WIDTH_PIXELS_FIELD_NUMBER
publicstaticfinalintWIDTH_PIXELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
publicstaticVideoStream.H265CodecSettingsgetDefaultInstance()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
publicstaticVideoStream.H265CodecSettings.BuildernewBuilder()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.Builder |
|
newBuilder(VideoStream.H265CodecSettings prototype)
publicstaticVideoStream.H265CodecSettings.BuildernewBuilder(VideoStream.H265CodecSettingsprototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
VideoStream.H265CodecSettings |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.Builder |
|
parseDelimitedFrom(InputStream input)
publicstaticVideoStream.H265CodecSettingsparseDelimitedFrom(InputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
publicstaticVideoStream.H265CodecSettingsparseFrom(byte[]data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
publicstaticVideoStream.H265CodecSettingsparseFrom(ByteStringdata)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
publicstaticVideoStream.H265CodecSettingsparseFrom(CodedInputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
publicstaticVideoStream.H265CodecSettingsparseFrom(InputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
publicstaticVideoStream.H265CodecSettingsparseFrom(ByteBufferdata)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticVideoStream.H265CodecSettingsparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
publicstaticParser<VideoStream.H265CodecSettings>parser()| Returns | |
|---|---|
| Type | Description |
Parser<H265CodecSettings> |
|
Methods
equals(Object obj)
publicbooleanequals(Objectobj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAllowOpenGop()
publicbooleangetAllowOpenGop() Specifies whether an open Group of Pictures (GOP) structure should be
allowed or not. The default is false.
bool allow_open_gop = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowOpenGop. |
getAqStrength()
publicdoublegetAqStrength()Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A higher value equals a lower bitrate but smoother image. The default is 0.
double aq_strength = 16;
| Returns | |
|---|---|
| Type | Description |
double |
The aqStrength. |
getBFrameCount()
publicintgetBFrameCount()The number of consecutive B-frames. Must be greater than or equal to zero. Must be less than H265CodecSettings.gop_frame_count if set. The default is 0.
int32 b_frame_count = 15;
| Returns | |
|---|---|
| Type | Description |
int |
The bFrameCount. |
getBPyramid()
publicbooleangetBPyramid() Allow B-pyramid for reference frame selection. This may not be supported
on all decoders. The default is false.
bool b_pyramid = 14;
| Returns | |
|---|---|
| Type | Description |
boolean |
The bPyramid. |
getBitrateBps()
publicintgetBitrateBps()Required. The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 800,000,000.
int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The bitrateBps. |
getColorFormatCase()
publicVideoStream.H265CodecSettings.ColorFormatCasegetColorFormatCase()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.ColorFormatCase |
|
getCrfLevel()
publicintgetCrfLevel()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.
int32 crf_level = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The crfLevel. |
getDefaultInstanceForType()
publicVideoStream.H265CodecSettingsgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings |
|
getEnableTwoPass()
publicbooleangetEnableTwoPass() Use two-pass encoding strategy to achieve better video quality.
H265CodecSettings.rate_control_mode
must be vbr. The default is false.
bool enable_two_pass = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableTwoPass. |
getFrameRate()
publicdoublegetFrameRate()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()
publicVideoStream.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 = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.FrameRateConversionStrategy |
The frameRateConversionStrategy. |
getFrameRateConversionStrategyValue()
publicintgetFrameRateConversionStrategyValue() Optional. Frame rate conversion strategy for desired frame rate. The
default is DOWNSAMPLE.
.google.cloud.video.transcoder.v1.VideoStream.FrameRateConversionStrategy frame_rate_conversion_strategy = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for frameRateConversionStrategy. |
getGopDuration()
publicDurationgetGopDuration() 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 = 10;
| Returns | |
|---|---|
| Type | Description |
Duration |
The gopDuration. |
getGopDurationOrBuilder()
publicDurationOrBuildergetGopDurationOrBuilder() 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 = 10;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getGopFrameCount()
publicintgetGopFrameCount()Select the GOP size based on the specified frame count. Must be greater than zero.
int32 gop_frame_count = 9;
| Returns | |
|---|---|
| Type | Description |
int |
The gopFrameCount. |
getGopModeCase()
publicVideoStream.H265CodecSettings.GopModeCasegetGopModeCase()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.GopModeCase |
|
getHdr10()
publicVideoStream.H265ColorFormatHDR10getHdr10()Optional. HDR10 color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10 hdr10 = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatHDR10 |
The hdr10. |
getHdr10OrBuilder()
publicVideoStream.H265ColorFormatHDR10OrBuildergetHdr10OrBuilder()Optional. HDR10 color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10 hdr10 = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatHDR10OrBuilder |
|
getHeightPixels()
publicintgetHeightPixels()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()
publicVideoStream.H265ColorFormatHLGgetHlg()Optional. HLG color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLG hlg = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatHLG |
The hlg. |
getHlgOrBuilder()
publicVideoStream.H265ColorFormatHLGOrBuildergetHlgOrBuilder()Optional. HLG color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLG hlg = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatHLGOrBuilder |
|
getParserForType()
publicParser<VideoStream.H265CodecSettings>getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<H265CodecSettings> |
|
getPixelFormat()
publicStringgetPixelFormat() 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()
publicByteStringgetPixelFormatBytes() 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. |
getPreset()
publicStringgetPreset() Enforces the specified codec preset. The default is veryfast. The
available options are
FFmpeg-compatible.
Note that certain values for this field may cause the
transcoder to override other fields you set in the H265CodecSettings
message.
string preset = 19;
| Returns | |
|---|---|
| Type | Description |
String |
The preset. |
getPresetBytes()
publicByteStringgetPresetBytes() Enforces the specified codec preset. The default is veryfast. The
available options are
FFmpeg-compatible.
Note that certain values for this field may cause the
transcoder to override other fields you set in the H265CodecSettings
message.
string preset = 19;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for preset. |
getProfile()
publicStringgetProfile()Enforces the specified codec profile. The following profiles are supported:
- 8-bit profiles
main(default)main-intramainstillpicture
- 10-bit profiles
main10(default)main10-intramain422-10main422-10-intramain444-10main444-10-intra
12-bit profiles
main12(default)main12-intramain422-12main422-12-intramain444-12main444-12-intra
The available options are FFmpeg-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the
H265CodecSettingsmessage.
string profile = 17;
| Returns | |
|---|---|
| Type | Description |
String |
The profile. |
getProfileBytes()
publicByteStringgetProfileBytes()Enforces the specified codec profile. The following profiles are supported:
- 8-bit profiles
main(default)main-intramainstillpicture
- 10-bit profiles
main10(default)main10-intramain422-10main422-10-intramain444-10main444-10-intra
12-bit profiles
main12(default)main12-intramain422-12main422-12-intramain444-12main444-12-intra
The available options are FFmpeg-compatible. Note that certain values for this field may cause the transcoder to override other fields you set in the
H265CodecSettingsmessage.
string profile = 17;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for profile. |
getRateControlMode()
publicStringgetRateControlMode() Specify the mode. The default is vbr.
Supported rate control modes:
vbr- variable bitratecrf- constant rate factor
string rate_control_mode = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The rateControlMode. |
getRateControlModeBytes()
publicByteStringgetRateControlModeBytes() Specify the mode. The default is vbr.
Supported rate control modes:
vbr- variable bitratecrf- constant rate factor
string rate_control_mode = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rateControlMode. |
getSdr()
publicVideoStream.H265ColorFormatSDRgetSdr()Optional. SDR color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDR sdr = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatSDR |
The sdr. |
getSdrOrBuilder()
publicVideoStream.H265ColorFormatSDROrBuildergetSdrOrBuilder()Optional. SDR color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDR sdr = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265ColorFormatSDROrBuilder |
|
getSerializedSize()
publicintgetSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTune()
publicStringgetTune() Enforces the specified codec tune. The available options are
FFmpeg-compatible.
Note that certain values for this field may cause the
transcoder to override other fields you set in the H265CodecSettings
message.
string tune = 18;
| Returns | |
|---|---|
| Type | Description |
String |
The tune. |
getTuneBytes()
publicByteStringgetTuneBytes() Enforces the specified codec tune. The available options are
FFmpeg-compatible.
Note that certain values for this field may cause the
transcoder to override other fields you set in the H265CodecSettings
message.
string tune = 18;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tune. |
getVbvFullnessBits()
publicintgetVbvFullnessBits()Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. Must be greater than zero. The default is equal to 90% of H265CodecSettings.vbv_size_bits.
int32 vbv_fullness_bits = 13;
| Returns | |
|---|---|
| Type | Description |
int |
The vbvFullnessBits. |
getVbvSizeBits()
publicintgetVbvSizeBits() Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
greater than zero. The default is equal to VideoStream.bitrate_bps.
int32 vbv_size_bits = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The vbvSizeBits. |
getWidthPixels()
publicintgetWidthPixels()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()
publicbooleanhasGopDuration() 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 = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gopDuration field is set. |
hasGopFrameCount()
publicbooleanhasGopFrameCount()Select the GOP size based on the specified frame count. Must be greater than zero.
int32 gop_frame_count = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gopFrameCount field is set. |
hasHdr10()
publicbooleanhasHdr10()Optional. HDR10 color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHDR10 hdr10 = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hdr10 field is set. |
hasHlg()
publicbooleanhasHlg()Optional. HLG color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatHLG hlg = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hlg field is set. |
hasSdr()
publicbooleanhasSdr()Optional. SDR color format setting for H265.
.google.cloud.video.transcoder.v1.VideoStream.H265ColorFormatSDR sdr = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sdr field is set. |
hashCode()
publicinthashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
publicVideoStream.H265CodecSettings.BuildernewBuilderForType()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.Builder |
|
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedVideoStream.H265CodecSettings.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.Builder |
|
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)| Parameter | |
|---|---|
| Name | Description |
unused |
UnusedPrivateParameter |
| Returns | |
|---|---|
| Type | Description |
Object |
|
toBuilder()
publicVideoStream.H265CodecSettings.BuildertoBuilder()| Returns | |
|---|---|
| Type | Description |
VideoStream.H265CodecSettings.Builder |
|
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|