GStreamer Application Development Manual (0.8.1)

Wim Taymans

Steve Baker

Andy Wingo

Legal Notice
Table of Contents
I. Overview
Introduction
What is GStreamer?
Motivation
Current problems
Goals
The design goals
II. Basic Concepts
Elements
What is an element ?
Types of elements
Pads
Types of pads
Capabilities of a pad
Plugins
Linking elements
Bins
Buffers
Element states
The different element states
The NULL state
The READY state
The PAUSED state
The PLAYING state
III. Basic API
Initializing GStreamer
The popt interface
Elements
Creating a GstElement
GstElement properties
GstElement signals
More about GstElementFactory
Pads
Types of pads
Capabilities of a pad
Plugins
Linking elements
Making simple links
Making filtered links
Bins
Creating a bin
Adding elements to a bin
Custom bins
Ghost pads
Buffers
Element states
Changing element state
IV. Building an application
Your first application
Hello world
Compiling helloworld.c
Conclusion
More on factories
The problems with the helloworld example
More on MIME Types
GStreamer types
Creating elements with the factory
GStreamer basic types
V. Advanced GStreamer concepts
Threads
Constraints placed on the pipeline by the GstThread
When would you want to use a thread?
Queues
Cothreads
Chain-based elements
Loop-based elements
Understanding schedulers
Clocks in GStreamer
Dynamic pipelines
Type Detection
Autoplugging
Using autoplugging
Using the GstAutoplugCache element
Another approach to autoplugging
Your second application
Autoplugging helloworld
Dynamic Parameters
Getting Started
Creating and Attaching Dynamic Parameters
Changing Dynamic Parameter Values
Different Types of Dynamic Parameter
VI. XML in GStreamer
XML in GStreamer
Turning GstElements into XML
Loading a GstElement from an XML file
Adding custom XML tags into the core XML data
VII. Appendices
Debugging
Command line options
Adding debugging to a plugin
Programs
gst-register
gst-launch
gst-inspect
Components
GstPlay
GstMediaPlay
GstEditor
GNOME integration
Command line options
Quotes from the Developers