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 -- Carl K _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Maybe imagefreeze does what you need:
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 <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
-- Carl K _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by GStreamer-devel mailing list
On Thu, 2021-05-20 at 20:55 -0700, Carl Karsten via gstreamer-devel wrote:
I'm guessing that you might be able to do this in ximagesrc directly by taking advantage of the XDamage extension is to just generate a new frame when a part of the screen has been "damaged", ie, modified. -- Olivier Crête [hidden email] _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |