dedupe video frames
Michael Gruner
michael.gruner at ridgerun.com
Fri May 21 22:18:59 UTC 2021
Oh I see. Yeah I don’t know if there’s something out of the box for that, but here's an element that compares images using SSIM:
https://github.com/GStreamer/gst-plugins-bad/blob/master/ext/iqa/iqa.c
> On 21 May 2021, at 12:27, Carl Karsten <carl at nextdayvideo.com> wrote:
>
> imagefreeze is the opposite of what I want
> "It duplicates the first frame..."
>
> I want a filter (is filter the right term here?) I want something that does not pass frames that are the same as the previous frame.
> Frame number and time get adjusted so the result shows something moving at all times.
>
> If I have these frames:
> a, b1, b2, b3, c, d
>
> and b1,2,3 are all the same, output is a, b1, c, d
>
>
>
>
> On Fri, May 21, 2021 at 10:05 AM Michael Gruner <michael.gruner at ridgerun.com <mailto:michael.gruner at ridgerun.com>> wrote:
> Maybe imagefreeze does what you need:
>
> https://gstreamer.freedesktop.org/documentation/imagefreeze/index.html?gi-language=python#imagefreeze-page <https://gstreamer.freedesktop.org/documentation/imagefreeze/index.html?gi-language=python#imagefreeze-page>
>
> Michael
>
>> On 20 May 2021, at 21:55, Carl Karsten via gstreamer-devel <gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>> wrote:
>>
>>
>> I want to remove duplicate frames. the source is ximage, so anytime there is no activity, the fames should be the same, and boring :p
>>
>> compare looks useful, but I don't know how
>>
>> https://gstreamer.freedesktop.org/documentation/debugutilsbad/compare.html?gi-language=python#compare <https://gstreamer.freedesktop.org/documentation/debugutilsbad/compare.html?gi-language=python#compare>
>>
>> --
>> Carl K
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
>
> --
> Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210521/eb804375/attachment.htm>
More information about the gstreamer-devel
mailing list