I’ve created a plugin based on the guidelines, using TensorRT for inference within the component. However, after the inference is completed, I use a tee and queue to distribute the stream to a filesink and an rtmpsink for saving and streaming, but I’ve noticed that some frames are being dropped. My inference speed is 20ms. How can I resolve this issue or how can I check it?
I found that this problem seems to have occurred due to issues with DTS and PTS.when setting DTS error,flvmux and mp4mux dont know how to parse the order when the buffer is presented 。so i reset DTS and PTS of every buffer and reset queue1 and queue2, the pipeline works well.
,