I have installed ubuntu 18.04, the nvidea drivers and all the gstreamer packages. Now i’m looking for: How to install and use the nvdec gstreamer plugin to decode a h264 stream.
Install the driver
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-drivers-common
sudo ubuntu-drivers autoinstall
sudo apt-get install ubuntu-restricted-extras
Install gstreamer
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt-get update
sudo apt-get install gstreamer1.0-tools gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev