• Hardware Platform (Jetson / GPU): AGX
• DeepStream Version 5.0.1-1
• JetPack Version (valid for Jetson only) 4.2
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) Cuda 10.2
• Issue Type( questions, bugs)
**• How to reproduce the issue ? just run the provided pipeline
I have a pipeline (see image below), there is a tee in the middle of it. The first branch after the tee has an nvosd element in the middle that renders bounding boxes, end terminates in a display sink. The second branch is responsible for writing a raw video file, so it terminates in a filesink. My intention here is writing the video as it was received from the source, i.e. no modification is made on the frames.
If I open the video file that was produced by the second branch, I can see some of the bounding boxes/rectangles that were drawn by the nvosd element in the first branch. (only some of them, not all of them. Some of the rectangles are only generated partly i.e. only top or bottom line is rendered)
How can I fix this?
For me it seems that the two branches operates on the same NVMM memory, and it is matter of pure luck which happens earlier: the nvosd renders the rectangles (partly or fully) or the filesink writes out the frame. Is this assumption correct? If so how can I tell tee or ensure other way that the two branch operates on separate memory?
Thanks in advance