Whenever installing GStreamer in a docker container using:
apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
(taken from https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c)
Here are my results after installing:
gst-inspect-1.0 | grep nv
audioconvert: audioconvert: Audio converter
audiofx: audioinvert: Audio inversion
autoconvert: autoconvert: Select converter based on caps
autoconvert: autodeinterlace: Select deinterlacer, and converters based on caps
autoconvert: autovideoconvert: Select color space converter and scalers based on caps
autoconvert: autovideoflip: Flip the video plugging the right element depending on caps
bayer: rgb2bayer: RGB to Bayer converter
closedcaption: ccconverter: Closed Caption Converter
debugutilsbad: errorignore: Convert some GstFlowReturn types into others
dsd: dsdconvert: DSD converter
ivtc: ivtc: Inverse Telecine
libav: avdec_dsicinvideo: libav Delphine Software International CIN video decoder
libav: avdec_idcinvideo: libav id Quake II CIN video decoder
libav: avdec_twinvq: libav VQF TwinVQ decoder
libav: avdec_wnv1: libav Winnov WNV1 decoder
opengl: glcolorconvert: OpenGL color converter
opengl: gleffects_blur: Blur with 9×9 separable convolution Effect
opengl: gleffects_laplacian: Laplacian Convolution Demo Effect
opengl: glviewconvert: OpenGL Multiview/3D conversion filter
rtponvif: rtponvifparse: ONVIF NTP timestamps RTP extension
rtponvif: rtponviftimestamp: ONVIF NTP timestamps RTP extension
videoconvertscale: videoconvert: Video colorspace converter
videoconvertscale: videoconvertscale: Video colorspace converter and scaler
videoconvertscale: videoscale: Video scaler
vulkan: vulkancolorconvert: Vulkan Color Convert
vulkan: vulkanviewconvert: Vulkan View Convert
None of the nvidia plugins are actually installed that should be from plugins-bad.
I have tried containers starting with ubuntu and debian (arm64) with fresh images and nothing has worked so far. My plan is to leverage the host gpu with nvidia container toolkit. So far nvidia-smi works in the container, so that is installed properly I believe. I just don’t know why the GStreamer plugins won’t install properly.