Compiling gstreamer and its plugins from source

Hi, I need to compile a new version of the gstreamer and plugins from source. Please, could you tell me how I can obtain nvidia plugins for GStreamer? Specifically, I am looking for nvtee, nvivafilter, nvjpegdec, and nvv4l2h265enc. I know that sources for njpegdec and nvv4lh265enc are available in the L4T public sources. How about the nvivafilter and nvtee? Can I just copy old /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvivafilter.so and /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvtee.so into the new GStreamer installation?

I know the jpeg decoder and some others are somewhere under /opt/nvidia/deepstream if you have deepstream-4.0 installed on Tegra. I think nvtee is deprected but I’m not sure. It’s not used in the deepstream source. I am not certain if the source and headers are installed there on x86 Nvidia but you can check.

Hi,
Please refer to GSTREAMER BUILD INSTRUCTIONS in
https://developer.nvidia.com/embedded/dlc/l4t-accelerated-gstreamer-guide-32-2

1 Like

Thank you for sharing the reference! I missed that section. It confirms my intuition and mentions that the nvidia shared libraries can be just copied over.

Hi @DaneLLL,

does this only work with NVIDIA Jetson products? I am trying to build GStreamer with the NVIDIA plugins for my Quadro P2000.

Thanks in advance!

Hi,

The v4l2 plugins can be built on both desktop GPU and Jetson platforms. Other plugins are specific to Jetson platforms. If you would like to build v4l2 plugins, please download
https://developer.nvidia.com/embedded/L4T/r32_Release_v4.3/Sources/T186/public_sources.tbz2
and check gst-v4l2 package.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream_Development_Guide/deepstream_C_sample_apps.html#wwpID0EEHA

1 Like

I finally could compile it. That was helpful, thanks a lot!