GStreamer Standard Elements

Table of Contents
GstFakeSrc — Generate empty buffers. (fakesrc)
GstFakeSink — Sources a buffer without doing anything with it. (fakesink)
GstDiskSrc — Asynchronous read from a file (disksrc)
GstHttpSrc — Reads data from a URL. (httpsrc)
GstAudioSrc — Read from the sound card. (audiosrc)
GstAudioSink — Output to a sound card via OSS. (audiosink)
GstSineSrc — Create a sine wave of a given frequency and volume. (sinesrc)
GstFdSrc — Read buffers from a file descriptor. (fdsrc)
GstFdSink — Write data to a file descriptor. (fdsink)
GstPipefilter — A wrapper around every stdin/stdout capable program
GstIdentity — Pass data without modification. (identity)
GstTee — 1-to-N pipe fitting

libgstelements.la provide some basic elements like a disk source and sink. The use of these elements is strictly though the gtk_object_get() and gtk_object_set() functions and the GStreamer Core Library functions.

Use the gst_elementfactory_find() and gst_elementfactory_create() functions to create these elements.

The following code example shows you how to create a GstDiskSrc element.

      #include <gst/gst.h>

      GstElement *src;
      GstElementFactory *srcfactory;

      gst_init(&argc,&argv);

      srcfactory = gst_elementfactory_find("disksrc");
      g_return_if_fail(srcfactory != NULL);
      src = gst_elementfactory_create(srcfactory,"src");
      g_return_if_fail(src != NULL);
      ...