Using nvv4l2 for decoding, in custom docker

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Tesla T4
• DeepStream Version - 5.0(docker)
• JetPack Version (valid for Jetson only)
• TensorRT Version - 7.0.0(docker)
• NVIDIA GPU Driver Version (valid for GPU only) - 450.51.06
• Issue Type( questions, new requirements, bugs) - question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I would like to use TF with Accelerated GStreamer for RTSP/file decoding. I am currently using docker which has TF and TRT pre-installed. I have tried to installed Gstreamer using official documentation. During gst-inspect-1.0 and gst-launch-1.0 nvv4l2 plugins are missing.

I have also tried using the deepstream 5.0 docker but I’m unable to install TF-GPU on it successfully, also I do not require the complete deepstream functionality for this,. I would finally prefer to have a light docker (without extra installations) to test now as I would finally be deploying on a Jetson NX.

Have you checked whether the v4l2 driver has been installed correctly before you install gstreamer?
There is no “nvv4l2” plugin in DGpu. The document you are using is for Jetson. But you are doing the things with T4(which is dGpu). With dGpu, only v4l2 plugin is available with gstreamer if the v4l2 driver has been installed correctly.

Please do not use Jetson document for reference of dGpu.

Yes v4l2 drivers were installed and checked to be working.

I was able to use this docker to run the sample apps on dGPU and it has the nvv4l2(encoder, decoder) plugins available on gst-inspect-1.0. Is there any way(any helper document/resource) I could manually install the same?

After I install v4l2 drivers, which gstreamer plugin should I use for accelerated decoding?

Please could you provide a corresponding document for dGPU.

NOTE: I am also trying out the installations on Jetson NX, will update this when I have any progress.

I see, you are talking about nvv4l2decoder , nvv4l2h264enc and nvv4l2h265enc, but not nvv4l2src.

For dGPU, you need to refer to for installation.

Hi, would I require the complete deepstream installation for access to nvv4l2decoder? I already have CUDA 10.2, TensorRT 7.0, Nvidia Driver 450.51 installed in the docker.

On this docker I tried installing v4l2 drivers and gstreamer installation using command from the doc you provided. But still unable to detect nvv4l2decoder.

Please advise.

Yes, you need to install whole DeepStream.

I completed the whole deepstream installation, to test it out but I’m facing few more errors.

On running a sample app from configs/deepstream-app/source_30… :
deepstream-app: error while loading shared libraries: cannot open shared object file: No such file or directory

On running ‘gst-inspect-1.0’ :
(gst-plugin-scanner:5393): GStreamer-WARNING **: 14:01:14.576: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/’: cannot open shared object file: No such file or directory

(gst-plugin-scanner:5393): GStreamer-WARNING **: 14:01:14.579: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/’: cannot open shared object file: No such file or directory

(gst-plugin-scanner:5393): GStreamer-WARNING **: 14:01:14.583: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/’: cannot open shared object file: No such file or directory

The gstreamer sink plugins nveglglessink and nv3dsink seem to be missing. Could please tell me how to install them, as I require this to test out my decoding pipeline.

Installing deepstream-5.0 from its SDK solved the missing nvv4l2decode plugin! I was hoping to not have install the complete bulky package, inorder to keep the docker light