Argument 1 does not allow None as a value

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) RTX4080
• DeepStream Version 7.0 using (nvcr.io/nvidia/deepstream:7.0-triton-multiarch)
I am runningdeepstream-imagedata-multistream-redaction python application.
nvcr.io/nvidia/deepstream:7.0-triton-multiarch is used.

gst-inspect-1.0 nvstreammux gives me

Factory Details:
  Rank                     primary (256)
  Long-name                Stream multiplexer
  Klass                    Generic
  Description              N-to-1 pipe stream multiplexing
  Author                   NVIDIA Corporation. Post on Deepstream for Tesla forum for any queries @ https://devtalk.nvidia.com/default/board/209/

Plugin Details:
  Name                     nvdsgst_multistream
  Description              NVIDIA Multistream mux/demux plugin
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so
  Version                  7.0.0
  License                  Proprietary
  Source module            nvmultistream
  Binary package           NVIDIA Multistream Plugins
  Origin URL               http://nvidia.com/

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstNvStreamMux

Pad Templates:
  SINK template: 'sink_%u'
    Availability: On request
    Capabilities:
      video/x-raw(memory:NVMM)
                 format: { (string)NV12, (string)RGBA, (string)I420 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
  
  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-raw(memory:NVMM)
                 format: { (string)NV12, (string)RGBA, (string)I420 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]

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

Pads:
  SRC: 'src'
    Pad Template: 'src'

Element Properties:
  align-inputs        : Boolean property to force timestamp align of input frames.
                        flags: readable, writable
                        Boolean. Default: false
  async-process       : Boolean property to enable/disable asynchronous processing of input frames for performance.
:

When the command python deepstream_imagedata-multistream_redaction.py -i file:///workspace/opt/nvidia/deepstream/deepstream-7.0/samples/streams/sample_720p.mp4 is run, I have errors as

Frames will be saved in  out_crops
Creating Pipeline 
 
Creating streamux 
 

(python:1799): GStreamer-WARNING **: 01:44:20.973: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': /root/anaconda3/envs/deepstream-python/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so)

(python:1799): GStreamer-CRITICAL **: 01:44:20.973: gst_element_factory_create_valist: assertion 'newfactory != NULL' failed
 Unable to create NvStreamMux 
Traceback (most recent call last):
  File "/workspace/opt/nvidia/deepstream/deepstream-7.0/sources/deepstream_python_apps/apps/deepstream-imagedata-multistream-redaction/deepstream_imagedata-multistream_redaction.py", line 502, in <module>
    sys.exit(main(uri_inputs, out_codec, out_bitrate ))
  File "/workspace/opt/nvidia/deepstream/deepstream-7.0/sources/deepstream_python_apps/apps/deepstream-imagedata-multistream-redaction/deepstream_imagedata-multistream_redaction.py", line 292, in main
    pipeline.add(streammux)
TypeError: Argument 1 does not allow None as a value

What is wrong?

conda deactivate

You installed an incompatible version of libstdc++ in your conda env, which overwrote the system version of libstdc++

May I know which version of libstdc++ is used in docker and how to check?
I will software link from conda to system.
I need to use conda to use other Python library.

strings /lib/x86_64-linux-gnu/libstdc++.so.6 |grep LIB

I did software link to /lib/x86_64-linux-gnu/libstdc++.so.6 from conda environment.

1 Like

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