ximagesrc

ximagesrc — Creates a screenshot video stream

Synopsis

struct              GstXImageSrc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseSrc
                           +----GstPushSrc
                                 +----GstXImageSrc

Properties

  "display-name"             gchar*                : Read / Write
  "screen-num"               guint                 : Read / Write
  "show-pointer"             gboolean              : Read / Write
  "endx"                     guint                 : Read / Write
  "endy"                     guint                 : Read / Write
  "startx"                   guint                 : Read / Write
  "starty"                   guint                 : Read / Write
  "use-damage"               gboolean              : Read / Write
  "remote"                   gboolean              : Read / Write
  "xid"                      guint64               : Read / Write
  "xname"                    gchar*                : Read / Write

Description

Synopsis

Element Information

plugin

ximagesrc

author

Lutz Mueller <lutz@users.sourceforge.net>, Jan Schmidt <thaytan@mad.scientist.com>, Zaheer Merali <zaheerabbas at merali dot org>

class

Source/Video

Element Pads

name

src

direction

source

presence

always

details

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

Details

struct GstXImageSrc

struct GstXImageSrc;

Property Details

The "display-name" property

  "display-name"             gchar*                : Read / Write

X Display Name.

Default value: NULL


The "screen-num" property

  "screen-num"               guint                 : Read / Write

X Screen Number.

Allowed values: <= G_MAXINT

Default value: 0


The "show-pointer" property

  "show-pointer"             gboolean              : Read / Write

Show mouse pointer (if XFixes extension enabled).

Default value: TRUE


The "endx" property

  "endx"                     guint                 : Read / Write

X coordinate of bottom right corner of area to be recorded (0 for bottom right of screen).

Allowed values: <= G_MAXINT

Default value: 0


The "endy" property

  "endy"                     guint                 : Read / Write

Y coordinate of bottom right corner of area to be recorded (0 for bottom right of screen).

Allowed values: <= G_MAXINT

Default value: 0


The "startx" property

  "startx"                   guint                 : Read / Write

X coordinate of top left corner of area to be recorded (0 for top left of screen).

Allowed values: <= G_MAXINT

Default value: 0


The "starty" property

  "starty"                   guint                 : Read / Write

Y coordinate of top left corner of area to be recorded (0 for top left of screen).

Allowed values: <= G_MAXINT

Default value: 0


The "use-damage" property

  "use-damage"               gboolean              : Read / Write

Use XDamage (if XDamage extension enabled).

Default value: TRUE


The "remote" property

  "remote"                   gboolean              : Read / Write

Whether the display is remote.

Default value: FALSE


The "xid" property

  "xid"                      guint64               : Read / Write

Window XID to capture from.

Default value: 0


The "xname" property

  "xname"                    gchar*                : Read / Write

Window name to capture from.

Default value: NULL