VideoEncoderStartupParams#

class gs_nyx.nyx_py_video_encoder.VideoEncoderStartupParams#

Bases: object

Parameters passed to GPUVideoEncoder.startup.

Constructors

VideoEncoderStartupParams()

Construct VideoEncoderStartupParams with default values.

Attributes

bitrate

Target bitrate in bits per second.

deviceData

Vendor or adapter index the pick strategy refers to.

frameHeight

Encoded frame height in pixels.

frameRate

Target frame rate in frames per second.

frameWidth

Encoded frame width in pixels.

gopSize

number of frames between IDR keyframes.

pickStrategy

How the GPU is picked; pair the compute device with 'device_identity' afterwards.