Chapter 5. GstElement

Table of Contents

What is a GstElement
Source elements
Filters and codecs
Sink elements
Creating a GstElement
GstElement properties
GstElement signals
More about GstElementFactory
Getting information about an element using the factory details
Finding out what pads an element can contain
Different ways of querying the factories

The most important object in GStreamer for the application programmer is the GstElement object.

GstElement is the basic building block for the media pipeline. All the different components you are going to use are derived from GstElement. This means that a lot of functions you are going to use operate on objects of this class.

Elements, from the perspective of GStreamer, are viewed as "black boxes" with a number of different aspects. One of these aspects is the presence of "pads", or link points. This terminology arises from soldering; pads are where wires can be attached.