<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    I think I'd try elimintating intervideosink from the equation first,
    and directly plug the<br>
    output to a display sink to see if the problem goes away. Then I
    would check the logs<br>
    for potential warnings, with GST_DEBUG=2.<br>
    <br>
    <div class="moz-cite-prefix">On 4/15/20 5:37 PM, Michael wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADE9=X0xN7Znw0s-LvQqfoP+Gc3ofA_JWAU4bAOCaa05q1R-yg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello everybody,<br>
        <br>
        I am struggling a bit with the fact that webrtcbin ->
        decodebin and then scaling pipeline is not working as expected.<br>
        <br>
        I get an incoming Pad (incoming_decodebin_pad)<br>
        <br>
        video/x-raw, format=(string)I420, width=(int)640,
        height=(int)480, interlace-mode=(string)progressive,
        multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
        pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg,
        colorimetry=(string)bt601, framerate=(fraction)0/1<br>
        <br>
        which works perfectly if I do not scale it<br>
        <br>
        <div><img src="cid:part1.31D968D8.E94E0031@centricular.com"
            alt="Bildschirmfoto 2020-04-15 um 16.02.06.png" class=""
            width="562" height="381"><br>
        </div>
        <br>
        but if I add videoscale-> capsfilter between it to scale it
        to "video/x-raw,width=480,height=320" I just get black frames
        (next I added `method=0 add-borders=false`to videoscale same
        result!)and not even the right dimension.<br>
        <br>
        <div><img src="cid:part2.970EDFEA.819FA68F@centricular.com"
            alt="Bildschirmfoto 2020-04-15 um 15.59.56.png" class=""
            width="562" height="209"><br>
        </div>
        <br>
        Here is my Pipeline for the first attempt without videoscale
        which works<br>
        <br>
        <div><img src="cid:part3.9861C254.0196D9F4@centricular.com"
            alt="Bildschirmfoto 2020-04-15 um 16.12.21.png" class=""
            width="562" height="91"><br>
        </div>
        <br>
        And the one with videoscale<br>
        <br>
        <div><img src="cid:part4.41DAE0DF.94BC51FA@centricular.com"
            alt="Bildschirmfoto 2020-04-15 um 16.12.52.png" class=""
            width="562" height="58"><br>
        </div>
        <br>
        Full pipelines are attached as well.<br>
        <br>
        One thing to add. Even if I use the working pipeline the
        incoming webrtc video goes from videoimage to blackframe back to
        videoimage for at least 5 sec on START.<br>
        The pipeline with videoscale never shows an image just black
        frame.<br>
        <div><br>
        </div>
        <div>Pipeline with scale full: black frame</div>
        <div><a
href="https://drive.google.com/file/d/16wMFgTs9C8cRaCGXSUvae6MS2gEISsCh/view?usp=sharing"
            moz-do-not-send="true">https://drive.google.com/file/d/16wMFgTs9C8cRaCGXSUvae6MS2gEISsCh/view?usp=sharing</a><br>
        </div>
        <div><br>
        </div>
        <div>Pipeline without scale: works<br>
          <a
href="https://drive.google.com/file/d/1Gjqcmbm9x2UuepwwJ91upjf23jZJDq5U/view?usp=sharing"
            moz-do-not-send="true">https://drive.google.com/file/d/1Gjqcmbm9x2UuepwwJ91upjf23jZJDq5U/view?usp=sharing</a><br>
        </div>
        <div><br>
        </div>
        <div><br>
          Thank you in advance for any clue!<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <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>