videobox

(from GStreamer Good Plug-ins git)

Resizes a video by adding borders or cropping

Hierarchy

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

Factory details

Authors: – Wim Taymans

Classification:Filter/Effect/Video

Rank – none

Plugin – libgstvideobox.so

Package – GStreamer Good Plug-ins git

Pad Templates

sink

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

Presencealways

Directionsink


src

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

Presencealways

Directionsrc


Properties

alpha

“alpha” gdouble

Alpha value picture

Flags : Read / Write

Default value : 1


autocrop

“autocrop” gboolean

If set to TRUE videobox will automatically crop/pad the input video to be centered in the output.

Flags : Read / Write

Default value : false


border-alpha

“border-alpha” gdouble

Alpha value of the border

Flags : Read / Write

Default value : 1


bottom

“bottom” gint

Pixels to box at bottom (<0 = add a border)

Flags : Read / Write

Default value : 0


fill

“fill” Video-box-fill

How to fill the borders

Flags : Read / Write

Default value : black (0)


left

“left” gint

Pixels to box at left (<0 = add a border)

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


right

“right” gint

Pixels to box at right (<0 = add a border)

Flags : Read / Write

Default value : 0


top

“top” gint

Pixels to box at top (<0 = add a border)

Flags : Read / Write

Default value : 0


Named constants

Video-box-fill

Members

black (0) – Black
green (1) – Green
blue (2) – Blue
red (3) – Red
yellow (4) – Yellow
white (5) – White

The results of the search are