Hello
We have successfully developed our app on Deepstream 5.1 on Jetson Xavier NX and are porting to deepstream-l4t:5.1-21.02-iot, running on the same Xavier. When running the app within the container, the app fails to create nvstreammux. Running ‘gst-inspect-1.0 nvstreammux’ returns No such element or plugin ‘nvstreammux’. We previously encountered this error when first developing on Deepstream 5.1, but resolved it by flashing the Xavier via the SDK. Has anyone encountered this?
Error:
Creating streamux
Unable to create NvStreamMux
Traceback (most recent call last):
File “pipeline.py”, line 298, in
sys.exit(main(list_of_sources, codec = args.codec, bitrate = args.bitrate, rtsp_port_num = args.rtsp_port_num))
File “pipeline.py”, line 98, in main
pipeline.add(streammux)
File “/usr/lib/python3/dist-packages/gi/overrides/Gst.py”, line 64, in add
if not Gst.Bin.add(self, arg):
TypeError: Argument 1 does not allow None as a value
Code Snippet:
# Standard GStreamer initialization
GObject.threads_init()
Gst.init(None)
# Create gstreamer elements */
# Create Pipeline element that will form a connection of other elements
print("Creating Pipeline \n ")
pipeline = Gst.Pipeline()
is_live = False
if not pipeline:
sys.stderr.write(" Unable to create Pipeline \n")
print("Creating streamux \n ")
# Create nvstreammux instance to form batches from one or more sources.
streammux = Gst.ElementFactory.make("nvstreammux", "Stream-muxer")
if not streammux:
sys.stderr.write(" Unable to create NvStreamMux \n")