spdl.io.utils.built_with_nvcodec

built_with_nvcodec() → bool[source]

Check if SPDL is compiled with NVCODEC support.

It loads neither the CUDA extension nor the CUDA runtime.

Returns:

True if SPDL is compiled with NVCODEC support.