<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I added the queue to add latency of 5 sec but now it crashes</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">gst-launch-1.0 decklinkvideosrc mode=18 '!' queue max-size-time=0 max-size-bytes=0 max-size-time=0 min-threshold-time=5000000000 '!' multiqueue name=q '!' decklinkvideosink mode=18 decklinkaudiosrc '!'
 queue max-size-time=0 max-size-bytes=0 max-size-time=0 min-threshold-time=5000000000 '!' q. q. '!' decklinkaudiosink</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to PAUSED ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Pipeline is live and does not need PREROLL ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to PLAYING ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">New clock: GstDecklinkOutputClock</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Redistribute latency...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">ERROR: from element /GstPipeline:pipeline0/GstDecklinkVideoSink:decklinkvideosink0: GStreamer encountered a general stream error.</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Additional debug info:</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">gstdecklinkvideosink.cpp(1143): gst_decklink_video_sink_prepare (): /GstPipeline:pipeline0/GstDecklinkVideoSink:decklinkvideosink0:</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Failed to schedule frame: 0xffffffff80000008</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Execution ended after 0:00:06.156931666</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to PAUSED ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to READY ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to NULL ...</span></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:13.0px Menlo;color:#3b2322;background-color:#d7d3b7">
<span style="font-variant-ligatures:no-common-ligatures">Freeing pipeline ...</span></p>
<br class="Apple-interchange-newline">
Please help.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Vick Kumar<br>
<b>Sent:</b> Sunday, November 1, 2020 4:15 PM<br>
<b>To:</b> gstreamer-devel@lists.freedesktop.org <gstreamer-devel@lists.freedesktop.org><br>
<b>Subject:</b> Proper use and setting for multi queue</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I want to delay the AV by few seconds. I can use queue but I loose AV synchronization and pipeline stalls.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Here is my pipeline:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="color:rgb(212,212,212); background-color:rgb(30,30,30); font-family:Menlo,Monaco,"Courier New",monospace; font-size:12px; line-height:18px">
<div><span>gst-launch-1.0 decklinkvideosrc mode=18 ! \</span></div>
<div><span>multiqueue name=q max-size-buffers=0 max-size-time=0 max-size-bytes=0 max-size-time=0 ! decklinkvideosink mode=18 \</span></div>
<div><span>decklinkaudiosrc ! q. q. ! decklinkaudiosink</span></div>
<br>
</div>
<br class="x_Apple-interchange-newline">
What are the right properties settings that I can use to delay audio video by say 30 Sec.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Open to ideas - Let me know if you have better options ?</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks in advance,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Vick</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
</body>
</html>