<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello David,<br>
    <br>
    To answer your questions:<br>
    <br>
    1. Why is this happening?<br>
    <br>
    It's not really easy to tell without seeing your application, and
    your dot files are a bit mystifying, as both in PLAYING<br>
    and failed the tee that starts your video encoding branch does not
    have a sink pad.<br>
    <br>
    As to the actual issue, you can see that the renegotiation fails
    because you're trying to push caps with a different<br>
    framerate to the muxer, which let's you know it can't support
    changing that on the fly.<br>
    <br>
    2. How can I fix it?<br>
    <br>
    Use ges_track_set_restriction_caps, with a fixed framerate.<br>
    <br>
    <div class="moz-cite-prefix">On 7/25/19 1:23 AM, David Ing wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKF2gC970pK8=qnzAdbGQ50Cejg3twKzByRzXvu8rCvTnJjY9Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>I'm on Fedora 30 running Gstreamer 1.16.0.</div>
        <div><br>
        </div>
        <div>I've got a GESTimeline inside of a GstPipeline.  I have
          attached dot files which shows the pipeline immediately after
          each state transition.</div>
        <div>
          <ul>
            <li>NULL -> READY</li>
            <li>READY -> PAUSED</li>
            <li>PAUSED -> PLAYING</li>
            <li>PLAYING, "JobFailed", when I receive an error message on
              the bus</li>
          </ul>
          <div>I would have provided image files but graphviz doesn't
            like these dot files ... but you can use <a
              href="http://www.webgraphviz.com/" moz-do-not-send="true">http://www.webgraphviz.com/</a> to
            visualize them.  They seem accurate except they show
            tee_video as disconnected (it is actually connected).</div>
        </div>
        <div><br>
        </div>
        <div>I'm attaching a "small_logs.txt" file (less verbose) and a
          "big_logs.txt" file (more verbose).  The interesting bits can
          be observed in the small file.</div>
        <div><br>
        </div>
        <div>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div><font face="courier new, monospace">19-07-24T22:53:13.786414
                INFO    pan CompositionJob.cpp:123 Pipeline state
                changed from PAUSED to PLAYING in 0.000 seconds.<br>
                19-07-24T22:53:14.120278 WARNING qtmux gstqtmux.c:5118
                pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
                stream-format=(string)avc, alignment=(string)au,
                level=(string)4, profile=(string)high, width=(int)1920,
                height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
                framerate=(fraction)15/1,
                interlace-mode=(string)progressive,
                colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
                19-07-24T22:53:14.120551 WARNING qtmux gstqtmux.c:5118
                pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
                stream-format=(string)avc, alignment=(string)au,
                level=(string)4, profile=(string)high, width=(int)1920,
                height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
                framerate=(fraction)15/1,
                interlace-mode=(string)progressive,
                colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
                19-07-24T22:53:14.120617 WARNING GST_PADS gstpad.c:4230
                could not send sticky events<br>
                19-07-24T22:53:14.120740 WARNING qtmux gstqtmux.c:5118
                pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
                stream-format=(string)avc, alignment=(string)au,
                level=(string)4, profile=(string)high, width=(int)1920,
                height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
                framerate=(fraction)15/1,
                interlace-mode=(string)progressive,
                colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
                19-07-24T22:53:14.120822 WARNING qtmux gstqtmux.c:5118
                pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
                stream-format=(string)avc, alignment=(string)au,
                level=(string)4, profile=(string)high, width=(int)1920,
                height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
                framerate=(fraction)15/1,
                interlace-mode=(string)progressive,
                colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
                19-07-24T22:53:14.120896 WARNING qtmux gstqtmux.c:5118
                pad video_0 refused renegotiation to video/x-h264,
codec_data=(buffer)01640028ffe1001f67640028acd940780227e5c05a808080a0000003002000000303d1e30632c001000568ebecb22c,
                stream-format=(string)avc, alignment=(string)au,
                level=(string)4, profile=(string)high, width=(int)1920,
                height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
                framerate=(fraction)15/1,
                interlace-mode=(string)progressive,
                colorimetry=(string)bt709, chroma-site=(string)mpeg2<br>
                19-07-24T22:53:14.137918 WARNING qtdemux qtdemux.c:6607
                error: Internal data stream error.<br>
                19-07-24T22:53:14.138040 WARNING qtdemux qtdemux.c:6607
                error: streaming stopped, reason not-negotiated (-4)<br>
                19-07-24T22:53:14.138201 ERROR   pan
                CompositionJob.cpp:282 GST_MESSAGE_ERROR received from
                element qtdemux5 at position 5465466666: Internal data
                stream error.<br>
                ../gst-plugins-good/gst/isomp4/qtdemux.c(6607):
                gst_qtdemux_loop ():
/GstPipeline:pipeline/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition1/GstBin:current-bin/NleSource:GESVideoUriSource:nlesource4/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin2/GstDecodeBin:decodebin9/GstQTDemux:qtdemux5:<br>
                streaming stopped, reason not-negotiated (-4)</font></div>
          </blockquote>
        </div>
        <br>
        <div>My questions are:</div>
        <div>
          <ol>
            <li>Why is this happening?</li>
            <li>How can I fix it?</li>
          </ol>
        </div>
        <div><br>
        </div>
        <div>TL;DR</div>
        <div>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div>This issue was originally posted on another email
              thread, but I provided logs that were incomplete.</div>
            <div><br>
            </div>
            <a
href="http://gstreamer-devel.966125.n4.nabble.com/GES-1-16-0-caps-renegotiation-problem-td4691402.html"
              moz-do-not-send="true">http://gstreamer-devel.966125.n4.nabble.com/GES-1-16-0-caps-renegotiation-problem-td4691402.html</a></blockquote>
        </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>