Hi Team,
This is my configuration, I am using USE_NEW_NVSTREAMMUX=yes
• DeepStream Version : deepstream-6.3
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.6.1.
• NVIDIA GPU Driver Version (valid for GPU only) : Driver Version: 535.86.10 CUDA Version: 12.2
• Issue Type( questions, new requirements, bugs): questions
• 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_rt_src_add_del.py with slight changes.
I want to add and remove the channels, to simulate the recovery of channels, like rtsp drops/ EOS. Also I am forced to use the new streammux, because it helps to keep the order of frames within batch, whenever I am runningin triton inference server, with python backend. But in the newstreammux, I am facing issues, like frozen output screen. I am attaching the model.py, config pbtxt and deepstream_rt_src_add_del.py in a compressed file. Here the small changes I made on the deepstream_rt_src_add_del is to simulate the adding and removing the same src_{id} and sink_{id} which is happening in the original code.
While I am runnig, the code, I see following errors as well
root@ajith-OMEN-by-HP-Laptop-16-c0xxx:/opt/nvidia/deepstream/deepstream-6.3/sources/src# python3 deepstream_rt_src_add_del.py file:///opt/nvidia/deepstream/deepstream-6.3/sources/src/2.mp4
Creating Pipeline
Creating streammux
max_fps_dur 8.33333e+06 min_fps_dur 2e+08
Creating source_bin 0
Creating uridecodebin for [file:///opt/nvidia/deepstream/deepstream-6.3/sources/src/2.mp4]
source-bin-00
Creating Pgie
Creating nvtracker
Creating tiler
Creating nvvidconv
Creating nvosd
Creating EGLSink
WARNING: Overriding infer-config batch-size 0 with number of sources 1
Adding elements to Pipeline
Linking elements in the Pipeline
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: DRI2: could not open /dev/dri/card1 (No such file or directory)
WARNING: infer_proto_utils.cpp:201 backend.trt_is is deprecated. updated it to backend.triton
W0423 11:42:13.975956 10378 metrics.cc:512] Unable to get power limit for GPU 0. Status:Success, value:0.000000
INFO: infer_trtis_backend.cpp:218 TrtISBackend id:1 initialized model: centerface
Decodebin child added: source
Decodebin child added: decodebin0
Now playing...
1 : file:///opt/nvidia/deepstream/deepstream-6.3/sources/src/2.mp4
Starting pipeline
Decodebin child added: qtdemux0
Decodebin child added: multiqueue0
Decodebin child added: h264parse0
Decodebin child added: capsfilter0
Warning: gst-stream-error-quark: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100, channels=(int)2'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-00
Decodebin child added: nvv4l2decoder0
In cb_newpad
gstname= video/x-raw
sink_0
Decodebin linked to pipeline
max_fps_dur 8.33333e+06 min_fps_dur 2e+08
W0423 11:42:14.976414 10378 metrics.cc:512] Unable to get power limit for GPU 0. Status:Success, value:0.000000
W0423 11:42:15.981258 10378 metrics.cc:512] Unable to get power limit for GPU 0. Status:Success, value:0.000000
Calling Start 2
Creating uridecodebin for [file:///opt/nvidia/deepstream/deepstream-6.3/sources/src/2.mp4]
source-bin-02
Decodebin child added: source
Decodebin child added: decodebin1
Decodebin child added: qtdemux1
Decodebin child added: multiqueue1
Decodebin child added: h264parse1
Decodebin child added: capsfilter1
Decodebin child added: nvv4l2decoder1
In cb_newpad
gstname= video/x-raw
sink_2
Decodebin linked to pipeline
Warning: gst-stream-error-quark: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100, channels=(int)2'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-02
Calling Start 1
Creating uridecodebin for [file:///opt/nvidia/deepstream/deepstream-6.3/sources/src/2.mp4]
source-bin-01
Decodebin child added: source
Decodebin child added: decodebin2
Decodebin child added: qtdemux2
Decodebin child added: multiqueue2
Decodebin child added: h264parse2
Decodebin child added: capsfilter2
Decodebin child added: nvv4l2decoder2
In cb_newpad
gstname= video/x-raw
sink_1
Decodebin linked to pipeline
Calling Stop 0
STATE CHANGE SUCCESS
sink_0
Decodebin child added: source
Decodebin child added: decodebin3
Decodebin child added: qtdemux3
Decodebin child added: multiqueue3
Decodebin child added: h264parse3
Decodebin child added: capsfilter3
Decodebin child added: nvv4l2decoder3
In cb_newpad
gstname= video/x-raw
sink_0
(python3:10378): GStreamer-CRITICAL **: 17:12:34.975: Element Stream-muxer already has a pad named sink_0, the behaviour of gst_element_get_request_pad() for existing pads is undefined!
Decodebin linked to pipeline
STATE CHANGE SUCCESS
Warning: gst-stream-error-quark: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100, channels=(int)2'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-01
Warning: gst-stream-error-quark: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)12100000000000000000000000000000, rate=(int)44100, channels=(int)2'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-00
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
Warning: gst-core-error-quark: A lot of buffers are being dropped. (13): gstbasesink.c(3003): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a timestamping problem, or this computer is too slow.
^CExiting app
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
Cleaning up...
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
[ERROR push 353] push failed [-2]
centerface_fake.zip (11.6 KB)
After adding three channels, system supposed to remove a random channel, and then re add, so on and so forth, but frozen screen / slow frame rate is coming after the change. Please help me to identify the issue.