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

Factory details

Authors: – David Schleef

Classification:Filter/Effect/Video

Rank – none

Plugin – gstvideofilter

Package – GStreamer Good Plug-ins git

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


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


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


name

“name” gchararray *

The name of the object

Flags : Read / Write / Construct

Default value : NULL


parent

“parent” GstObject *

The parent of the object

Flags : Read / Write


qos

“qos” gboolean *

Handle Quality-of-Service events

Flags : Read / Write

Default value : true


saturation

“saturation” gdouble *

saturation

Flags : Read / Write

Default value : 1


The results of the search are