Nvstreammux Not Found in DeepStream 7.1 Docker Container

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson Orin NX 8GB)
• DeepStream Version 7.1
• JetPack Version (6.2 (super config))
• Issue Type( bugs)
• How to reproduce the issue ?

Hi, I am trying to run DeepStream 7.1 inside docker container, but I could not create the nvstreammux element.

docker run -it --rm --runtime nvidia nvcr.io/nvidia/deepstream:7.1-samples-multiarch bash

gst-inspect-1.0 nvstreammux

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.524: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstsndfile.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.540: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlame.so': libmp3lame.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.544: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstfluidsynthmidi.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.583: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.668: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmplex.so': libmjpegutils-2.1.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.685: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.687: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.693: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.790: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libgstnvdsseimeta.so.1.0.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.799: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvmultiurisrcbin.so': libgstnvcustomhelper.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.800: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:45): GStreamer-WARNING **: 10:51:19.813: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
No such element or plugin 'nvstreammux'

Is there any settings I missed?

Thank you!

Are libgstnvcustomhelper.so and libgstnvdsseimeta.so in /usr/lib/aarch64-linux-gnu/nvidia/?
These libraries are shared between host and container. And they are depended by nvstreammux.

If these libraries exists, please install nvidia-container-toolkit correctly ,If it does not exist, please re-burn Jetpack

Checked both are not present inside /usr/lib/aarch64-linux-gnu/nvidia/. I followed the steps from the official guideline:

# Release Package
curl -L -O https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v4.3/release/Jetson_Linux_r36.4.3_aarch64.tbz2
 
# Sample FS Package
curl -L -O https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v4.3/release/Tegra_Linux_Sample-Root-Filesystem_r36.4.3_aarch64.tbz2

version="36.4.3"
L4T_RELEASE_PACKAGE="Jetson_Linux_R${version}_aarch64.tbz2"
SAMPLE_FS_PACKAGE="Tegra_Linux_Sample-Root-Filesystem_r${version}_aarch64.tbz2"
 
# Extract and apply binaries
tar xf ${L4T_RELEASE_PACKAGE}
sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra/
sudo ./tools/l4t_flash_prerequisites.sh
sudo ./apply_binaries.sh

# Flash Super Configuration (NVME)
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 jetson-orin-nano-devkit-super internal
 
# Successful log
...
Copied 16896 bytes from /mnt/internal/gpt_secondary_3_0.bin to address 0x03ffbe00 in flash
[ 210]: l4t_flash_from_kernel: Successfully flash the qspi
[ 210]: l4t_flash_from_kernel: Flashing success
[ 210]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
Flash is successful
Reboot device
Cleaning up...
Log is saved to Linux_for_Tegra/initrdlog/flash_1-2_0_20250516-181153.log

Are there any missing settings that caused the missing of the two libraries?

Anyways I will try re-flash again.

Thank you!

I recommend using SDKManager to burn. I have not tried script burning.I’m not good at this.

There are sub-forum to discuss embedded related topics.

I wish SDKManager can do the job, the super mode config cannot be flashed from SDKManager for Orin NX based on this discussion:

By the way, I found the root cause. I haven’t installed two apt pkgs, after installing:

sudo apt update
sudo apt install nvidia-l4t-gstreamer
sudo apt install nvidia-l4t-dla-compiler

I can see libgstnvcustomhelper.so and libgstnvdsseimeta.so in /usr/lib/aarch64-linux-gnu/nvidia/.

Thanks for pointing me to the documentation!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.