videotestsrc

videotestsrc — Creates a test video stream

Synopsis




            GstVideoTestSrc;
enum        GstVideoTestSrcPattern;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSrc
                     +----GstPushSrc
                           +----GstVideoTestSrc

Properties


  "pattern"              GstVideoTestSrcPattern  : Read / Write
  "timestamp-offset"     gint64                : Read / Write
  "is-live"              gboolean              : Read / Write

Description

Example launch line

gst-launch -v videotestsrc pattern=snow ! ximagesink

Element Information

plugin videotestsrc
author David A. Schleef <ds@schleef.org>
class Source/Video

Details

GstVideoTestSrc

typedef struct _GstVideoTestSrc GstVideoTestSrc;


enum GstVideoTestSrcPattern

typedef enum {
  GST_VIDEO_TEST_SRC_SMPTE,
  GST_VIDEO_TEST_SRC_SNOW,
  GST_VIDEO_TEST_SRC_BLACK,
} GstVideoTestSrcPattern;

Properties

The "pattern" property

  "pattern"              GstVideoTestSrcPattern  : Read / Write

Type of test pattern to generate.

Default value: Random (television snow)


The "timestamp-offset" property

  "timestamp-offset"     gint64                : Read / Write

An offset added to timestamps set on buffers (in ns).

Default value: 0


The "is-live" property

  "is-live"              gboolean              : Read / Write

Whether to act as a live source.

Default value: FALSE