<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
What do you mean exactly by "stop the pipeline"? I assume you mean
the state doesn't actually change,<br>
but compositor simply stops producing buffers?<br>
<br>
If you are not using the compositor in "live" mode, ie none of the
sources you plug in are live, then compositor<br>
will wait for all pads to have data before mixing the output buffer,
this might be the problem you are observing,<br>
either your new source does not push any buffers, or the buffers it
does push do not have the expected<br>
timestamps and are simply getting dropped, in which case you might
want to set an offset on the pad.<br>
<br>
Using GST_DEBUG=*aggregator*:6 should give you more information
regarding this issue.<br>
<br>
<div class="moz-cite-prefix">On 04/10/2018 06:23 PM, Weber, Holger
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:30E80DB4478A23479C2EED20594610341B464924@VMEXCH2010ENT.telerob.local">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I want to mix multiple
video streams into one picture.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Therefore I use the
compositor element. I can mix two videos and it seems to
work fine (written in C).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">One requirement is, to
mix only one to up to four (quad view) videos.
<br>
Just for a quick test I only added one video source, started
the pipeline and later, while the video was running, I
called gst_element_get_request_pad(pData->m_pElMixer,
"sink_%u"); which leads to stop the pipeline.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Can that be done this
way or do I need to add all four sink pads with fake sources
to the compositor before starting and replacing them later?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind Regards<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>