PyNvCodec

PyNvCodec

GetNumGpus()

Get number of available GPUs.

GetNvencParams()

Get list of params PyNvEncoder can be initialized with.

PySurfaceResizer

PySurfaceRemaper

PySurfaceDownloader

PySurfaceConverter

PyNvEncoder

PyNvDecoder

PyFrameUploader

PyFFmpegDemuxer

PyFfmpegDecoder

PyCudaBufferDownloader

PyBufferUploader

SeekContext

CudaBuffer

SurfacePlane

Surface

class PyNvCodec._PyNvCodec.ColorRange

Members:

MPEG

JPEG

UDEF

property name
class PyNvCodec._PyNvCodec.ColorSpace

Members:

BT_601

BT_709

UNSPEC

property name
class PyNvCodec._PyNvCodec.CudaVideoCodec

Members:

H264

HEVC

VP9

property name
exception PyNvCodec._PyNvCodec.CuvidParserException
PyNvCodec._PyNvCodec.GetNumGpus() int

Get number of available GPUs.

PyNvCodec._PyNvCodec.GetNvencParams() Dict[str, str]

Get list of params PyNvEncoder can be initialized with.

exception PyNvCodec._PyNvCodec.HwResetException
class PyNvCodec._PyNvCodec.NV_DEC_CAPS

Members:

IS_CODEC_SUPPORTED

BIT_DEPTH_MINUS_8

OUTPUT_FORMAT_MASK

MAX_WIDTH

MAX_HEIGHT

MAX_MB_COUNT

MIN_WIDTH

MIN_HEIGHT

IS_HIST_SUPPORTED

HIST_COUNT_BIT_DEPTH

HIST_COUNT_BINS

property name
class PyNvCodec._PyNvCodec.NV_ENC_CAPS

Members:

NUM_MAX_BFRAMES

SUPPORTED_RATECONTROL_MODES

SUPPORT_FIELD_ENCODING

SUPPORT_MONOCHROME

SUPPORT_FMO

SUPPORT_QPELMV

SUPPORT_BDIRECT_MODE

SUPPORT_CABAC

SUPPORT_ADAPTIVE_TRANSFORM

SUPPORT_STEREO_MVC

NUM_MAX_TEMPORAL_LAYERS

SUPPORT_HIERARCHICAL_PFRAMES

SUPPORT_HIERARCHICAL_BFRAMES

LEVEL_MAX

LEVEL_MIN

SEPARATE_COLOUR_PLANE

WIDTH_MAX

HEIGHT_MAX

SUPPORT_TEMPORAL_SVC

SUPPORT_DYN_RES_CHANGE

SUPPORT_DYN_BITRATE_CHANGE

SUPPORT_DYN_FORCE_CONSTQP

SUPPORT_DYN_RCMODE_CHANGE

SUPPORT_SUBFRAME_READBACK

SUPPORT_CONSTRAINED_ENCODING

SUPPORT_INTRA_REFRESH

SUPPORT_CUSTOM_VBV_BUF_SIZE

SUPPORT_DYNAMIC_SLICE_MODE

SUPPORT_REF_PIC_INVALIDATION

PREPROC_SUPPORT

ASYNC_ENCODE_SUPPORT

MB_NUM_MAX

MB_PER_SEC_MAX

SUPPORT_YUV444_ENCODE

SUPPORT_LOSSLESS_ENCODE

SUPPORT_SAO

SUPPORT_MEONLY_MODE

SUPPORT_LOOKAHEAD

SUPPORT_TEMPORAL_AQ

SUPPORT_10BIT_ENCODE

NUM_MAX_LTR_FRAMES

SUPPORT_WEIGHTED_PREDICTION

DYNAMIC_QUERY_ENCODER_CAPACITY

SUPPORT_BFRAME_REF_MODE

SUPPORT_EMPHASIS_LEVEL_MAP

WIDTH_MIN

HEIGHT_MIN

SUPPORT_MULTIPLE_REF_FRAMES

SUPPORT_ALPHA_LAYER_ENCODING

EXPOSED_COUNT

property name
class PyNvCodec._PyNvCodec.PixelFormat

Members:

Y

RGB

NV12

YUV420

RGB_PLANAR

BGR

YCBCR

YUV444

YUV444_10bit

YUV420_10bit

UNDEFINED

RGB_32F

RGB_32F_PLANAR

YUV422

P10

P12

property name
class PyNvCodec._PyNvCodec.SeekMode

Members:

EXACT_FRAME

PREV_KEY_FRAME

property name