I successfully built docker container using gstreamer with nvdec.
However, when I run container, I couldn’t use nvdec as below.
Dose someone have any idea?
It seems enabling gpu hides nvdec plugin.
$ docker run -it -e NVIDIA_DRIVER_CAPABILITIES=all --rm --name=gst gst2 gst-inspect-1.0 | grep nvdec
nvdec: nvdec: NVDEC video decoder
$ docker run --runtime=nvidia -it -e NVIDIA_DRIVER_CAPABILITIES=all --rm --name=gst gst2 gst-inspect-1.0 | grep nvdec
Shared libralies are exist in both cases.
$ docker run -it -e NVIDIA_DRIVER_CAPABILITIES=all --rm --name=gst gst2 ls /usr/local/lib/gstreamer-1.0 | grep nvdec
libgstaudiobuffersplit.la libgstnvdec.la
libgstaudiobuffersplit.so libgstnvdec.so
$ docker run -it --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=all --rm --name=gst gst2 ls /usr/local/lib/gstreamer-1.0 | grep nvdec
libgstaudiobuffersplit.la libgstnvdec.la
libgstaudiobuffersplit.so libgstnvdec.so