GESVideoTestSource
GESVideoTestSource
GObject ╰──GInitiallyUnowned ╰──GESTimelineElement ╰──GESTrackElement ╰──GESSource ╰──GESVideoSource ╰──GESVideoTestSource
Children Properties
alpha
alpha of the stream
Value type: gdouble
background-color
Background color to use (big-endian ARGB)
Value type: guint
See background-color
converter-config
A GstStructure describing the configuration that should be used when scaling and converting this pad's video frames
Value type: GstStructure
See converter-config
fheight
height of the source in float
Value type: gfloat
foreground-color
Foreground color to use (big-endian ARGB)
Value type: guint
See foreground-color
fposx
x position of the stream in float
Value type: gfloat
fposy
y position of the stream in float
Value type: gfloat
fwidth
width of the source in float
Value type: gfloat
height
height of the source
Value type: gint
operator
Blending operator to use for blending this pad over the previous ones
Valid values:
- Source (0) – source
- Over (1) – over
- Add (2) – add
pattern
Type of test pattern to generate
Valid values:
- SMPTE 100% color bars (0) – smpte
- Random (television snow) (1) – snow
- 100% Black (2) – black
- 100% White (3) – white
- Red (4) – red
- Green (5) – green
- Blue (6) – blue
- Checkers 1px (7) – checkers-1
- Checkers 2px (8) – checkers-2
- Checkers 4px (9) – checkers-4
- Checkers 8px (10) – checkers-8
- Circular (11) – circular
- Blink (12) – blink
- SMPTE 75% color bars (13) – smpte75
- Zone plate (14) – zone-plate
- Gamut checkers (15) – gamut
- Chroma zone plate (16) – chroma-zone-plate
- Solid color (17) – solid-color
- Moving ball (18) – ball
- SMPTE 100% color bars (19) – smpte100
- Bar (20) – bar
- Pinwheel (21) – pinwheel
- Spokes (22) – spokes
- Gradient (23) – gradient
- Colors (24) – colors
- SMPTE test pattern, RP 219 conformant (25) – smpte-rp-219
See pattern
posx
x position of the stream
Value type: gint
posy
y position of the stream
Value type: gint
repeat-after-eos
Repeat the last frame after EOS until all pads are EOS
Value type: gboolean
See repeat-after-eos
reverse
Whether to playback the source reverse or not
Value type: gboolean
See reverse
sizing-policy
Sizing policy to use for image scaling
Valid values:
- None: Image is scaled to fill configured destination rectangle without padding or keeping the aspect ratio (0) – none
- Keep Aspect Ratio: Image is scaled to fit destination rectangle specified by GstCompositorPad:{xpos, ypos, width, height} with preserved aspect ratio. Resulting image will be centered in the destination rectangle with padding if necessary (1) – keep-aspect-ratio
See sizing-policy
video-direction
Video direction: rotation and flipping
Valid values:
- GST_VIDEO_ORIENTATION_IDENTITY (0) – identity
- GST_VIDEO_ORIENTATION_90R (1) – 90r
- GST_VIDEO_ORIENTATION_180 (2) – 180
- GST_VIDEO_ORIENTATION_90L (3) – 90l
- GST_VIDEO_ORIENTATION_HORIZ (4) – horiz
- GST_VIDEO_ORIENTATION_VERT (5) – vert
- GST_VIDEO_ORIENTATION_UL_LR (6) – ul-lr
- GST_VIDEO_ORIENTATION_UR_LL (7) – ur-ll
- GST_VIDEO_ORIENTATION_AUTO (8) – auto
- GST_VIDEO_ORIENTATION_CUSTOM (9) – custom
See video-direction
width
width of the source
Value type: gint
xpos
X Position of the picture
Value type: gint
See xpos
ypos
Y Position of the picture
Value type: gint
See ypos
zorder
z order of the stream. WARNING: Setting it manually overrides the priority and should be used very carefully
Value type: guint
Class structure
GESVideoTestSourceClass
Fields
parent_class
(GESVideoSourceClass)
–
_ges_reserved
(gpointer *)
–
GES.VideoTestSourceClass
Attributes
parent_class
(GES.VideoSourceClass)
–
_ges_reserved
([ Object ])
–
GES.VideoTestSourceClass
Attributes
parent_class
(GES.VideoSourceClass)
–
_ges_reserved
([ object ])
–
GES.VideoTestSource
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.TrackElement ╰──GES.Source ╰──GES.VideoSource ╰──GES.VideoTestSource
Children Properties
alpha
alpha of the stream
Value type: Number
background-color
Background color to use (big-endian ARGB)
Value type: Number
See background-color (not introspectable)
converter-config
A GstStructure describing the configuration that should be used when scaling and converting this pad's video frames
Value type: Gst.Structure
See converter-config
fheight
height of the source in float
Value type: Number
foreground-color
Foreground color to use (big-endian ARGB)
Value type: Number
See foreground-color (not introspectable)
fposx
x position of the stream in float
Value type: Number
fposy
y position of the stream in float
Value type: Number
fwidth
width of the source in float
Value type: Number
height
height of the source
Value type: Number
operator
Blending operator to use for blending this pad over the previous ones
Valid values:
- Source (0) – source
- Over (1) – over
- Add (2) – add
pattern
Type of test pattern to generate
Valid values:
- SMPTE 100% color bars (0) – smpte
- Random (television snow) (1) – snow
- 100% Black (2) – black
- 100% White (3) – white
- Red (4) – red
- Green (5) – green
- Blue (6) – blue
- Checkers 1px (7) – checkers-1
- Checkers 2px (8) – checkers-2
- Checkers 4px (9) – checkers-4
- Checkers 8px (10) – checkers-8
- Circular (11) – circular
- Blink (12) – blink
- SMPTE 75% color bars (13) – smpte75
- Zone plate (14) – zone-plate
- Gamut checkers (15) – gamut
- Chroma zone plate (16) – chroma-zone-plate
- Solid color (17) – solid-color
- Moving ball (18) – ball
- SMPTE 100% color bars (19) – smpte100
- Bar (20) – bar
- Pinwheel (21) – pinwheel
- Spokes (22) – spokes
- Gradient (23) – gradient
- Colors (24) – colors
- SMPTE test pattern, RP 219 conformant (25) – smpte-rp-219
See pattern (not introspectable)
posx
x position of the stream
Value type: Number
posy
y position of the stream
Value type: Number
repeat-after-eos
Repeat the last frame after EOS until all pads are EOS
Value type: Number
See repeat-after-eos
reverse
Whether to playback the source reverse or not
Value type: Number
See reverse (not introspectable)
sizing-policy
Sizing policy to use for image scaling
Valid values:
- None: Image is scaled to fill configured destination rectangle without padding or keeping the aspect ratio (0) – none
- Keep Aspect Ratio: Image is scaled to fit destination rectangle specified by GstCompositorPad:{xpos, ypos, width, height} with preserved aspect ratio. Resulting image will be centered in the destination rectangle with padding if necessary (1) – keep-aspect-ratio
See sizing-policy (not introspectable)
video-direction
Video direction: rotation and flipping
Valid values:
- GST_VIDEO_ORIENTATION_IDENTITY (0) – identity
- GST_VIDEO_ORIENTATION_90R (1) – 90r
- GST_VIDEO_ORIENTATION_180 (2) – 180
- GST_VIDEO_ORIENTATION_90L (3) – 90l
- GST_VIDEO_ORIENTATION_HORIZ (4) – horiz
- GST_VIDEO_ORIENTATION_VERT (5) – vert
- GST_VIDEO_ORIENTATION_UL_LR (6) – ul-lr
- GST_VIDEO_ORIENTATION_UR_LL (7) – ur-ll
- GST_VIDEO_ORIENTATION_AUTO (8) – auto
- GST_VIDEO_ORIENTATION_CUSTOM (9) – custom
See video-direction
width
width of the source
Value type: Number
xpos
X Position of the picture
Value type: Number
ypos
Y Position of the picture
Value type: Number
zorder
z order of the stream. WARNING: Setting it manually overrides the priority and should be used very carefully
Value type: Number
GES.VideoTestSource
GObject.Object ╰──GObject.InitiallyUnowned ╰──GES.TimelineElement ╰──GES.TrackElement ╰──GES.Source ╰──GES.VideoSource ╰──GES.VideoTestSource
Children Properties
alpha
alpha of the stream
Value type: float
background-color
Background color to use (big-endian ARGB)
Value type: int
See background-color (not introspectable)
converter-config
A GstStructure describing the configuration that should be used when scaling and converting this pad's video frames
Value type: Gst.Structure
See converter_config
fheight
height of the source in float
Value type: float
foreground-color
Foreground color to use (big-endian ARGB)
Value type: int
See foreground-color (not introspectable)
fposx
x position of the stream in float
Value type: float
fposy
y position of the stream in float
Value type: float
fwidth
width of the source in float
Value type: float
height
height of the source
Value type: int
operator
Blending operator to use for blending this pad over the previous ones
Valid values:
- Source (0) – source
- Over (1) – over
- Add (2) – add
pattern
Type of test pattern to generate
Valid values:
- SMPTE 100% color bars (0) – smpte
- Random (television snow) (1) – snow
- 100% Black (2) – black
- 100% White (3) – white
- Red (4) – red
- Green (5) – green
- Blue (6) – blue
- Checkers 1px (7) – checkers-1
- Checkers 2px (8) – checkers-2
- Checkers 4px (9) – checkers-4
- Checkers 8px (10) – checkers-8
- Circular (11) – circular
- Blink (12) – blink
- SMPTE 75% color bars (13) – smpte75
- Zone plate (14) – zone-plate
- Gamut checkers (15) – gamut
- Chroma zone plate (16) – chroma-zone-plate
- Solid color (17) – solid-color
- Moving ball (18) – ball
- SMPTE 100% color bars (19) – smpte100
- Bar (20) – bar
- Pinwheel (21) – pinwheel
- Spokes (22) – spokes
- Gradient (23) – gradient
- Colors (24) – colors
- SMPTE test pattern, RP 219 conformant (25) – smpte-rp-219
See pattern (not introspectable)
posx
x position of the stream
Value type: int
posy
y position of the stream
Value type: int
repeat-after-eos
Repeat the last frame after EOS until all pads are EOS
Value type: bool
See repeat_after_eos
reverse
Whether to playback the source reverse or not
Value type: bool
See reverse (not introspectable)
sizing-policy
Sizing policy to use for image scaling
Valid values:
- None: Image is scaled to fill configured destination rectangle without padding or keeping the aspect ratio (0) – none
- Keep Aspect Ratio: Image is scaled to fit destination rectangle specified by GstCompositorPad:{xpos, ypos, width, height} with preserved aspect ratio. Resulting image will be centered in the destination rectangle with padding if necessary (1) – keep-aspect-ratio
See sizing-policy (not introspectable)
video-direction
Video direction: rotation and flipping
Valid values:
- GST_VIDEO_ORIENTATION_IDENTITY (0) – identity
- GST_VIDEO_ORIENTATION_90R (1) – 90r
- GST_VIDEO_ORIENTATION_180 (2) – 180
- GST_VIDEO_ORIENTATION_90L (3) – 90l
- GST_VIDEO_ORIENTATION_HORIZ (4) – horiz
- GST_VIDEO_ORIENTATION_VERT (5) – vert
- GST_VIDEO_ORIENTATION_UL_LR (6) – ul-lr
- GST_VIDEO_ORIENTATION_UR_LL (7) – ur-ll
- GST_VIDEO_ORIENTATION_AUTO (8) – auto
- GST_VIDEO_ORIENTATION_CUSTOM (9) – custom
See video_direction
width
width of the source
Value type: int
xpos
X Position of the picture
Value type: int
ypos
Y Position of the picture
Value type: int
zorder
z order of the stream. WARNING: Setting it manually overrides the priority and should be used very carefully
Value type: int
Methods
ges_video_test_source_get_pattern
GESVideoTestPattern ges_video_test_source_get_pattern (GESVideoTestSource * source)
Get the video pattern used by the source.
Parameters:
source
–
The video pattern used by the source.
GES.VideoTestSource.prototype.get_pattern
function GES.VideoTestSource.prototype.get_pattern(): {
// javascript wrapper for 'ges_video_test_source_get_pattern'
}
Get the video pattern used by the source.
Parameters:
The video pattern used by the source.
GES.VideoTestSource.get_pattern
def GES.VideoTestSource.get_pattern (self):
#python wrapper for 'ges_video_test_source_get_pattern'
Get the video pattern used by the source.
Parameters:
The video pattern used by the source.
ges_video_test_source_set_pattern
ges_video_test_source_set_pattern (GESVideoTestSource * self, GESVideoTestPattern pattern)
Sets the source to use the given pattern.
GES.VideoTestSource.prototype.set_pattern
function GES.VideoTestSource.prototype.set_pattern(pattern: GES.VideoTestPattern): {
// javascript wrapper for 'ges_video_test_source_set_pattern'
}
Sets the source to use the given pattern.
Parameters:
GES.VideoTestSource.set_pattern
def GES.VideoTestSource.set_pattern (self, pattern):
#python wrapper for 'ges_video_test_source_set_pattern'
Sets the source to use the given pattern.
Parameters:
Constants
GES_TYPE_VIDEO_TEST_SOURCE
#define GES_TYPE_VIDEO_TEST_SOURCE ges_video_test_source_get_type()
The results of the search are