Hi,
From the results, valve plugin may not work as expected. One more thing we can try is to drop the frames in prob function like:
DeepStream SDK FAQ - #2 by ChrisDing
6. Use GST_PAD_PROBE_DROP macro to drop the buffer in the attached probe.
Please try this method and see if it works.