<div dir="ltr">Paste the console output of your pipeline<div><br>gst-launch-1.0 -v tcpclientsrc host='192.168.1.4' port=12000 ! queue2 ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! pulsesink decoder. ! queue ! videoconvert ! xvimagesink<br><br>and also with the videomixer<br><div><br></div><div>gst-launch-1.0 -v tcpclientsrc host='192.168.1.4' port=12000 ! queue2 ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! pulsesink decoder. ! queue ! videoconvert ! videomixer ! xvimagesink<br></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-13 18:12 GMT+01:00 Bernhard Graaf <span dir="ltr"><<a href="mailto:bernhard.graaf@gmx.de" target="_blank">bernhard.graaf@gmx.de</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div lang="DE" link="blue" vlink="blue">
<div>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Hi Sèrgio,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">I have checked this. If I
try to test the pipeline with gst-launch, I get the same result (whatever
position, before queue, after queue, after videoconvert). <u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">gst-launch-1.0 -vvv
tcpclientsrc host='192.168.1.4' port=12000 ! queue2 ! decodebin name=decoder
decoder. ! queue ! audioconvert ! audioresample ! pulsesink decoder. ! queue
! videoconvert ! xvimagesink<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">The pipeline is hanging.
If I remove only the videomixer, the pipeline is working well.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">The gst_pad_link()
returned ‘GST_PAD_LINK_NOFORMAT’.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">Any Idea?<u></u><u></u></span></font></p><span class="">
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:Arial;color:navy">Bernhard<u></u><u></u></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">Von:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> gstreamer-devel
[mailto:<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>] <b><span style="font-weight:bold">Im Auftrag von </span></b>Sérgio Agostinho<br>
<b><span style="font-weight:bold">Gesendet:</span></b> Samstag, 13. Dezember
2014 16:38<br>
<b><span style="font-weight:bold">An:</span></b> <u></u>Discussion
of the development of and with GStreamer<u></u><br>
<b><span style="font-weight:bold">Betreff:</span></b> Re: dynamic videomixing</span></font><u></u><u></u></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</span><div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi Bernhard, <u></u><u></u></span></font></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I've tested the pipeline below and it works so the answer to your
initial question is, yes you can have only one sink pad in the video mixer<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">gst-launch-1.0 -ev v4l2src ! videomixer ! xvimagesink<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Regarding the second question. <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-link" target="_blank">gst_pad_link()</a> returns
the reason why the link failed, and it is normally quite descriptive as you can
see on <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadLinkReturn" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadLinkReturn</a>
. Try to see what it is returning in your case.<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Also have you tried to test your pipeline in gst-launch with the video
mixer?<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Sérgio<u></u><u></u></span></font></p>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div></div>