Hardware accelerated decoding using Nvidia GPUs. Gstreamer is used for media handling in Python
As long as you run in deepstream container, you don't need any special setup
Python code needs numy and matplotlib can be used for plotting. Run inside container
python3 -m pip install numpy matplotlib
- Run the deepstream container (check commands below)
cd gst-nv-decode-appsink
python3 main.py
xhost +
sudo docker run --gpus all -it --name nvdec --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/minigo/nvdec-demo:/src/nvdec-demo -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.1 nvcr.io/nvidia/deepstream:6.1-devel bash
sudo docker start nvdec
sudo docker exec -it nvdec bash
Tags
- go2sig--nvdec