Failed to create 'sink_sub_bin_encoder1'

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**GPU RTX4080
• DeepStream Version7.1

Deepstream docker nvcr.io/nvidia/deepstream:7.1-triton-multiarch is used to run deepstream_parallel_inference_app.
I can run and display images using deepstream-test1 successfully in the docker.
But for running deepstream_parallel_inference_app, I have the following errors as Failed to create 'sink_sub_bin_encoder1'

Full messages are as follow. How can I solver the issue?

root@user-Nuvo-10000-Series:/workspace/opt/nvidia/deepstream/deepstream-7.1/sources/apps/sample_apps/deepstream_reference_apps/deepstream_parallel_inference_app/tritonclient/sample# ./apps/deepstream-parallel-infer/deepstream-parallel-infer -c configs/apps/bodypose_yolo_lpr/source4_1080p_dec_parallel_infer.yml

src_ids:0;1;2
Unknown key enable-batch-process for tracker
Unknown key enable-past-frame for tracker
src_ids:1;2;3
Unknown key enable-batch-process for tracker
Unknown key enable-past-frame for tracker
src_ids:1;2;3
Unknown key enable-batch-process for tracker
Unknown key enable-past-frame for tracker
NVDSMETAMUX_CFG_PARSER: Group 'user-configs' ignored
Unknown or legacy key specified 'is-classifier' for group [property]
i:0, src_id_num:3
link_streamdemux_to_streammux, srid:0, mux:0
link_streamdemux_to_streammux, srid:1, mux:0
link_streamdemux_to_streammux, srid:2, mux:0
** INFO: <create_primary_gie_bin:147>: gpu-id: 0 in primary-gie group is ignored, only accept in nvinferserver's config
i:1, src_id_num:3
link_streamdemux_to_streammux, srid:1, mux:1
link_streamdemux_to_streammux, srid:2, mux:1
link_streamdemux_to_streammux, srid:3, mux:1
** INFO: <create_primary_gie_bin:147>: gpu-id: 0 in primary-gie group is ignored, only accept in nvinferserver's config
i:2, src_id_num:3
link_streamdemux_to_streammux, srid:1, mux:2
link_streamdemux_to_streammux, srid:2, mux:2
link_streamdemux_to_streammux, srid:3, mux:2
** ERROR: <create_encode_file_bin:393>: Failed to create 'sink_sub_bin_encoder1'
** ERROR: <create_encode_file_bin:520>: create_encode_file_bin failed
** ERROR: <create_sink_bin:869>: create_sink_bin failed
creating sink bin failed
Quitting
App run successful

Is there any output from the below command ?

gst-inspect-1.0 nvv4l2h264enc

Try deleting the cache. If it doesn’t work, please share the command line to start Docker.

rm -rf ~/.cache/gstreamer-1.0/
gst-inspect-1.0 nvv4l2h264enc produced the following messages.
root@user-Nuvo-10000-Series:/workspace/opt/nvidia/deepstream/deepstream-7.1/sources/apps/sample_apps/deepstream_reference_apps/deepstream_parallel_inference_app/tritonclient/sample# gst-inspect-1.0 nvv4l2h264enc

(gst-plugin-scanner:60): GStreamer-WARNING **: 08:31:21.469: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsndfile.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:60): GStreamer-WARNING **: 08:31:21.470: Failed to load plugin '/usr/lib/x86_64-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:62): GStreamer-WARNING **: 08:31:21.528: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.534: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.538: 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

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.551: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlame.so': libmp3lame.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.553: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstfluidsynthmidi.so': libFLAC.so.8: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.598: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:62): GStreamer-WARNING **: 08:31:21.608: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
Factory Details:
  Rank                     primary + 1 (257)
  Long-name                V4L2 H.264 Encoder
  Klass                    Codec/Encoder/Video
  Description              Encode H.264 video streams via V4L2 API
  Author                   ayaka <ayaka@soulik.info>

Plugin Details:
  Name                     nvvideo4linux2
  Description              Nvidia elements for Video 4 Linux
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so
  Version                  1.14.0
  License                  LGPL
  Source module            nvvideo4linux2
  Binary package           nvvideo4linux2
  Origin URL               http://nvidia.com/

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstVideoEncoder
                         +----GstV4l2VideoEnc
                               +----GstV4l2H264Enc
                                     +----nvv4l2h264enc

Implemented Interfaces:
  GstPreset

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw(memory:NVMM)
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
                 format: { (string)I420, (string)NV12, (string)P010_10LE, (string)Y444, (string)Y444_10LE, (string)NV24 }
              framerate: [ 0/1, 2147483647/1 ]
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-h264
          stream-format: byte-stream
              alignment: { (string)au, (string)nal }

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'
  SRC: 'src'
    Pad Template: 'src'
:

Docker is run as follows.
xhost +

docker run --gpus all -it --rm --entrypoint "" -v $PWD:/workspace --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -p 8888:8888 nvcr.io/nvidia/deepstream_v1:7.1-triton-multiarch /bin/bash

/opt/nvidia/deepstream/deepstream/user_additional_install.sh
/opt/nvidia/deepstream/deepstream/install.sh

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