gloverlay

## gloverlay gloverlay — Overlay GL video texture with a PNG image |

## Synopsis

    struct              GstGLOverlay;

## Object Hierarchy

      GObject
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstGLFilter
                               +----GstGLOverlay

## Properties

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

## 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 ]

## Details

### struct GstGLOverlay

    struct GstGLOverlay;

## Property Details

### The `"location"` property

      "location"                 gchar*                : Read / Write

Location of the image.

Default value: NULL

### The `"proportion"` property

      "proportion"               gint                  : Read / Write

Relative size of iverlay image, in percents.

Allowed values: [0,100]

Default value: 0

### The `"xpos"` property

      "xpos"                     gint                  : Read / Write

X position of overlay image in percents.

Allowed values: [0,100]

Default value: 0

### The `"ypos"` property

      "ypos"                     gint                  : Read / Write

Y position of overlay image in percents.

Allowed values: [0,100]

Default value: 0

### The `"angle-png"` property

      "angle-png"                gint                  : Read / Write

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

Allowed values: [-90,90]

Default value: 0

### The `"angle-video"` property

      "angle-video"              gint                  : Read / Write

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

Allowed values: [-90,90]

Default value: 0

### The `"proportion-png"` property

      "proportion-png"           gint                  : Read / Write

Relative size of iverlay image, in percents.

Allowed values: [0,100]

Default value: 0

### The `"proportion-video"` property

      "proportion-video"         gint                  : Read / Write

Relative size of iverlay video, in percents.

Allowed values: [0,100]

Default value: 0

### The `"rotate-png"` property

      "rotate-png"               gint                  : Read / Write

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

Allowed values: [0,3]

Default value: 0

### The `"rotate-video"` property

      "rotate-video"             gint                  : Read / Write

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

Allowed values: [0,3]

Default value: 0

### The `"video-top"` property

      "video-top"                gboolean              : Read / Write

Video is over png image.

Default value: FALSE

### The `"xpos-png"` property

      "xpos-png"                 gint                  : Read / Write

X position of overlay image in percents.

Allowed values: [0,100]

Default value: 0

### The `"xpos-video"` property

      "xpos-video"               gint                  : Read / Write

X position of overlay video in percents.

Allowed values: [0,100]

Default value: 0

### The `"ypos-png"` property

      "ypos-png"                 gint                  : Read / Write

Y position of overlay image in percents.

Allowed values: [0,100]

Default value: 0

### The `"ypos-video"` property

      "ypos-video"               gint                  : Read / Write

Y position of overlay video in percents.

Allowed values: [0,100]

Default value: 0

### The `"ratio-video"` property

      "ratio-video"              gint                  : Read / Write

Allowed values: [0,3]

Default value: 0