Transforming GstMeta for saturation overlays
Josh Doe
josh at joshdoe.com
Tue Jul 12 11:36:59 UTC 2016
I'd like to create a pair of video filters, the first basically creates a
mask, indicating which pixels are saturated (or just over/under a
threshold), which are "stuck" (haven't changed in the last N frames),
perhaps adding other criteria in the future. A second element would apply
some visualizations to the stream, such as zebra stripes or flashing
colors. I'm aware of the existing zebrastripe element, but it doesn't quite
fit my need, as I typically perform transformations to the video, such as
contrast stretching, mapping 16-bit to 8-bit, or scaling, but want the
criteria applied to the raw input video.
If I create a new GstMeta in the first element, which will contain the
mask, the meta will be invalid if videoscale, videoflip, videocrop, or any
number of other transformations occur.
I see there is a GstMetaTransformFunction, which gave me hope, but I can't
find any usages. Anything I'm missing? Thanks!
-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160712/072a2a31/attachment.html>
More information about the gstreamer-devel
mailing list