Where is the source code for the Gst-nvvideo4linux2 plugin?

• Hardware Platform: Jetson
• DeepStream Version: 5.1
• Issue Type: Question

Reviewing the deepstream 5.1 documentation here I found the following quote about the hardware accelerated gstreamer plugin.

The OSS Gst-nvvideo4linux2 plugin leverages the hardware accelerated encoding engine available on Jetson and dGPU platforms by interfacing with libv4l2 plugins on those platforms.

This makes it seam like the plugins source code is Open (assuming OSS is Open source software and I’m not mistaken) But searching the jetson downloads archive I can only find the source for nvgst_sample_apps gst_jpg and gst_egl. Is the source for the v4l2 plugin somewhere else or not available?

The original gst-v4l2 is gstreamer plugin. sys/v4l2 · 1.14 · GStreamer / gst-plugins-good · GitLab

Hi Fiona,
Thank you I have seen that but I am more interested in how the nvidia specific one utilizes shared memory to reduce buffer overhead through cuda mapped memory. The gst-v4l2 is not specific to nvidias memory managment. I am currently writing a plugin for a camera which is not v4l2 capable and while I believe I can still get it working with omx I was hoping to take a close look at the nvv4l2encoder so I could use a non-deprecated interface. The source for the plugin nvvideo4linux2 should be available as it is listed as being released under the LGPL license as far as I can tell.

<user>@<host>:~$ gst-inspect-1.0 nvvideo4linux2
Plugin Details:
  Name                     nvvideo4linux2
  Description              Nvidia elements for Video 4 Linux
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so
  Version                  1.14.0
  License                  LGPL
  Source module            nvvideo4linux2
  Binary package           nvvideo4linux2
  Origin URL               http://nvidia.com/

  nvv4l2vp9enc: V4L2 VP9 Encoder
  nvv4l2vp8enc: V4L2 VP8 Encoder
  nvv4l2h265enc: V4L2 H.265 Encoder
  nvv4l2h264enc: V4L2 H.264 Encoder
  nvv4l2decoder: NVIDIA v4l2 video decoder

  5 features:
  +-- 5 elements

I realize that a plugin for GStreamer could be listed under a non-LGPL license however that’s not what the output above seems to imply. Let me know if I am mistaken and the source code is not available anywhere.

Nvidia has modified some parts of gst-v4l2, the modification is not published yet.