diff two vids

Mathieu Duponchelle mathieu at centricular.com
Wed Aug 28 17:52:12 UTC 2019


You're trying to force the output of decodebin to have a specific pixel format, before any video conversion
can take place, that's probably your issue here :)

On 8/28/19 7:43 PM, Carl Karsten wrote:
>
> 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
>
> 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.
>
> 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.
>
> Which is why I am trying this, but stuck on an error:
>
> $ gst-launch-1.0 -e \
> >     filesrc location=v1.mp4 ! qtdemux ! decodebin ! \
> >         video/x-raw, format=RGBA ! videoconvert ! mix. \
> >     filesrc location=v2.mp4 ! qtdemux ! decodebin ! \
> >         video/x-raw, format=RGBA ! videoconvert ! mix. \
> >  frei0r-mixer-difference name=mix ! \
> > fakesink
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Redistribute latency...
> Redistribute latency...
> Redistribute latency...
> ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux1: Internal data stream error.
> Additional debug info:
> qtdemux.c(5850): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux1:
> streaming stopped, reason not-negotiated (-4)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> -- 
> Carl K
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190828/8cf51b28/attachment.html>


More information about the gstreamer-devel mailing list