Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so'

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only):
• Issue Type( questions, new requirements, bugs): bug
• 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)

deepstream-app -c samples/configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.txt

I got the deepstream triton docker via docker pull nvcr.io/nvidia/deepstream-l4t:6.1.1-triton

and run it with docker run --gpus "device=0" -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -e CUDA_CACHE_DISABLE=0 nvcr.io/nvidia/deepstream:6.1.1-triton

Now I’m trying to run the sample apps with rtsp output. Frequently Asked Questions — DeepStream 6.1.1 Release documentation

but when I do that I get these warnings and errors

(gst-plugin-scanner:129): GStreamer-WARNING **: 09:02:30.164: Failed to load plugin '/usr/lib/x86_64-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:129): GStreamer-WARNING **: 09:02:30.206: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory

 *** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

** ERROR: <main:716>: Failed to set pipeline to PAUSED
Quitting
App run failed
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=3
uri=file://../../streams/sample_1080p_h264.mp4
num-sources=15
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

[source1]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=3
uri=file://../../streams/sample_1080p_h264.mp4
num-sources=15
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 7=nv3dsink (Jetson only)
type=2
sync=1
source-id=0
gpu-id=0
nvbuf-memory-type=0

[sink1]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software

enc-type=0
sync=0
#iframeinterval=10
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
output-file=out.mp4
source-id=0

[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
bitrate=4000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400

Any idea how I can solve this?

  1. "Failed to load plugin… " is warning info, please ignore it.
  2. need more information, please do “export GST_DEBUG=3” first, then execute the application.
0:00:00.171282429   117 0x55c38e27c840 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:117): GStreamer-WARNING **: 07:37:46.330: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
0:00:00.204476113   117 0x55c38e27c840 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin59> no LADSPA plugins found, check LADSPA_PATH
0:00:00.213232190   117 0x55c38e27c840 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libavcodec.so.58: cannot open shared object file: No such file or directory

(gst-plugin-scanner:117): GStreamer-WARNING **: 07:37:46.372: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory
0:00:00.295374669   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.295399617   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.295410597   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.295526829   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.295534824   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.295541116   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.295548079   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.295555543   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.295564049   117 0x55c38e27c840 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.589917846   116 0x55ab1b65b260 ERROR            egladaption ext/eglgles/gstegladaptation_egl.c:160:gst_egl_adaptation_init_display:<sink_sub_bin_sink1> Could not init EGL display connection
0:00:00.589953213   116 0x55ab1b65b260 ERROR            egladaption ext/eglgles/gstegladaptation_egl.c:183:gst_egl_adaptation_init_display:<sink_sub_bin_sink1> EGL call returned error 3000
0:00:00.589960347   116 0x55ab1b65b260 ERROR            egladaption ext/eglgles/gstegladaptation_egl.c:185:gst_egl_adaptation_init_display:<sink_sub_bin_sink1> Couldn't setup window/surface from handle
0:00:00.589965537   116 0x55ab1b65b260 ERROR          nveglglessink ext/eglgles/gsteglglessink.c:536:egl_init:<sink_sub_bin_sink1> Couldn't init EGL display
0:00:00.589969955   116 0x55ab1b65b260 ERROR          nveglglessink ext/eglgles/gsteglglessink.c:562:egl_init:<sink_sub_bin_sink1> Failed to perform EGL init
** ERROR: <main:716>: Failed to set pipeline to PAUSED
Quitting
App run failed

I don’t have a display, so that’s why I was getting the error. I managed to fix it by changing sink0 type=1 to

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 7=nv3dsink (Jetson only)
type=1
sync=1
source-id=0
gpu-id=0
nvbuf-memory-type=0

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