<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Yes, by default the queue is limited to 200 buffers, 1 MB, or 1
second of data - whichever limit is hit first. You can check the
default values in the docs:
<a class="moz-txt-link-freetext" href="https://gstreamer.freedesktop.org/documentation/coreelements/queue.html?gi-language=c#properties">https://gstreamer.freedesktop.org/documentation/coreelements/queue.html?gi-language=c#properties</a></p>
<p><br>
</p>
<p>So for a 5 second queue, you can set max-size-buffers and
max-size-bytes to zero (no limit) and max-size-time to 5000000000.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 17-05-2022 09:49, Abrar Shahriar
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:TYYPR01MB824520C11F11B0D16138CBDA93CE9@TYYPR01MB8245.jpnprd01.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: "Yu Gothic", 游ゴシック, YuGothic,
sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I tried adding Queue plugins both before and after, still no
success. Do I need to set some params of the Queue elements?</div>
<div>
<div id="Signature">
<div>
<div style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 12pt; color: rgb(0, 0,
0);">
</div>
<div><span style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 15px;"><br>
</span></div>
<div><span style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 15px;"><br>
</span></div>
<div><span style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 15px;">ーーーーーーーーー</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<p style="margin:0in 0in 0.0001pt; font-size:11pt;
font-family:Calibri,sans-serif; background:white">
<span style="font-family:"Yu
Gothic",游ゴシック,YuGothic,sans-serif;
color:rgb(32,31,30)" lang="JA"><span
style="font-family:"Segoe UI", "Segoe
UI Web (West European)", "Segoe UI",
-apple-system, BlinkMacSystemFont, Roboto,
"Helvetica Neue",
sans-serif;font-size:15px;text-align:start;background-color:rgb(255,
255, 255);display:inline !important"><span
style="font-family:"Yu Gothic", 游ゴシック,
YuGothic,
sans-serif;font-size:14.6667px;text-align:left;background-color:rgb(255,
255, 255);display:inline !important">アブラル・ザヒン<span
style="background-color:rgb(255, 255,
255);display:inline !important">・</span><span
style="background-color:rgb(255, 255,
255);display:inline !important">シャハリアル<span> </span></span></span></span><span
style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 15px; text-align:
start; background-color: rgb(255, 255, 255);
display: inline !important;"> (Abrar Zahin Shahriar</span><span
style="font-family: "Yu Gothic", 游ゴシック,
YuGothic, sans-serif; font-size: 15px; text-align:
start; background-color: rgb(255, 255, 255);
display: inline !important;">)</span><br
style="font-family:"Segoe UI", "Segoe
UI Web (West European)", "Segoe UI",
-apple-system, BlinkMacSystemFont, Roboto,
"Helvetica Neue",
sans-serif;font-size:15px;text-align:start;background-color:rgb(255,
255, 255)">
<br style="font-family:"Segoe UI",
"Segoe UI Web (West European)",
"Segoe UI", -apple-system,
BlinkMacSystemFont, Roboto, "Helvetica
Neue",
sans-serif;font-size:15px;text-align:start;background-color:rgb(255,
255, 255)">
<span style="font-family: "Yu Gothic",
游ゴシック, YuGothic, sans-serif; font-size: 15px;
text-align: start; background-color: rgb(255, 255,
255); display: inline !important;">ハイパーダイン株式会社</span><br
style="font-family:"Segoe UI", "Segoe
UI Web (West European)", "Segoe UI",
-apple-system, BlinkMacSystemFont, Roboto,
"Helvetica Neue",
sans-serif;font-size:15px;text-align:start;background-color:rgb(255,
255, 255)">
<span style="font-family: "Yu Gothic",
游ゴシック, YuGothic, sans-serif; font-size: 15px;
text-align: start; background-color: rgb(255, 255,
255); display: inline !important;">〒108-0014 東京都港区芝5丁目9-12 3階</span><br>
</span></p>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Michiel Konstapel <a class="moz-txt-link-rfc2396E" href="mailto:michiel@aanmelder.nl"><michiel@aanmelder.nl></a><br>
<b>Sent:</b> Monday, May 16, 2022 6:11 PM<br>
<b>To:</b> Discussion of the development of and with GStreamer
<a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-devel@lists.freedesktop.org"><gstreamer-devel@lists.freedesktop.org></a><br>
<b>Cc:</b> Abrar Shahriar <a class="moz-txt-link-rfc2396E" href="mailto:abrar.shahriar@hiperdyne.com"><abrar.shahriar@hiperdyne.com></a><br>
<b>Subject:</b> Re: PTS Offset to Add Artificial Delay Not
Working</font>
<div> </div>
</div>
<div>
<p>You may need to ensure that you have at least 5 seconds of
queue capacity, because the buffers will have to be held
somewhere before they can be processed at the later PTS. I
don't know if this needs to be before the probed pad, or
before the downstream element that cares about the PTS (sink,
muxer, mixer, encoder, ..?)<br>
Kind regards,<br>
Michiel<br>
</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 16-05-2022 11:05, Abrar
Shahriar via gstreamer-devel wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div class="x_elementToProof" style="font-family:"Yu
Gothic",游ゴシック,YuGothic,sans-serif; font-size:12pt;
color:rgb(0,0,0)">
Hi,</div>
<div class="x_elementToProof" style="font-family:"Yu
Gothic",游ゴシック,YuGothic,sans-serif; font-size:12pt;
color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:"Yu
Gothic",游ゴシック,YuGothic,sans-serif; font-size:12pt;
color:rgb(0,0,0)">
I tried to add 5 seconds (in ns) to the PTS values on the
incoming buffers in a probe, but I see no delay. I tried it
for both audio and video streams.<br>
<br>
What could be the reason for it not working? I thought PTS
could be used to adjust delay?</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>