• Hardware Platform: Jetson Xavier NX
• DeepStream Version: 5.0
• JetPack Version: 4.4
• TensorRT Version: 7.1
I want to run deepstream on my jetson in a headless configuration. I don’t want to render any output, I only want to use probes to count objects. I am working from the test3 app, since it is most similar to what I eventually want to do. I have tried changing this code
sink = gst_element_factory_make ("nveglglessink", "nvvideo-renderer");
sink = gst_element_factory_make ("fakesink", "fakesink");
When I compile and run the app with an RTSP url, it seems to do a single inference and then quit:
Decodebin child added: source Running... Decodebin child added: decodebin0 Decodebin child added: rtph264depay0 Decodebin child added: h264parse0 Decodebin child added: capsfilter0 Decodebin child added: nvv4l2decoder0 Opening in BLOCKING MODE NvMMLiteOpen : Block : BlockType = 261 NVMEDIA: Reading vendor.tegra.display-size : status: 6 NvMMLiteBlockCreate : Block : BlockType = 261 In cb_newpad Frame Number = 0 Number of objects = 4 Vehicle Count = 0 Person Count = 4 0:00:07.340585688 2645 0x55b3a71000 WARN nvinfer gstnvinfer.cpp:1946:gst_nvinfer_output_loop:<primary-nvinference-engine> error: Internal data stream error. 0:00:07.340669977 2645 0x55b3a71000 WARN nvinfer gstnvinfer.cpp:1946:gst_nvinfer_output_loop:<primary-nvinference-engine> error: streaming stopped, reason error (-5) ERROR from element primary-nvinference-engine: Internal data stream error. Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(1946): gst_nvinfer_output_loop (): /GstPipeline:dstest3-pipeline/GstNvInfer:primary-nvinference-engine: streaming stopped, reason error (-5) Returned, stopping playback Deleting pipeline
I have also tried unsetting DISPLAY based on other suggestions in this forum, with the same results.
How can I modify the test3 app to not output to the display?