gloverlay

gloverlay — Overlay GL video texture with a PNG image

Properties

gchar * location Read / Write
gint proportion Read / Write
gint xpos Read / Write
gint ypos Read / Write
gint angle-png Read / Write
gint angle-video Read / Write
gint proportion-png Read / Write
gint proportion-video Read / Write
gint rotate-png Read / Write
gint rotate-video Read / Write
gboolean video-top Read / Write
gint xpos-png Read / Write
gint xpos-video Read / Write
gint ypos-png Read / Write
gint ypos-video Read / Write
gint ratio-video Read / Write

Types and Values

struct GstGLOverlay

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseTransform
                ╰── GstGLFilter
                    ╰── GstGLOverlay

Description

Overlay GL video texture with a PNG image

Examples

1
gst-launch  videotestsrc ! "video/x-raw-rgb" ! glupload ! gloverlay location=imagefile ! glimagesink
FBO (Frame Buffer Object) is required.

Synopsis

Element Information

plugin

opengl

author

Filippo Argiolas <filippo.argiolas@gmail.com>

class

Filter/Effect

Element Pads

name

sink

direction

sink

presence

always

details

video/x-raw-gl, width=(int)[ 1, 8000 ], height=(int)[ 1, 6000 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]

name

src

direction

source

presence

always

details

video/x-raw-gl, width=(int)[ 1, 8000 ], height=(int)[ 1, 6000 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]

Functions

Types and Values

struct GstGLOverlay

struct GstGLOverlay;

Property Details

The “location” property

  “location”                 gchar *

Location of the image.

Flags: Read / Write

Default value: NULL


The “proportion” property

  “proportion”               gint

Relative size of iverlay image, in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “xpos” property

  “xpos”                     gint

X position of overlay image in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “ypos” property

  “ypos”                     gint

Y position of overlay image in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “angle-png” property

  “angle-png”                gint

choose angle in axis to choosen between -90 and 90.

Flags: Read / Write

Allowed values: [-90,90]

Default value: 0


The “angle-video” property

  “angle-video”              gint

choose angle in axis to choosen between -90 and 90.

Flags: Read / Write

Allowed values: [-90,90]

Default value: 0


The “proportion-png” property

  “proportion-png”           gint

Relative size of iverlay image, in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “proportion-video” property

  “proportion-video”         gint

Relative size of iverlay video, in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “rotate-png” property

  “rotate-png”               gint

choose rotation axis for the moment only Y axis is implemented.

Flags: Read / Write

Allowed values: [0,3]

Default value: 0


The “rotate-video” property

  “rotate-video”             gint

choose rotation axis for the moment only Y axis is implemented.

Flags: Read / Write

Allowed values: [0,3]

Default value: 0


The “video-top” property

  “video-top”                gboolean

Video is over png image.

Flags: Read / Write

Default value: FALSE


The “xpos-png” property

  “xpos-png”                 gint

X position of overlay image in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “xpos-video” property

  “xpos-video”               gint

X position of overlay video in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “ypos-png” property

  “ypos-png”                 gint

Y position of overlay image in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “ypos-video” property

  “ypos-video”               gint

Y position of overlay video in percents.

Flags: Read / Write

Allowed values: [0,100]

Default value: 0


The “ratio-video” property

  “ratio-video”              gint

Flags: Read / Write

Allowed values: [0,3]

Default value: 0