Synchronization between pgie probe and sgie probe

Hi,
It looks like your use-case is to run two primary gie. May refer to this topic:
Adding a ghost pad after splitting a pipeline using Tee? - #11 by DaneLLL
You can get the result separately by setting unique-id. Please check if this can be applied to your use-case.