<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;" bgcolor="#ffffff" text="#2e3436" link="#1b6acb" vlink="#2e3436"><div>Hi Carl,</div><div><br></div><div>I was just curious what your pipeline does and the following did not have negotiation error:</div><div><br></div><div>gst-launch-1.0 -e \</div><div>     filesrc location=v1.mp4 ! qtdemux ! decodebin ! \</div><div>         videoconvert ! mix. \</div><div>     filesrc location=v2.mp4 ! qtdemux ! decodebin ! \</div><div>         videoconvert ! mix. \</div><div>  frei0r-mixer-difference name=mix ! \</div><div> fakesink</div><div><br></div><div>ie. no caps enforced in the pipeline explicitly and 'videoconvert' negotiating the best common format.</div><div><br></div><div>BTW, adding `--gst-debug=3` option showed me that (in my case at least) I420 was still used instead of RGBA.</div><div><br></div><div>Hope this helps,</div><div>Kris</div><div><br></div><div>On Sun, 2019-09-01 at 15:05 -0500, Carl Karsten wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>gst-launch-1.0 -e \<br>    filesrc location=v1.mp4 ! qtdemux ! decodebin ! \<br>    filesrc location=v2.mp4 ! qtdemux ! decodebin ! \<br> frei0r-mixer-difference name=mix ! \<br>fakesink<br></div><div><br></div><div>Setting pipeline to PAUSED ...</div>Pipeline is PREROLLING ...<br>Redistribute latency...<br>Redistribute latency...<br>Redistribute latency...<br>ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux1: Internal data stream error.<br>Additional debug info:<br>qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux1:<br>streaming stopped, reason not-negotiated (-4)<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><div><br></div><div>This works:</div><div>gst-launch-1.0 -e     filesrc location=v1.mp4 ! qtdemux ! decodebin ! fakesink<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 28, 2019 at 12:43 PM Carl Karsten <<a href="mailto:carl@nextdayvideo.com">carl@nextdayvideo.com</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail-m_-550446768594851387gmail-cooked"><p>I encoded a 26min movie v1.mp4.  Then I cut out 1 min from 9:00 to 10:00 and added fad out/in and encoded to v2.mp4<br></p>
<p>Now I have AV sync problems that I can see at 7:00  I was doing some 
other work and noticed the video hiccup a little: it paused then jumped 
and was back in sync.</p>
<p>To try and narrow down where the problem is, I’d like to compare v1/v2 frame by frame and look for differences.   There shouldn’t be 
any until the fade at 9:00.</p>
<p>Which is why I am trying this, but stuck on an error:</p><p></p><pre>$ gst-launch-1.0 -e \</pre><pre>>     filesrc location=v1.mp4 ! qtdemux ! decodebin ! \</pre><pre>>         video/x-raw, format=RGBA ! videoconvert ! mix. \</pre><pre>>     filesrc location=v2.mp4 ! qtdemux ! decodebin ! \</pre><pre>>         video/x-raw, format=RGBA ! videoconvert ! mix. \</pre><pre>>  frei0r-mixer-difference name=mix ! \</pre><pre>> fakesink</pre><br><br><pre>Setting pipeline to PAUSED ...</pre><pre>Pipeline is PREROLLING ...</pre><pre>Redistribute latency...</pre><pre>Redistribute latency...</pre><pre>Redistribute latency...</pre><pre>ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux1: Internal data stream error.</pre><pre>Additional debug info:</pre><pre>qtdemux.c(5850): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux1:</pre><pre>streaming stopped, reason not-negotiated (-4)</pre><pre>ERROR: pipeline doesn't want to preroll.</pre><pre>Setting pipeline to NULL ...</pre><pre>Freeing pipeline ...</pre></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_-550446768594851387gmail_signature"><div dir="ltr"><span>Carl K<br></span></div></div></div>
</blockquote></div><br clear="all"><br><pre>_______________________________________________</pre><pre>gstreamer-devel mailing list</pre><a href="mailto:gstreamer-devel@lists.freedesktop.org"><pre>gstreamer-devel@lists.freedesktop.org</pre></a><pre><br></pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"><pre>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</pre></a></blockquote></body></html>