diff two vids
Carl Karsten
carl at nextdayvideo.com
Sun Sep 1 20:05:52 UTC 2019
gst-launch-1.0 -e \
filesrc location=v1.mp4 ! qtdemux ! decodebin ! \
filesrc location=v2.mp4 ! qtdemux ! decodebin ! \
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(6073): 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 ...
This works:
gst-launch-1.0 -e filesrc location=v1.mp4 ! qtdemux ! decodebin !
fakesink
On Wed, Aug 28, 2019 at 12:43 PM Carl Karsten <carl at nextdayvideo.com> 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
>
--
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190901/9e0ba6c3/attachment.html>
More information about the gstreamer-devel
mailing list