GStreamer
Plugin Writer's Guide
Richard John Boulton
Erik Walthinsen
Table of Contents
I.
Introduction
Do I care?
Preliminary reading
II.
Basic concepts
Plugins
Elements
Buffers
Scheduling
Chain vs Loop Elements
Typing and Properties
Metadata
III.
Building our first plugin
Constructing the boilerplate
Doing it the hard way with GstObject
Doing it the easy way with FilterFactory
An identity filter
Building an object with pads
Attaching functions
The chain function
The plugin_init function
Registering the types
Registering the filter
Having multiple filters in a single plugin
IV.
Building a simple test application
Initialization
Instantiating the plugins
Connecting the plugins
Running the pipeline
V.
Loop-based Elements
How scheduling works
How a loopfunc works
Adding a second output
Modifying the test application
VI.
Types and Properties
Building a simple format for testing
A simple MIME type
Type properties
Typefind functions and autoplugging
VII.
Buffers and Metadata
VIII.
Sources and Sinks
IX.
State management
X.
Checklist
Next >>>
Introduction