Top |
gchar * | display-name | Read / Write |
gboolean | show-pointer | Read / Write |
guint | endx | Read / Write |
guint | endy | Read / Write |
guint | startx | Read / Write |
guint | starty | Read / Write |
gboolean | use-damage | Read / Write |
gboolean | remote | Read / Write |
guint64 | xid | Read / Write |
gchar * | xname | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSrc ╰── GstPushSrc ╰── GstXImageSrc
This element captures your X Display and creates raw RGB video. It uses the XDamage extension if available to only capture areas of the screen that have changed since the last frame. It uses the XFixes extension if available to also capture your mouse pointer. By default it will fixate to 25 frames per second.
1 |
gst-launch-1.0 ximagesrc ! video/x-raw,framerate=5/1 ! videoconvert ! theoraenc ! oggmux ! filesink location=desktop.ogg |
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 |
“display-name”
property “display-name” gchar *
X Display Name.
Flags: Read / Write
Default value: NULL
“show-pointer”
property “show-pointer” gboolean
Show mouse pointer (if XFixes extension enabled).
Flags: Read / Write
Default value: TRUE
“endx”
property “endx” guint
X coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
“endy”
property “endy” guint
Y coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
“startx”
property “startx” guint
X coordinate of top left corner of area to be recorded (0 for top left of screen)
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
“starty”
property “starty” guint
Y coordinate of top left corner of area to be recorded (0 for top left of screen)
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
“use-damage”
property “use-damage” gboolean
Use XDamage (if the XDamage extension is enabled)
Flags: Read / Write
Default value: TRUE
“remote”
property “remote” gboolean
Whether the X display is remote. The element will try to use alternate calls known to work better with remote displays.
Flags: Read / Write
Default value: FALSE
“xid”
property “xid” guint64
The XID of the window to capture. 0 for the root window (default).
Flags: Read / Write
Default value: 0