<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 25, 2019 at 9:42 AM Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="text-align:left;direction:ltr"><div>On Wed, 2019-09-25 at 09:18 -0400, pisymbol . wrote:</div><div><br></div><div>Hi,</div><div><br></div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>Should I expect every single frame the identity handoff callback processes to wound up in the stream?</div><div><br></div><div>Again, I'm talking about a pipeline that ends with something like this:<br></div><div><br></div><div>matroskamux name=muxer streamable=true ! multifilesink max-file-duration=60s  locaiton=capture_%08d.mkv</div><div>... ! h264parse ! identity ! muxer.video_0</div><div>... ! h264parse ! identity ! muxer.video_1</div><div><br></div><div>So should I expect the total number of frames in the MKV for stream 0 and 1 equal to the number of times "handoff" is called? I think the answer is YES, right?<br></div></div></div></blockquote><div><div><br></div><div>Nothing in this pipeline should be dropping data (assuming data is well-formed and well-timestamped etc.).</div><div><br></div><div>However, you have limited control over how the files get split in this scenario with multifilesink.</div><div><br></div><div>Have you tried splitmuxsink instead? (git master supports multiple video streams).</div><div><br></div><div>It might behave slightly better (although with two video streams there are limits what it can do, since keyframes probably won't exactly align between the two video streams).</div></div></div></blockquote><div><br></div><div>Hey Tim, thanks. Yeah, that was the problem with splitmuxsink. I wanted to use it for that EXACT reason you mentioned above. But I need master which complicates distribution.</div><div><br></div><div>I realize keyframes won't align between both streams, but I assume if I concatenate all the 60s timestamp files that should represent every frame in the stream? Right? :-)<br></div><div><br></div><div>-aps<br></div></div></div>