<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p><br>
    </p>
    <p>I'm afraid I can't give you a straight answer there.</p>
    <p>I have tried different pipelines but can't really reproduce yours
      as my src doesn't have the same CAPS.</p>
    <p>And in the different tests I did I saw both CAPS with and without
      colorimetry on the input of 'x264enc'.</p>
    <p><br>
    </p>
    <p>However I would say it sounds strange if the pipeline would be
      failing because the colorimetry is there and it doesn't want it.</p>
    <p>I would expect it to just ignore it.</p>
    <p>What I have seen in some situations was elements failing because
      of missing or unsupported colorimetry.</p>
    <p>Fx:
      <a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1448">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1448</a></p>
    <p><br>
    </p>
    <p>So my best guess is that you need the 'videoconvert' because the
      colorimetry your source provides is incompatible with the
      colorimetry 'x264enc' expects.</p>
    <p>Which is annoying since the docs of 'x264enc' don't mention
      anything about required colorimetry.</p>
    <p>But neither did the docs of 'v4l2sink' in the issue I mentioned
      above.</p>
    <p>I had to figure it out by looking at the source code of
      'v4l2sink'.</p>
    <p><br>
    </p>
    <p>In all my tests I seem to end up with a colorimetry of 2:4:7:1
      for the Y42B format so you can try to see if you can force your
      source to that:</p>
    <p>gst-launch-1.0 v4l2src ! video/x-raw, format=Y42B,
      colorimetry=2:4:7:1 ! fakesink --gst-debug=*:3,GST_CAPS:5</p>
    <p><br>
    </p>
    <p>The tests I did:<br>
    </p>
    <p><br>
    </p>
    <p>- gst-launch-1.0 videotestsrc ! video/x-raw, format=Y42B ! 
      x264enc ! fakesink -v --gst-debug=*:3</p>
    <p><br>
    </p>
    <p>/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src:
      caps = video/x-raw, format=(string)Y42B, width=(int)320,
      height=(int)240, framerate=(fraction)30/1,
      multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
      /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps
      = video/x-raw, format=(string)Y42B, width=(int)320,
      height=(int)240, framerate=(fraction)30/1,
      multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
      Redistribute latency...<br>
      /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =
      video/x-raw, format=(string)Y42B, width=(int)320, height=(int)240,
      framerate=(fraction)30/1, multiview-mode=(string)mono,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
      /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps
      = video/x-raw, format=(string)Y42B, width=(int)320,
      height=(int)240, framerate=(fraction)30/1,
      multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
    </p>
    <p><br>
    </p>
    <p>- gst-launch-1.0 videotestsrc !  x264enc ! fakesink -v
      --gst-debug=*:3</p>
    <p><br>
    </p>
    <p>/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src:
      caps = video/x-raw, width=(int)320, height=(int)240,
      framerate=(fraction)30/1, format=(string)Y444,
      multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
      Redistribute latency...<br>
      /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =
      video/x-raw, width=(int)320, height=(int)240,
      framerate=(fraction)30/1, format=(string)Y444,
      multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive<br>
    </p>
    <p><br>
    </p>
    <p>- gst-launch-1.0 v4l2src device=/dev/qtec/video0 ! videoconvert !
      video/x-raw, format=Y42B !  x264enc ! fakesink -v --gst-debug=*:3</p>
    <p><br>
    </p>
    <p>/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps =
      video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)BGRx,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)sRGB<br>
      /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src:
      caps = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, format=(string)Y42B,
      colorimetry=(string)2:4:7:1<br>
      /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps
      = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, format=(string)Y42B,
      colorimetry=(string)2:4:7:1<br>
      Redistribute latency...<br>
      /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =
      video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, format=(string)Y42B,
      colorimetry=(string)2:4:7:1<br>
      /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps
      = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, format=(string)Y42B,
      colorimetry=(string)2:4:7:1<br>
      /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink:
      caps = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)BGRx,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)sRGB</p>
    <p><br>
    </p>
    <p>- gst-launch-1.0 v4l2src device=/dev/qtec/video0 ! videoconvert
      !  x264enc ! fakesink -v --gst-debug=*:3</p>
    <p><br>
    </p>
    <p>/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps =
      video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)BGRx,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)sRGB<br>
      /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src:
      caps = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)Y444,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1<br>
      Redistribute latency...<br>
      /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps =
      video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)Y444,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)2:4:7:1<br>
      /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink:
      caps = video/x-raw, width=(int)1024, height=(int)544,
      framerate=(fraction)120/1, format=(string)BGRx,
      pixel-aspect-ratio=(fraction)1/1,
      interlace-mode=(string)progressive, colorimetry=(string)sRGB<br>
      <br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 19.02.2023 17.10, Nick Kitchel
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BL3PR04MB8089BD280BE39134038DC558BBA79@BL3PR04MB8089.namprd04.prod.outlook.com">
      <table class="moz-header-part1 moz-main-header" width="100%"
        cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td>
              <div class="moz-header-display-name"
                style="display:inline;">Subject: </div>
              Re: Internal data stream error</td>
          </tr>
          <tr>
            <td>
              <div class="moz-header-display-name"
                style="display:inline;">From: </div>
              Nick Kitchel <a class="moz-txt-link-rfc2396E" href="mailto:nkitchel@ihmc.org"><nkitchel@ihmc.org></a></td>
          </tr>
          <tr>
            <td>
              <div class="moz-header-display-name"
                style="display:inline;">Date: </div>
              19.02.2023 17.10</td>
          </tr>
        </tbody>
      </table>
      <table class="moz-header-part2 moz-main-header" width="100%"
        cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td>
              <div class="moz-header-display-name"
                style="display:inline;">To: </div>
              Marianna Smidth Buschle <a class="moz-txt-link-rfc2396E" href="mailto:msb@qtec.com"><msb@qtec.com></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div class="moz-text-html" lang="x-western">
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          Ok so when I'm using this pipeline: <b class="elementToProof">gst-launch-1.0
            v4l2src ! videoconvert ! x264enc ! fakesink v
            --gst-debug=*:3,GST_CAPS:5</b></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <b class="elementToProof"><br>
          </b></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1">The returned caps
            for the first three elements are as follows:
            <br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1"><br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1">4l2src0.GstPad:src:
            caps = video/x-raw, width=(int)1280, height=(int)720,
            framerate=(fraction)10/1, format=(string)YUY2,
            pixel-aspect-ratio=(fraction)1/1,
            colorimetry=(string)2:4:5:1,
            interlace-mode=(string)progressive
            <div><br class="ContentPasted1">
            </div>
            <div class="ContentPasted1">videoconvert0.GstPad:sink: caps
              = video/x-raw, width=(int)1280, height=(int)720,
              framerate=(fraction)10/1, format=(string)YUY2,
              pixel-aspect-ratio=(fraction)1/1,
              colorimetry=(string)2:4:5:1,
              interlace-mode=(string)progressive</div>
            <div><br class="ContentPasted1">
            </div>
            <div class="ContentPasted1">videoconvert0.GstPad:src: caps =
              video/x-raw, width=(int)1280, height=(int)720,
              framerate=(fraction)10/1, format=(string)Y42B,
              pixel-aspect-ratio=(fraction)1/1,
              interlace-mode=(string)progressive</div>
            <div><br class="ContentPasted1">
            </div>
            x264enc0.GstPad:sink: caps = video/x-raw, width=(int)1280,
            height=(int)720, framerate=(fraction)10/1,
            format=(string)Y42B, pixel-aspect-ratio=(fraction)1/1,
            interlace-mode=(string)progressive<br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1"><br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1">These caps work
            great and everything things to run fine. But if I don't use
            the videoconvert  element the pipeline fails. Even though I
            can set the v4l2src to use the correct formant that goes
            with x264enc it won't work. Is this because the src and sink
            caps all have to match on both sides? v4l2src has a
            <b>colorimetry </b>and x264enc doesn't. Will that cause the
            failure if a src element has a cap setting that the sink
            doesn't have? Because when going through videoconvert it
            works but without it the pipeline fails. This seems to have
            to be that fact that videoconvert can use <b>colorimetry</b>?</span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1"><br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1">Please let me know
            thanks.</span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1"><br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
          <span class="elementToProof ContentPasted1">Nick<br>
          </span></div>
        <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
          font-size: 12pt; color: rgb(0, 0, 0); background-color:
          rgb(255, 255, 255);" class="elementToProof ContentPasted0">
        </div>
        <hr style="display:inline-block;width:98%" tabindex="-1">
        <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
            face="Calibri, sans-serif" color="#000000"><b>From:</b>
            Marianna Smidth Buschle <a class="moz-txt-link-rfc2396E" href="mailto:msb@qtec.com"><msb@qtec.com></a><br>
            <b>Sent:</b> Monday, February 13, 2023 10:44 AM<br>
            <b>To:</b> Nick Kitchel <a class="moz-txt-link-rfc2396E" href="mailto:nkitchel@ihmc.org"><nkitchel@ihmc.org></a><br>
            <b>Subject:</b> Re: Internal data stream error</font>
          <div> </div>
        </div>
        <div>
          <div dir="auto">
            <div>Yes</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">x264enc.src needs to able to provide one of
              the formats that mp4mux.sink accepts.</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">That is how the CAPS negotiation works.</div>
            <div dir="auto">All elements tell what they can provide and
              what they can accept and common formats are then found.</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">mp4mux.sink accepts fx</div>
            <div dir="auto">video/x-h264:</div>
            <div dir="auto">  stream-format: { (string)avc, (string)avc3
              }</div>
            <div dir="auto">      alignment: au</div>
            <div dir="auto">          width: [ 16, 2147483647 ]</div>
            <div dir="auto">         height: [ 16, 2147483647 ]</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">And x264enc.sink can provide fx</div>
            <div dir="auto">video/x-h264:</div>
            <div dir="auto">      framerate: [ 0/1, 2147483647/1 ]</div>
            <div dir="auto">          width: [ 1, 2147483647 ]</div>
            <div dir="auto">         height: [ 1, 2147483647 ]</div>
            <div dir="auto">  stream-format: { (string)avc,
              (string)byte-stream }</div>
            <div dir="auto">      alignment: au<br>
              <br>
              <div class="x_gmail_quote" dir="auto">
                <div dir="ltr" class="x_gmail_attr">On Mon, 13 Feb 2023,
                  16:23 Nick Kitchel, <<a
                    href="mailto:nkitchel@ihmc.org"
                    moz-do-not-send="true" class="moz-txt-link-freetext">nkitchel@ihmc.org</a>>
                  wrote:<br>
                </div>
                <blockquote class="x_gmail_quote" style="margin:0 0 0
                  .8ex; border-left:1px #ccc solid; padding-left:1ex">
                  <div dir="ltr">
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Ok thats helpful to look into. Is it true that for
                      each element in the middle that the src -> sink
                      needs to match??
                      <br>
                      <br>
                      So the x264enc.src -> mp4mux.sink needs to
                      match?<br>
                      <br>
                      I wanted to confirm this because I'm struggling to
                      figure this out.</div>
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      <br>
                    </div>
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Let me know,</div>
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      <br>
                    </div>
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Thanks,</div>
                    <div
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:12pt; color:rgb(0,0,0);
                      background-color:rgb(255,255,255)">
                      Nick<br>
                    </div>
                    <hr style="display:inline-block; width:98%">
                    <div id="x_m_1601701183758391642divRplyFwdMsg"
                      dir="ltr"><font style="font-size:11pt"
                        face="Calibri, sans-serif" color="#000000"><b>From:</b>
                        Marianna Smidth Buschle <<a
                          href="mailto:msb@qtec.com" target="_blank"
                          rel="noreferrer" moz-do-not-send="true"
                          class="moz-txt-link-freetext">msb@qtec.com</a>><br>
                        <b>Sent:</b> Thursday, February 9, 2023 12:26 AM<br>
                        <b>To:</b> <a
                          href="mailto:gstreamer-devel@lists.freedesktop.org"
                          target="_blank" rel="noreferrer"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">
                          gstreamer-devel@lists.freedesktop.org</a> <<a
href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank"
                          rel="noreferrer" moz-do-not-send="true"
                          class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>><br>
                        <b>Cc:</b> Nick Kitchel <<a
                          href="mailto:nkitchel@ihmc.org"
                          target="_blank" rel="noreferrer"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">nkitchel@ihmc.org</a>><br>
                        <b>Subject:</b> Re: Internal data stream error</font>
                      <div> </div>
                    </div>
                    <div><font size="2"><span style="font-size:11pt">
                          <div>> streaming stopped, reason
                            not-negotiated (-4)<br>
                            <br>
                            Means incompatible CAPS.<br>
                            <br>
                            You can try debugging by adding
                            '--gst-debug=*:3,GST_CAPS:5'<br>
                            <br>
                            This should hopefully give you more
                            information on the offered and <br>
                            accepted CAPS.<br>
                            <br>
                            Otherwise it is always a good idea to
                            simplify the pipeline in order to <br>
                            test where the problem is.<br>
                            Fx use a 'fakesink' or 'videotestsrc' to
                            replace parts of your pipeline.<br>
                            <br>
                            gst-launch-1.0 decklinkvideosrc
                            connection=sdi ! fakesink -v
                            --gst-debug=*:3,GST_CAPS:5<br>
                            <br>
                            gst-launch-1.0 decklinkvideosrc
                            connection=sdi ! video/x-raw, width=720,
                            height=486, framerate=30000/1001 ! fakesink
                            -v --gst-debug=*:3,GST_CAPS:5<br>
                            <br>
                            gst-launch-1.0 decklinkvideosrc
                            connection=sdi ! videoconvert ! x264enc !
                            fakesink -v --gst-debug=*:3,GST_CAPS:5<br>
                            <br>
                            gst-launch-1.0 decklinkvideosrc
                            connection=sdi ! video/x-raw, width=720,
                            height=486, framerate=30000/1001<br>
                              ! videoconvert ! x264enc ! fakesink -v
                            --gst-debug=*:3,GST_CAPS:5<br>
                            <br>
                            gst-launch-1.0 videtestsrc ! videoconvert !
                            x264enc ! video/x-h264, width=720,
                            height=486, framerate=30000/1001 ! fakesink
                            -v --gst-debug=*:3,GST_CAPS:5<br>
                            <br>
                            And so on...<br>
                            <br>
                            Best Regards<br>
                            Marianna<br>
                            <br>
                            On 08.02.2023 20.59, <a
                              href="mailto:gstreamer-devel-request@lists.freedesktop.org"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">
gstreamer-devel-request@lists.freedesktop.org</a> wrote:<br>
                            > Message: 1<br>
                            > Date: Wed, 8 Feb 2023 19:44:19 +0000<br>
                            > From: Nick Kitchel<<a
                              href="mailto:nkitchel@ihmc.org"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">nkitchel@ihmc.org</a>><br>
                            > To:"<a
                              href="mailto:gstreamer-devel@lists.freedesktop.org"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>"<br>
                            >        <<a
                              href="mailto:gstreamer-devel@lists.freedesktop.org"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>><br>
                            > Subject: Internal data stream error<br>
                            > Message-ID:<br>
                            >        <<a
href="mailto:BL3PR04MB8089ECD025787FBF89F1B497BBD89@BL3PR04MB8089.namprd04.prod.outlook.com"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">BL3PR04MB8089ECD025787FBF89F1B497BBD89@BL3PR04MB8089.namprd04.prod.outlook.com</a>><br>
                            >        <br>
                            > Content-Type: text/plain;
                            charset="iso-8859-1"<br>
                            ><br>
                            > Hello,<br>
                            ><br>
                            > I'm trying to get decklinkvideosrc to
                            work with x264enc and mp4mux but seem to be
                            getting stuck. I've been messing around with
                            the caps but can't get it working correctly.<br>
                            ><br>
                            > When I run this command line:
                            gst-launch-1.0 decklinkvideosrc
                            connection=sdi ! videoconvert ! x264enc !
                            video/x-h264, width=720, height=486,
                            framerate=30000/1001 ! mp4mux ! filesink
                            location=decklinkCapture.mov -v<br>
                            ><br>
                            > I get this output :<br>
                            ><br>
                            > Setting pipeline to PAUSED ...<br>
                            > Pipeline is live and does not need
                            PREROLL ...<br>
                            >
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
                            hw-serial-number =<br>
                            > Setting pipeline to PLAYING ...<br>
                            > New clock: GstSystemClock<br>
                            >
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0.GstPad:src:
                            caps = video/x-raw, width=(int)720,
                            height=(int)486,
                            pixel-aspect-ratio=(fraction)10/11,
                            interlace-mode=(string)interleaved,
                            framerate=(fraction)30000/1001,
                            field-order=(string)bottom-field-first,
                            format=(string)UYVY,
                            colorimetry=(string)bt601,
                            chroma-site=(string)mpeg2<br>
                            >
                            /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src:
                            caps = video/x-raw, width=(int)720,
                            height=(int)486,
                            framerate=(fraction)30000/1001,
                            format=(string)Y42B,
                            pixel-aspect-ratio=(fraction)10/11,
                            interlace-mode=(string)interleaved,
                            field-order=(string)bottom-field-first<br>
                            > Redistribute latency...<br>
                            >
                            /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink:
                            caps = video/x-raw, width=(int)720,
                            height=(int)486,
                            framerate=(fraction)30000/1001,
                            format=(string)Y42B,
                            pixel-aspect-ratio=(fraction)10/11,
                            interlace-mode=(string)interleaved,
                            field-order=(string)bottom-field-first<br>
                            >
                            /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink:
                            caps = video/x-raw, width=(int)720,
                            height=(int)486,
                            pixel-aspect-ratio=(fraction)10/11,
                            interlace-mode=(string)interleaved,
                            framerate=(fraction)30000/1001,
                            field-order=(string)bottom-field-first,
                            format=(string)UYVY,
                            colorimetry=(string)bt601,
                            chroma-site=(string)mpeg2<br>
                            > Redistribute latency...<br>
                            >
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
                            signal = false<br>
                            > WARNING: from element
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
                            No signal<br>
                            > Additional debug info:<br>
                            > gstdecklinkvideosrc.cpp(1118):
                            gst_decklink_video_src_create ():
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:<br>
                            > No input source was detected - video
                            frames invalid<br>
                            >
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0.GstPad:src:
                            caps = video/x-raw, width=(int)1280,
                            height=(int)720,
                            pixel-aspect-ratio=(fraction)1/1,
                            interlace-mode=(string)progressive,
                            framerate=(fraction)60000/1001,
                            format=(string)UYVY,
                            colorimetry=(string)bt709,
                            chroma-site=(string)mpeg2<br>
                            > Redistribute latency...<br>
                            >
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
                            signal = true<br>
                            > INFO:<br>
                            > gstdecklinkvideosrc.cpp(1125):
                            gst_decklink_video_src_create ():
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:<br>
                            > Input source detected<br>
                            > ERROR: from element
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
                            Internal data stream error.<br>
                            > Additional debug info:<br>
                            > gstbasesrc.c(3072): gst_base_src_loop
                            ():
                            /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:<br>
                            > streaming stopped, reason
                            not-negotiated (-4)<br>
                            > Execution ended after 0:00:00.145124701<br>
                            > Setting pipeline to NULL ...<br>
                            > Freeing pipeline ...<br>
                            ><br>
                            > I'm not sure where the caps are going
                            wrong. Any help would be appreciated. Also
                            is there any place where I can see what
                            encoders go with specific muxers? It seems I
                            just have to google the element and hope the
                            results is good enough to show me what else
                            I can use with it.<br>
                            ><br>
                            > Thanks,<br>
                            > Nick<br>
                            <br>
                            -- <br>
                            Best regards / Med venlig hilsen<br>
                            “Marianna Smidth Buschle”<br>
                            <br>
                          </div>
                        </span></font></div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”</pre>
  </body>
</html>