NVIDIA / VideoProcessingFramework

Set of Python bindings to C++ libraries which provides full HW acceleration for video decoding, encoding and GPU-accelerated color space and pixel format conversions
Apache License 2.0
1.32k stars 233 forks source link

HW decoder faced error. Re-create instance. #481

Open watgh-196 opened 1 year ago

watgh-196 commented 1 year ago

Describe the bug when i use python3 SampleDecodeRTSP.py 0 30 rtsp://Admin:1234@10.7.41.120/h264 i get these error HW decoder faced error. Re-create instance. HW decoder faced error. Re-create instance. HW decoder faced error. Re-create instance.

To Reproduce apt install -y \ libavfilter-dev \ libavformat-dev \ libavcodec-dev \ libswresample-dev \ libavutil-dev\ wget \ build-essential \ git

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb sudo dpkg -i cuda-keyring_1.0-1_all.deb sudo apt-get update sudo apt-get install -y cuda export PATH=/usr/local/cuda/bin:$PATH pip3 install git+https://github.com/NVIDIA/VideoProcessingFramework pip3 install . --no-dependencies

python3 SampleDecodeRTSP.py 0 30 rtsp://Admin:1234@10.7.41.120/h264

Desktop (please complete the following information):