| GStreamer OpenGL Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GObject
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----GstGLTestSrc
"is-live" gboolean : Read / Write "pattern" GstGLTestSrcPattern : Read / Write "timestamp-offset" gint64 : Read / Write
The gltestsrc element is used to produce test video texture. The video test produced can be controlled with the "pattern" property.
gst-launch -v gltestsrc pattern=smpte ! glimagesink
Shows original SMPTE color bars in a window.
typedef enum {
GST_GL_TEST_SRC_SMPTE,
GST_GL_TEST_SRC_SNOW,
GST_GL_TEST_SRC_BLACK,
GST_GL_TEST_SRC_WHITE,
GST_GL_TEST_SRC_RED,
GST_GL_TEST_SRC_GREEN,
GST_GL_TEST_SRC_BLUE,
GST_GL_TEST_SRC_CHECKERS1,
GST_GL_TEST_SRC_CHECKERS2,
GST_GL_TEST_SRC_CHECKERS4,
GST_GL_TEST_SRC_CHECKERS8,
GST_GL_TEST_SRC_CIRCULAR,
GST_GL_TEST_SRC_BLINK
} GstGLTestSrcPattern;
The test pattern to produce.
| A standard SMPTE test pattern | |
| Random noise | |
| A black image | |
| A white image | |
| A red image | |
| A green image | |
| A blue image | |
| Checkers pattern (1px) | |
| Checkers pattern (2px) | |
| Checkers pattern (4px) | |
| Checkers pattern (8px) | |
| Circular pattern | |
| Alternate between black and white |
"is-live" property "is-live" gboolean : Read / Write
Whether to act as a live source.
Default value: FALSE
"pattern" property"pattern" GstGLTestSrcPattern : Read / Write
Type of test pattern to generate.
Default value: SMPTE 100% color bars