Nvstreamdemux for multiple rtmp output

Please provide complete information as applicable to your setup.

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

I am trying to read multiple rtsp streams → mux togheter → inference → track → demux → sent to different rtmp server

I was able to create a working pipeline from cmd

gst-launch-1.0 filesrc location=sample_1080p_h264.mp4 ! decodebin ! m.sink_0 filesrc location=sample_1080p_h264.mp4 ! decodebin ! m.sink_1 filesrc location=sample_1080p_h264.mp4 ! decodebin ! m.sink_2 filesrc location=sample_1080p_h264.mp4 ! decodebin ! m.sink_3 nvstreammux name=m width=1920 height=1080 batch-size=4 batched-push-timeout=40000 ! queue ! nvinfer config-file-path=/apps/data/deepstream_pgie_config_yolo.txt batch-size=4 ! queue ! nvtracker ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so ! nvstreamdemux name=d d.src_1 ! queue ! nvvideoconvert ! nvdsosd ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! flvmux streamable=true name=mux ! rtmpsink location=<rtmp-server>"

I also wanted to re-create this in Python and I have a method that creates everything that’s needed for each stream that is demuxed and send it do a different rtmp server.

def create_rtmp_output_for_nvosd(pipeline, streamdemux, input_file):
    if not input_file:
        print("No input files provided.")
        return

    for i, file in enumerate(input_file):

        # Create elements with names including the index
        nvvideoconvert = Gst.ElementFactory.make("nvvideoconvert", f"nvvideoconvert_{i}")
        nvvideoconvert_after_osd = Gst.ElementFactory.make("nvvideoconvert", f"nvvideoconvert_after_osd_{i}")

        queue = Gst.ElementFactory.make("queue", f"queue_{i}")
        nvdsosd = Gst.ElementFactory.make("nvdsosd", f"nvdsosd_{i}")
        nvdsosd.set_property('process_mode', 1)
        encoder = Gst.ElementFactory.make("nvv4l2h264enc", f"nvv4l2h264enc_{i}")
        h264parse = Gst.ElementFactory.make("h264parse", f"h264parse_{i}")
        flvmux = Gst.ElementFactory.make("flvmux", f"flvmux_{i}")
        flvmux.set_property('streamable', True)
        rtmpsink = Gst.ElementFactory.make("rtmpsink", f"rtmpsink_{i}")

        # Check if elements are created
        if not nvdsosd or not encoder or not h264parse or not flvmux or not rtmpsink:
            print("Failed to create elements.")
            return

        # Set properties if needed
        rtmpsink.set_property('location',
                          f'rtmp://my-rtmp_{i}')  # Set your RTMP URL here
        rtmpsink.set_property('sync', False)
        rtmpsink.set_property('async', True)

        if is_aarch64():
            encoder.set_property("preset-level", 1)
            encoder.set_property("insert-sps-pps", 1)

        pipeline_helper.add_elements(pipeline,
                                     [
                                         nvvideoconvert,
                                         queue,
                                         nvdsosd,
                                         nvvideoconvert_after_osd,
                                         encoder,
                                         h264parse,
                                         flvmux,
                                         rtmpsink
                                     ])

        src_pad_name = f"src_{i}"
        demux_src_pad = streamdemux.get_request_pad(src_pad_name)
        demux_src_pad.link(queue.get_static_pad('sink'))

        queue.link(nvvideoconvert)
        nvvideoconvert.link(nvdsosd)
        nvdsosd.link(nvvideoconvert_after_osd)
        nvvideoconvert_after_osd.link(encoder)
        encoder.link(h264parse)
        h264parse.link(flvmux)
        flvmux.link(rtmpsink)

The creation of all elements and linking those between one another works and my pipeline starts, but it blocks after first 3 frames being processed. Here’s the log after pipeline starts. It was extracted with GST_DEBUG=3

Starting pipeline

0:00:00.110473916  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:sink> Unable to try format: Unknown error -1
0:00:00.110496310  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:sink> Could not probe minimum capture size for pixelformat YM12
0:00:00.110510095  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:sink> Unable to try format: Unknown error -1
0:00:00.110594817  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:sink> Could not probe maximum capture size for pixelformat YM12
0:00:00.110607780  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x3753e20 Failed to determine interlace mode
0:00:00.110734371  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:sink> Unable to try format: Unknown error -1
0:00:00.110751208  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:sink> Could not probe minimum capture size for pixelformat NM12
0:00:00.110762887  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:sink> Unable to try format: Unknown error -1
0:00:00.110771568  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:sink> Could not probe maximum capture size for pixelformat NM12
0:00:00.110784170  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x3753e20 Failed to determine interlace mode
0:00:00.110859697  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:src> Unable to try format: Unknown error -1
0:00:00.110874112  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:src> Could not probe minimum capture size for pixelformat H264
0:00:00.110885875  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_1:src> Unable to try format: Unknown error -1
0:00:00.110899716  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_1:src> Could not probe maximum capture size for pixelformat H264
0:00:00.111046863  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:sink> Unable to try format: Unknown error -1
0:00:00.111058894  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:sink> Could not probe minimum capture size for pixelformat YM12
0:00:00.111065583  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:sink> Unable to try format: Unknown error -1
0:00:00.111076367  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:sink> Could not probe maximum capture size for pixelformat YM12
0:00:00.111088650  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x3719820 Failed to determine interlace mode
0:00:00.111107732  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:sink> Unable to try format: Unknown error -1
0:00:00.111119854  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:sink> Could not probe minimum capture size for pixelformat NM12
0:00:00.111130860  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:sink> Unable to try format: Unknown error -1
0:00:00.111142955  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:sink> Could not probe maximum capture size for pixelformat NM12
0:00:00.111155698  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x3719820 Failed to determine interlace mode
0:00:00.111209401  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:src> Unable to try format: Unknown error -1
0:00:00.111220656  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:src> Could not probe minimum capture size for pixelformat H264
0:00:00.111232325  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2h264enc_0:src> Unable to try format: Unknown error -1
0:00:00.111243930  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2h264enc_0:src> Could not probe maximum capture size for pixelformat H264
0:00:00.291441962  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291465186  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat MJPG
0:00:00.291483364  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291492329  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat MJPG
0:00:00.291514989  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291526973  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat AV10
0:00:00.291536622  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291547384  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat AV10
0:00:00.291573585  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291586843  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat DVX5
0:00:00.291598820  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291610836  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat DVX5
0:00:00.291629391  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291641651  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat DVX4
0:00:00.291653039  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291660054  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat DVX4
0:00:00.291670554  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291675948  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat MPG4
0:00:00.291681764  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291689324  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat MPG4
0:00:00.291700816  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291713486  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat MPG2
0:00:00.291724562  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291738169  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat MPG2
0:00:00.291758381  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291770304  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat H265
0:00:00.291781162  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291793170  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat H265
0:00:00.291809983  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291820979  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat VP90
0:00:00.291831603  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291842107  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat VP90
0:00:00.291896663  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291908184  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat VP80
0:00:00.291914996  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291921904  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat VP80
0:00:00.291944087  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.291956380  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe minimum capture size for pixelformat H264
0:00:00.292091887  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:sink> Unable to try format: Unknown error -1
0:00:00.292105340  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:sink> Could not probe maximum capture size for pixelformat H264
0:00:00.292167032  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:src> Unable to try format: Unknown error -1
0:00:00.292177358  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:src> Could not probe minimum capture size for pixelformat NM12
0:00:00.292182232  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_0:src> Unable to try format: Unknown error -1
0:00:00.292190831  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_0:src> Could not probe maximum capture size for pixelformat NM12
0:00:00.292205117  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x35f7010 Failed to determine interlace mode
0:00:00.292383869  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292401259  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat MJPG
0:00:00.292412215  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292424756  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat MJPG
0:00:00.292441905  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292451864  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat AV10
0:00:00.292463040  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292473868  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat AV10
0:00:00.292490787  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292503647  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat DVX5
0:00:00.292514769  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292525766  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat DVX5
0:00:00.292545325  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292557326  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat DVX4
0:00:00.292568375  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292579434  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat DVX4
0:00:00.292594879  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292604663  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat MPG4
0:00:00.292614358  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292624712  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat MPG4
0:00:00.292641625  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292652906  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat MPG2
0:00:00.292663470  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292673614  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat MPG2
0:00:00.292690586  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292702638  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat H265
0:00:00.292709795  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292717640  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat H265
0:00:00.292731761  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292743286  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat VP90
0:00:00.292754430  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292765271  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat VP90
0:00:00.292778941  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292788698  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat VP80
0:00:00.292795650  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292807506  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat VP80
0:00:00.292821837  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292833137  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe minimum capture size for pixelformat H264
0:00:00.292841492  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:sink> Unable to try format: Unknown error -1
0:00:00.292853133  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:sink> Could not probe maximum capture size for pixelformat H264
0:00:00.292889480  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:src> Unable to try format: Unknown error -1
0:00:00.292900008  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2942:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:src> Could not probe minimum capture size for pixelformat NM12
0:00:00.292907406  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:3057:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder_1:src> Unable to try format: Unknown error -1
0:00:00.292919483  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2948:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder_1:src> Could not probe maximum capture size for pixelformat NM12
0:00:00.292952091  5527      0x380c890 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0x3620170 Failed to determine interlace mode
Unknown key rtsp for group [sensor0]
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is ON
~~ CLOG[include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
[NvMultiObjectTracker] Initialized
Deserialize yoloLayer plugin: yolo
0:00:02.837000602  5527      0x380c890 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/apps/detecteve/model_b1_gpu0_fp16.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 5
0   INPUT  kFLOAT data            3x640x640
1   OUTPUT kFLOAT num_detections  1
2   OUTPUT kFLOAT detection_boxes 8400x4
3   OUTPUT kFLOAT detection_scores 8400
4   OUTPUT kFLOAT detection_classes 8400

0:00:02.880626320  5527      0x380c890 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /apps/detecteve/model_b1_gpu0_fp16.engine
0:00:02.882604394  5527      0x380c890 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:../data/deepstream_pgie_config_yolo.txt sucessfully
0:00:02.913476004  5527      0x3feff60 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1553:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported timestamp reference clock
0:00:02.913499321  5527      0x3feff60 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1561:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported media clock
A new pad recv_rtp_src_0_2185044335_99 was created
 Unable to link sinkpad
0:00:02.914241785  5527      0x3fef980 FIXME               basesink gstbasesink.c:3246:gst_base_sink_default_event:<nvmsg-broker> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:02.960383113  5527     0x2007c460 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1553:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer1> Unsupported timestamp reference clock
0:00:02.960410204  5527     0x2007c460 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1561:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer1> Unsupported media clock
A new pad recv_rtp_src_0_4128948381_96 was created
 Unable to link sinkpad
0:00:02.961302211  5527      0x3fef980 FIXME               basesink gstbasesink.c:3246:gst_base_sink_default_event:<nvmsg-broker> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:03.023753866  5527      0x3fefea0 WARN            v4l2videodec gstv4l2videodec.c:1847:gst_v4l2_video_dec_decide_allocation:<nvv4l2-decoder_1> Duration invalid, not setting latency
0:00:03.023801276  5527      0x3fefea0 WARN          v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:<nvv4l2-decoder_1:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:03.024351498  5527 0x7f64d0331060 WARN          v4l2bufferpool gstv4l2bufferpool.c:1533:gst_v4l2_buffer_pool_dqbuf:<nvv4l2-decoder_1:pool:src> Driver should never set v4l2_buffer.field to ANY
0:00:03.069111567  5527      0x3fefe40 WARN            v4l2videodec gstv4l2videodec.c:1847:gst_v4l2_video_dec_decide_allocation:<nvv4l2-decoder_0> Duration invalid, not setting latency
0:00:03.069152241  5527      0x3fefe40 WARN          v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:<nvv4l2-decoder_0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:03.069664912  5527 0x7f64dc016980 WARN          v4l2bufferpool gstv4l2bufferpool.c:1533:gst_v4l2_buffer_pool_dqbuf:<nvv4l2-decoder_0:pool:src> Driver should never set v4l2_buffer.field to ANY
Frame number: 0 source id: 1, batch id: 0, num objects: 0
Frame number: 0 source id: 0, batch id: 1, num objects: 0
Frame Number = 0
Frame number: 1 source id: 1, batch id: 0, num objects: 0
Frame number: 1 source id: 0, batch id: 1, num objects: 0
Frame Number = 1
Frame number: 2 source id: 1, batch id: 0, num objects: 0
Frame number: 2 source id: 0, batch id: 1, num objects: 0
Frame Number = 2
Frame number: 3 source id: 1, batch id: 0, num objects: 0
Frame number: 3 source id: 0, batch id: 1, num objects: 0
Frame Number = 3
0:00:03.680344910  5527      0x380e240 FIXME               basesink gstbasesink.c:3246:gst_base_sink_default_event:<sink> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:03.680399704  5527      0x380e240 WARN                   qtmux gstqtmux.c:2981:gst_qt_mux_start_file:<mp4-muxer_0> Robust muxing requires reserved-moov-update-period to be set
0:02:10.378605030  5527      0x3feff60 WARN         rtpjitterbuffer gstrtpjitterbuffer.c:3308:gst_rtp_jitter_buffer_chain:<rtpjitterbuffer0> we are EOS, refusing buffer
0:02:36.314026340  5527 0x7f64c80071e0 WARN                 rtspsrc gstrtspsrc.c:3458:on_timeout_common:<rtsp-source_1> source 823d216f, stream 823d216f in session 0 timed out
^C[NvMultiObjectTracker] De-initialized
0:05:15.362161878  5527 0x7f64d0331060 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2-decoder_1> decreasing timestamp (0:00:00.361354522 < 0:00:00.520756356)
0:05:15.364520183  5527 0x7f64dc016980 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2-decoder_0> decreasing timestamp (0:00:00.432373856 < 0:00:00.552553661)

Could you refer to our demo first?
https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/tree/master/apps/deepstream-demux-multi-in-multi-out

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