![]() |
![]() |
![]() |
GStreamer Base Plugins 0.10 Plugins Reference Manual | ![]() |
---|
videotestsrcvideotestsrc — Creates a test video stream |
GObject +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstVideoTestSrc
"pattern" GstVideoTestSrcPattern : Read / Write "timestamp-offset" gint64 : Read / Write "is-live" gboolean : Read / Write
The videotestsrc element is used to produce test video data in a wide variaty of formats. The video test data produced can be controlled with the "pattern" property.
gst-launch -v videotestsrc pattern=snow ! ximagesink
Shows random noise in an X window.
typedef enum { GST_VIDEO_TEST_SRC_SMPTE, GST_VIDEO_TEST_SRC_SNOW, GST_VIDEO_TEST_SRC_BLACK, } GstVideoTestSrcPattern;
The test pattern to produce.
GST_VIDEO_TEST_SRC_SMPTE |
A standard SMPTE test pattern |
GST_VIDEO_TEST_SRC_SNOW |
Random noise |
GST_VIDEO_TEST_SRC_BLACK |
A black image |
pattern
" property"pattern" GstVideoTestSrcPattern : Read / Write
Type of test pattern to generate.
Default value: Random (television snow)
timestamp-offset
" property"timestamp-offset" gint64 : Read / Write
An offset added to timestamps set on buffers (in ns).
Default value: 0
is-live
" property"is-live" gboolean : Read / Write
Whether to act as a live source.
Default value: FALSE
<< videoscale | volume >> |