<div dir="ltr"><div>Haven't tried them myself, but their description is "Min. number of buffers in the queue to allow reading"</div><div><br></div><div>So to allow reading refers to reading from the queue itself or the queue to read from the rest of upstream sources? That's what got me confused here.</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 15, 2021 at 9:01 AM Marianna Smidth Buschle <<a href="mailto:msb@qtec.com">msb@qtec.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">This isn't something I have ever tried.<br>
<br>
But what about the min-threshold-buffers and similar properties of the <br>
queue?<br>
Can't they be used to require that this amount of data is inside the queue?<br>
<br>
On 14.11.2021 13.00, <a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a> wrote:<br>
> Hi,<br>
><br>
> In the spirit of joining your discussion,<br>
><br>
>     - What makes you think that these queues will always have the amount of<br>
>     buffers that you require at some point? Aren't you just setting their<br>
>     maximum limit?<br>
><br>
> On the other hand, I would like to know if your method would work because I<br>
> have tackled this problem via a totally different approach.<br>
> The idea is to have 2 pipelines. One acting as the trigger, with just the<br>
> inference plugin, and whenever it finds something interesting it signals<br>
> the other application, via a method of your choice, controlling the second<br>
> pipeline. This second pipeline is running concurrently with the first and<br>
> using an appsink as its sink, you will be able to retain some of the frames<br>
> in a data structure queue of a size of your choice. Once signalled, the<br>
> second pipeline would trigger a new on-demand pipeline with an appsrc just<br>
> to write/record the event.<br>
><br>
> Here's my post on stackoverflow to get the full idea:<br>
> <a href="https://stackoverflow.com/questions/68066985/how-to-write-specific-time-interval-of-gstsamples-rtp-over-udp-h264-packets" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/68066985/how-to-write-specific-time-interval-of-gstsamples-rtp-over-udp-h264-packets</a><br>
><br>
> Hope that helps!<br>
><br>
> Best Regards,<br>
> Eslam Ahmed<br>
<br>
-- <br>
Best regards / Med venlig hilsen<br>
“Marianna Smidth Buschle”<br>
<br>
</blockquote></div>