<div dir="ltr">Hi all,<div><br></div><div>I have 4 pipelines. </div><div><br></div><div>Pipeline 1 : video src -> app sink1</div><div>Pipeline 2 : app src2 -> video 1</div><div>Pipeline 3 : app src3 -> downsampled video 2<br></div><div>Pipeline 4 : app src4 ->
downsampled video 3</div><div><br></div><div>In app sink 1, I connect a new-sample callback</div><div><br></div><div>I then take the sample, make a copy and push it to each of the app sources.</div><div><br></div><div>The problem I have is that each pipeline (pipeline 2 to 4) will start at different times.</div><div><br></div><div>If I take a video of a stop watch, I notice that pipeline 2 is 8 seconds offset from the other 2 pipelines.</div><div><br></div><div>The behaviour I am going for is that from one video source I want to end up with 3 different videos at different sizes. Eg. 1080p, 720p, etc. However, each video should be exactly the same.</div><div><br></div><div>I tried to avoid using a Tee and making a single pipeline because Tees take away control over how the frames are going into each element and they might get out of synch.</div><div><br></div><div>With the app source I was hoping to push exactly a certain number of frames into each pipeline and then call the "spit now" function with splitmux sink.</div><div><br></div><div>However, this depends on all pipelines starting at the same time and being in synch.</div><div><br></div><div>Can you advise how to achieve this ? Thanks !<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Sincerely,</span><div><br></div><div>Dwight Kulkarni </div><div><span style="font-size:x-small">B.ASC, M.ASC, PMP</span></div><div><br></div><div><font size="1" face="verdana, sans-serif">Realize Potential</font></div><div><br></div></div></div></div></div></div></div></div></div>