videobalance

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

Example launch line

 gst-launch-1.0 videotestsrc ! videobalance saturation=0.0 ! videoconvert ! ximagesink

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

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──videobalance

Implemented interfaces

Factory details

Authors: – David Schleef

Classification:Filter/Effect/Video

Rank – none

Plugin – videofilter

Package – GStreamer Good Plug-ins

Pad Templates

sink

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B, NV12, NV21 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

video/x-raw(ANY):

Presencealways

Directionsink

Object typeGstPad


src

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B, NV12, NV21 }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

video/x-raw(ANY):

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