<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello Armin<div><br></div><div>You need to set the “emit-signals” property in the appsink to TRUE. </div><div><br><div dir="ltr">Michael</div><div id="AppleMailSignature" dir="ltr">www.ridgerun.com </div><div dir="ltr"><br><blockquote type="cite">On 13 Sep 2021, at 14:19, Armin Erkert via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span></span><br><span>Hello,</span><br><span></span><br><span>have problems with the following pipe</span><br><span>"appsrc is-live=true name=source caps=video/x-raw,width=2464,height=512,format=GRAY8,framerate=10/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=I420 ! nvv4l2h265enc iframeinterval=20 ! h265parse ! qtmux faststart=true ! appsink name=sink"</span><br><span></span><br><span>which I use in my C++ program, and namely the callback "New-sample" from the appsink, is only called after an EOS in the appsrc</span><br><span>(g_signal_emit_by_name (app->source, "end-of-stream", &ret).</span><br><span></span><br><span>How can I improve this ?</span><br><span></span><br><span></span><br><span>Regarda</span><br><span></span><br><span>--------------------------------</span><br><span>Ing. Erkert Armin</span><br><span>Mittelstrich 9</span><br><span>I-39050 Tiers (BZ)</span><br><span></span><br><span>Email: armin.erkert@rolmail.net</span><br><span>Tel.:  +39 349 4385335</span><br><span>WWW:   www.erkert.it</span><br><span></span><br></div></blockquote></div></body></html>