Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Progress adding vp8 support #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/PyNvCodec/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ SUPPORT_YUV444_ENCODE: NV_ENC_CAPS
UDEF: ColorRange
UNDEFINED: PixelFormat
UNSPEC: ColorSpace
VP8: CudaVideoCodec
VP9: CudaVideoCodec
WIDTH_MAX: NV_ENC_CAPS
WIDTH_MIN: NV_ENC_CAPS
Expand Down Expand Up @@ -158,6 +159,7 @@ class CudaVideoCodec:
__members__: ClassVar[dict] = ... # read-only
H264: ClassVar[CudaVideoCodec] = ...
HEVC: ClassVar[CudaVideoCodec] = ...
VP8: ClassVar[CudaVideoCodec] = ...
VP9: ClassVar[CudaVideoCodec] = ...
__entries: ClassVar[dict] = ...
def __init__(self, value: int) -> None: ...
Expand Down
1 change: 1 addition & 0 deletions src/PyNvCodec/src/PyNvCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ PYBIND11_MODULE(_PyNvCodec, m)
.value("H264", cudaVideoCodec::cudaVideoCodec_H264)
.value("HEVC", cudaVideoCodec::cudaVideoCodec_HEVC)
.value("VP9", cudaVideoCodec::cudaVideoCodec_VP9)
.value("VP8", cudaVideoCodec::cudaVideoCodec_VP8)
.export_values();

py::enum_<SeekMode>(m, "SeekMode")
Expand Down