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 ]
Presence – always
Direction – sink
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 ]
Presence – always
Direction – src
Properties
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
right
“right” gint
Pixels to box at right (<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