chromahold
The chromahold element will remove all color information for all colors except a single one and converts them to grayscale.
Sample pipeline:
gst-launch-1.0 videotestsrc pattern=smpte75 ! \
chromahold target-r=0 target-g=0 target-b=255 ! \
videoconvert ! autovideosink \
This pipeline only keeps the red color.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter ╰──chromahold
Factory details
Authors: – Sebastian Dröge
Classification: – Filter/Effect/Video
Rank – none
Plugin – coloreffects
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: { ARGB, BGRA, ABGR, RGBA, xRGB, BGRx, xBGR, RGBx }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
video/x-raw:
format: { ARGB, BGRA, ABGR, RGBA, xRGB, BGRx, xBGR, RGBx }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
The results of the search are