<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    That is a good point, you should also use compositor instead of
    videomixer,<br>
    especially for live streams. In any case, using sync=false on the
    sinks is not<br>
    a desirable solution, rather an admission of defeat :)<br>
    <br>
    Cheers,<br>
    <br>
    <div class="moz-signature">-- <br>
      Mathieu Duponchelle · <a href="https://www.centricular.com">https://www.centricular.com</a></div>
    <br>
    <div class="moz-cite-prefix">On 2/16/21 11:20 AM, Ian Davidson
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0c9c3d0f-a6a9-7fb1-daaf-0086bd709f8b@blueyonder.co.uk">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>I don't see any <b>queue</b> in your pipeline. A queue causes
        the pipeline to have a new thread - so all of your pipeline is
        one thread and is therefore only using one processor. 
        Experiment with putting a queue after each videoscale.<br>
      </p>
      <div class="moz-cite-prefix">On 16/02/2021 09:02, Jim Ruxton
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:b26a31b7-e555-3768-fe17-361f483bd85d@gmail.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>Just discovered that putting sync=false after autovideosink
          solved my problem.</p>
        <p>Jim<br>
        </p>
        <div class="moz-cite-prefix">On 2021-02-16 2:50 a.m., Jim Ruxton
          wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:cf1c3101-6fb7-29af-08e6-541ae8565f45@gmail.com">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          <p>I am trying to combine 2 video streams. One from my laptop
            camera and one from an external webcam. I'm using the
            following pipeline and getting very choppy results. Neither
            my CPU or GPU seem to be working hard. Any ideas how to make
            this less choppy?</p>
          <p> </p>
          <pre class="western" style="margin-bottom: 0.5cm"><strong>./gst-launch-1.0 v4l2src device=/dev/video</strong><strong>4</strong><strong> ! videoscale ! videoconvert ! video/x-raw,format=YUY2, framerate=30/1, width=</strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>640</b></font></font></strong><strong>, height=</strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>480</b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>! </b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>alpha</b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b> </b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>alpha=1</b></font></font></strong><strong> ! videobox border-alpha=0 left=-640 ! 
videomixer name=Mix ! videoconvert ! autovideosink v4l2src device=/dev/video</strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>2</b></font></font></strong><strong> ! videoscale ! videoconvert ! video/x-raw, format=YUY2, framerate=30/1, width=</strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>640</b></font></font></strong><strong>, height=</strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>480</b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>! </b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>alpha</b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b> </b></font></font></strong><strong><font face="Liberation Mono, monospace"><font style="font-size: 10pt" size="2"><b>alpha=1</b></font></font></strong><strong> ! videobox border-alpha=0 right=-640 ! Mix.</strong></pre>
          <p>Thanks,</p>
          <p>Jim<br>
          </p>
          <p><br>
          </p>
          <p>
            <style type="text/css">pre { background: transparent }pre.western { font-family: "Liberation Mono", monospace; font-size: 10pt }pre.cjk { font-family: "Noto Sans Mono CJK SC", monospace; font-size: 10pt }pre.ctl { font-family: "Liberation Mono", monospace; font-size: 10pt }p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }strong { font-weight: bold }</style></p>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>
  </body>
</html>