I would like to use Python to decode some rtsp video streams.
It seems that the Video Processing Framework would allow me to use the GPU to decode the video. I am trying to install it on a Ubuntu 18.04 machine.
It seems I need to install the Video Codec SDK
. Is it correct? I am currently installing Video Codec SDK 10.0 because I need compatibility with video drivers 455.
During the installation I have the following error:
CUDA_TOOLKIT_ROOT_DIR: /usr/local/cuda-11.1
-- Attempting auto locate Vulkan using CMake......
-- Checking for module 'vulkan'
-- No package 'vulkan' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
AppEncode/AppMotionEstimationVkCuda/CMakeLists.txt:45 (pkg_check_modules)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREEGLUT_LIB
linked by target "AppEncGL" in directory /home/ubuntu/Video_Codec_SDK_10.0.26/Samples/AppEncode/AppEncGL
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/Video_Codec_SDK_10.0.26/Samples/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/Video_Codec_SDK_10.0.26/Samples/build/CMakeFiles/CMakeError.log".
I suppose I need to install Vulkan. Is it right? How can I do that?
I tried
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-settings vulkan vulkan-utils -y
but I have the error:
E: Unable to locate package vulkan
Is there a tutorial on how to setup VPF on Ubuntu step by step?