<div dir="ltr">Hi,<br><br>I have a pair of pipelines for recording (thanks to Nicolas Dufresne):<div><br><div>ksvideosrc ... ! tee name=t<br>    t. ! queue ! glimagesaink<br>    t. ! queue ! appsink<br><br>appsrc ! x264enc tune=zerolatency ! video/x-h264,stream-format=byte-stream ! filesink location=video.h264<br></div></div><div><br></div><div>My app pass the samples from appsink to appsrc when needed. Everything works.</div><div>But I have to always keep the <a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html#GstAppSink--emit-signals">emit-signals</a> property enabled. I guess It's not good for performance. Am I right? If I enable emit-signals only while recording I get a large time shift in recorded files. It looks like buffering inside appsink. How to drop these samples?</div><div><br></div><div>Thanks,</div><div>Ilya</div></div>