<div dir="ltr">Hi, <div><br></div><div>I use GStreamer inside OpenCV and I try to figure out - how it's possible to synchronize multiple opencv streams in order to get smallest possible difference of captures. </div><div>So if I set this on loop like this :</div><div><br></div><div>VideoCapture cap1 (... ! ... ! ... appsink)</div><div>VideoCapture cap2 (... ! ... ! ... appsink)<br></div><div><br></div><div>While (true) {</div><div>cap1 >> frame1; </div><div>cap2 >> frame2; </div><div>} </div><div><br></div><div>I get difference because of linear code execution. </div><div><br></div><div>I am thinking about 2 things: </div><div>1. is there any event of first cap frame (so I could manage situation where all src received the first frame)</div><div>1.2 Is it possible to manage that event on opencv code </div><div>2. Do I have to implement some async operation or threads idle state to to request frames simultaneously ?</div><div><br></div><div>Thanks :)</div></div>