Represents a H265CodecSettings.
Package
@google-cloud/video-transcoderConstructors
(constructor)(properties)
constructor(properties?: google.cloud.video.transcoder.v1.VideoStream.IH265CodecSettings);Constructs a new H265CodecSettings.
| Name | Description |
| properties |
IH265CodecSettings
Properties to set |
Properties
allowOpenGop
public allowOpenGop: boolean;H265CodecSettings allowOpenGop.
aqStrength
public aqStrength: number;H265CodecSettings aqStrength.
bFrameCount
public bFrameCount: number;H265CodecSettings bFrameCount.
bitrateBps
public bitrateBps: number;H265CodecSettings bitrateBps.
bPyramid
public bPyramid: boolean;H265CodecSettings bPyramid.
crfLevel
public crfLevel: number;H265CodecSettings crfLevel.
enableTwoPass
public enableTwoPass: boolean;H265CodecSettings enableTwoPass.
frameRate
public frameRate: number;H265CodecSettings frameRate.
gopDuration
public gopDuration?: (google.protobuf.IDuration|null);H265CodecSettings gopDuration.
gopFrameCount
public gopFrameCount?: (number|null);H265CodecSettings gopFrameCount.
gopMode
public gopMode?: ("gopFrameCount"|"gopDuration");H265CodecSettings gopMode.
heightPixels
public heightPixels: number;H265CodecSettings heightPixels.
pixelFormat
public pixelFormat: string;H265CodecSettings pixelFormat.
preset
public preset: string;H265CodecSettings preset.
profile
public profile: string;H265CodecSettings profile.
rateControlMode
public rateControlMode: string;H265CodecSettings rateControlMode.
tune
public tune: string;H265CodecSettings tune.
vbvFullnessBits
public vbvFullnessBits: number;H265CodecSettings vbvFullnessBits.
vbvSizeBits
public vbvSizeBits: number;H265CodecSettings vbvSizeBits.
widthPixels
public widthPixels: number;H265CodecSettings widthPixels.
Methods
create(properties)
public static create(properties?: google.cloud.video.transcoder.v1.VideoStream.IH265CodecSettings): google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings;Creates a new H265CodecSettings instance using the specified properties.
| Name | Description |
| properties |
IH265CodecSettings
Properties to set |
| Type | Description |
| google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings | H265CodecSettings instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings;Decodes a H265CodecSettings message from the specified reader or buffer.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| length |
number
Message length if known beforehand |
| Type | Description |
| google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings | H265CodecSettings |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings;Decodes a H265CodecSettings message from the specified reader or buffer, length delimited.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
| google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings | H265CodecSettings |
encode(message, writer)
public static encode(message: google.cloud.video.transcoder.v1.VideoStream.IH265CodecSettings, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified H265CodecSettings message. Does not implicitly messages.
| Name | Description |
| message |
IH265CodecSettings
H265CodecSettings message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.video.transcoder.v1.VideoStream.IH265CodecSettings, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified H265CodecSettings message, length delimited. Does not implicitly messages.
| Name | Description |
| message |
IH265CodecSettings
H265CodecSettings message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
| $protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings;Creates a H265CodecSettings message from a plain object. Also converts values to their respective internal types.
| Name | Description |
| object |
{ [k: string]: any }
Plain object |
| Type | Description |
| google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings | H265CodecSettings |
toJSON()
public toJSON(): { [k: string]: any };Converts this H265CodecSettings to JSON.
| Type | Description |
| { [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a H265CodecSettings message. Also converts values to other types if specified.
| Name | Description |
| message |
google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings
H265CodecSettings |
| options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
| { [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a H265CodecSettings message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|