glcolorbalance

Adjusts brightness, contrast, hue, saturation on a video stream.

Example launch line

 gst-launch-1.0 videotestsrc ! glupload ! glcolorbalance saturation=0.0 ! glcolorconvert ! gldownload ! ximagesink

This pipeline converts the image to black and white by setting the saturation to 0.0.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstGLBaseFilter
                        ╰──GstGLFilter
                            ╰──glcolorbalance

Implemented interfaces

Factory details

Authors: – Matthew Waters

Classification:Filter/Effect/Video

Rank – none

Plugin – opengl

Package – GStreamer Base Plug-ins

Pad Templates

sink

video/x-raw(memory:GLMemory):
         format: RGBA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
 texture-target: { (string)2D, (string)external-oes }

video/x-raw(memory:GLMemory, meta:GstVideoOverlayComposition):
         format: RGBA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
 texture-target: { (string)2D, (string)external-oes }

video/x-raw(memory:DMABuf):
         format: DMA_DRM
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink

Object typeGstPad


src

video/x-raw(memory:GLMemory):
         format: RGBA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
 texture-target: { (string)2D, (string)external-oes }

video/x-raw(memory:GLMemory, meta:GstVideoOverlayComposition):
         format: RGBA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
 texture-target: { (string)2D, (string)external-oes }

video/x-raw(memory:DMABuf):
         format: DMA_DRM
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

brightness

“brightness” gdouble

brightness

Flags : Read / Write

Default value : 0


contrast

“contrast” gdouble

contrast

Flags : Read / Write

Default value : 1


hue

“hue” gdouble

hue

Flags : Read / Write

Default value : 0


saturation

“saturation” gdouble

saturation

Flags : Read / Write

Default value : 1


The results of the search are