Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Jetson Orin NX • DeepStream Version: 6.2 • JetPack Version (valid for Jetson only): 5.1.1 • TensorRT Version: 5.1.1-b56 • 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)
The program is run from a Python script within our internal library. We have tested the same program with multiple camera models via RTSP streams, the working camera models that could stably run for a long time without crashing are all from Amcrest (tested models include: NC224-XD/U, IP5M-T1277EW-AI, IP5M-T1179EB-28MM), the other camera models (e.g. Honeywell HBW2PER2, Starlight VD-2FR41-ZS, Valucam VC-EB4431R-Z) will run into the “Buffer has no PTS” error sooner or later in non-deterministic time ranging from several minutes to several hours. The complete error messages are as follows:
Error received from element muxer. Could not multiplex stream.: gstqtmux.c(4832): gst_qt_mux_add_buffer (): /GstPipeline:inference-server/GstSplitMuxSink:recorder_0_splitmuxsink_0/GstMP4Mux:muxer:
Buffer has no PTS.
Error from non-source element: muxer
Error received while waiting for EOS: Internal data stream error.. Debug: gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:inference-server/GstSplitMuxSink:recorder_0_splitmuxsink_0/GstQueue:queue0:
streaming stopped, reason error (-5)
Can I get support regarding the root cause of the issue (i.e. why does the Amcrest camera work but none of the others do)? And if the issue is camera model-related, is there a way to patch the pts timestamps inside the program to make those cameras also work? Thank you.
I don’t understand. I have seen Gstreamer-related questions in the forum before, and “Buffer has no pts” issue is fundamentally reported from C script which is provided and supported by Deepstream, I wonder why is this issue considered not related? Is it that I should use a different tag or topic? Thank you.
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstMP4Mux:muxer: Could not multiplex stream.
Additional debug info:
gstqtmux.c(4832): gst_qt_mux_add_buffer (): /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstMP4Mux:muxer:
Buffer has no PTS.
By adding probes to each element’s pads and printing out the PTS/DTS, it is found that the issue will occur when depay receives multiple buffers with the same PTS, then at the parser’s src pad, only the first buffer will include the PTS, the rest will have a PTS of Gst.CLOCK_TIME_NONE. The error can be bypassed by modifying the buffer without PTS to using PTS from depay’s src pad at parser’s src pad.