videobalance

videobalance — Adjusts brightness, contrast, hue, saturation on a video stream

Synopsis

                    GstVideoBalance;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstVideoFilter
                           +----GstVideoBalance

Implemented Interfaces

GstVideoBalance implements GstImplementsInterface and GstColorBalance.

Properties

  "brightness"               gdouble               : Read / Write
  "contrast"                 gdouble               : Read / Write
  "hue"                      gdouble               : Read / Write
  "saturation"               gdouble               : Read / Write

Description

Example launch line

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

gst-launch videotestsrc ! videobalance saturation=0.0 ! ffmpegcolorspace ! ximagesink

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

Last reviewed on 2006-03-03 (0.10.3)

Synopsis

Element Information

plugin

videobalance

author

David Schleef <ds@schleef.org>

class

Filter/Effect/Video

Element Pads

name

src

direction

source

presence

always

details

video/x-raw-yuv, format=(fourcc){ IYUV, I420, YV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name

sink

direction

sink

presence

always

details

video/x-raw-yuv, format=(fourcc){ IYUV, I420, YV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

Details

GstVideoBalance

typedef struct _GstVideoBalance GstVideoBalance;

Opaque data structure.

Property Details

The "brightness" property

  "brightness"               gdouble               : Read / Write

brightness.

Allowed values: [-1,1]

Default value: 0


The "contrast" property

  "contrast"                 gdouble               : Read / Write

contrast.

Allowed values: [0,2]

Default value: 1


The "hue" property

  "hue"                      gdouble               : Read / Write

hue.

Allowed values: [-1,1]

Default value: 0


The "saturation" property

  "saturation"               gdouble               : Read / Write

saturation.

Allowed values: [0,2]

Default value: 1