Represents a Vp9CodecSettings.
Package
@google-cloud/video-transcoder!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.video.transcoder.v1.VideoStream.IVp9CodecSettings);Constructs a new Vp9CodecSettings.
| Name | Description |
| properties |
IVp9CodecSettings
Properties to set |
Properties
bitrateBps
public bitrateBps: number;Vp9CodecSettings bitrateBps.
| Type | Description |
| number |
crfLevel
public crfLevel: number;Vp9CodecSettings crfLevel.
| Type | Description |
| number |
frameRate
public frameRate: number;Vp9CodecSettings frameRate.
| Type | Description |
| number |
gopDuration
public gopDuration?: (google.protobuf.IDuration|null);Vp9CodecSettings gopDuration.
| Type | Description |
| (google.protobuf.IDuration|null) |
gopFrameCount
public gopFrameCount?: (number|null);Vp9CodecSettings gopFrameCount.
| Type | Description |
| (number|null) |
gopMode
public gopMode?: ("gopFrameCount"|"gopDuration");Vp9CodecSettings gopMode.
| Type | Description |
| ("gopFrameCount"|"gopDuration") |
heightPixels
public heightPixels: number;Vp9CodecSettings heightPixels.
| Type | Description |
| number |
pixelFormat
public pixelFormat: string;Vp9CodecSettings pixelFormat.
| Type | Description |
| string |
profile
public profile: string;Vp9CodecSettings profile.
| Type | Description |
| string |
rateControlMode
public rateControlMode: string;Vp9CodecSettings rateControlMode.
| Type | Description |
| string |
widthPixels
public widthPixels: number;Vp9CodecSettings widthPixels.
| Type | Description |
| number |
Methods
create(properties)
public static create(properties?: google.cloud.video.transcoder.v1.VideoStream.IVp9CodecSettings): google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings;Creates a new Vp9CodecSettings instance using the specified properties.
| Name | Description |
| properties |
IVp9CodecSettings
Properties to set |
| Type | Description |
| google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings | Vp9CodecSettings instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings;Decodes a Vp9CodecSettings 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.Vp9CodecSettings | Vp9CodecSettings |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings;Decodes a Vp9CodecSettings 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.Vp9CodecSettings | Vp9CodecSettings |
encode(message, writer)
public static encode(message: google.cloud.video.transcoder.v1.VideoStream.IVp9CodecSettings, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified Vp9CodecSettings message. Does not implicitly messages.
| Name | Description |
| message |
IVp9CodecSettings
Vp9CodecSettings 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.IVp9CodecSettings, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified Vp9CodecSettings message, length delimited. Does not implicitly messages.
| Name | Description |
| message |
IVp9CodecSettings
Vp9CodecSettings 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.Vp9CodecSettings;Creates a Vp9CodecSettings 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.Vp9CodecSettings | Vp9CodecSettings |
toJSON()
public toJSON(): { [k: string]: any };Converts this Vp9CodecSettings to JSON.
| Type | Description |
| { [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a Vp9CodecSettings message. Also converts values to other types if specified.
| Name | Description |
| message |
google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings
Vp9CodecSettings |
| 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 Vp9CodecSettings message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|