2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY % magic-entities SYSTEM "magic">
7 <!ENTITY TITLEPAGE SYSTEM "titlepage.xml">
9 <!ENTITY INTRO_PREFACE SYSTEM "intro_preface.xml">
10 <!ENTITY INTRO_BASICS SYSTEM "intro_basics.xml">
12 <!ENTITY BUILDING_BOILER SYSTEM "building_boiler.xml">
13 <!ENTITY BUILDING_PADS SYSTEM "building_pads.xml">
14 <!ENTITY BUILDING_CHAINFN SYSTEM "building_chainfn.xml">
15 <!ENTITY BUILDING_STATE SYSTEM "building_state.xml">
16 <!ENTITY BUILDING_PROPS SYSTEM "building_props.xml">
17 <!ENTITY BUILDING_SIGNALS SYSTEM "building_signals.xml">
18 <!ENTITY BUILDING_TESTAPP SYSTEM "building_testapp.xml">
20 <!ENTITY ADVANCED_SCHEDULING SYSTEM "advanced_scheduling.xml">
21 <!ENTITY ADVANCED_TYPES SYSTEM "advanced_types.xml">
22 <!ENTITY ADVANCED_REQUEST SYSTEM "advanced_request.xml">
23 <!ENTITY ADVANCED_CLOCK SYSTEM "advanced_clock.xml">
24 <!ENTITY ADVANCED_DPARAMS SYSTEM "advanced_dparams.xml">
25 <!ENTITY ADVANCED_MIDI SYSTEM "advanced_midi.xml">
27 <!ENTITY OTHER_SOURCE SYSTEM "other_source.xml">
28 <!ENTITY OTHER_SINK SYSTEM "other_sink.xml">
29 <!ENTITY OTHER_AUTOPLUGGER SYSTEM "other_autoplugger.xml">
31 <!ENTITY APPENDIX_CHECKLIST SYSTEM "appendix_checklist.xml">
32 <!ENTITY APPENDIX_PYTHON SYSTEM "appendix_python.xml">
34 <!ENTITY GStreamer "<application>GStreamer</application>">
35 <!ENTITY GstVersion "0.4.1">
36 <!ENTITY GstAppDevMan "<emphasis>GStreamer Application Development Manual</emphasis>">
37 <!ENTITY GstLibRef "<emphasis>GStreamer Library Reference</emphasis>">
40 <book id="book-gst-plugin-writers-guide">
43 <!-- ############# part ############### -->
45 <part id="part-introduction" xreflabel="Introduction">
46 <title>Introduction</title>
49 &GStreamer; is an exremely powerful and versatile framework for creating
50 streaming media applications. Many of the virtues of the &GStreamer;
51 framework come from its modularity: &GStreamer; can seamlessly
52 incorporate new plugin modules. But because modularity and power often
53 come at a cost of greater complexity (consider, for example, <ulink
54 type="http" url="http://www.omg.org/">CORBA</ulink>), writing new
55 plugins is not always easy.
58 This guide is intended to help you understand the &GStreamer; framework
59 so you can develop new plugins to extend &GStreamer;'s functionality.
60 This guide introduces most of the basic plugin writing issues in version
61 &GstVersion; of &GStreamer;. This guide presents most issues in the
62 context of an example audio filter plugin written in C. However, the
63 guide also addresses some issues involved in writing other types of
64 plugins, and the end of the guide also describes some of the Python
65 bindings for &GStreamer;.
73 <!-- ############ part ############# -->
75 <part id="part-building" xreflabel="Building a Filter">
76 <title>Building a Filter</title>
79 You now have the neccessary concepts to build your first plugin. In this
80 part of the guide, you will learn how to apply these concepts to write a
81 simple audio filter plugin. The previous parts of the guide have
82 contained no explicit example code, perhaps making things a bit abstract
83 and difficult to understand. In contrast, this section will present both
84 applications and code by following the development of an example audio
85 filter plugin called <quote>ExampleFilter</quote>.
88 The example filter will begin with a single input pad and a single
89 output pad. The filter will, at first, simply pass data through without
90 modification. But by the end of this part of the guide, you will learn
91 to add some more interesting functionality, including properties and
92 signal handlers. And after reading the next part of the guide, <xref
93 linkend="part-advanced"/>, you will be able to add even more
94 functionality to your plugins.
97 The example code used in this part of the guide can be found in
98 <filename class="directory">examples/pwg/examplefilter/</filename> in
99 your &GStreamer; directory.
112 <!-- ############ part ############# -->
114 <part id="part-advanced" xreflabel="Advanced Filter Concepts">
115 <title>Advanced Filter Concepts</title>
121 &ADVANCED_SCHEDULING;
129 <!-- ############ part ############# -->
131 <part id="part-other" xreflabel="Other Element Types">
132 <title>Other Element Types</title>
143 <!-- ############ part ############# -->
145 <part id="part-appendix" xreflabel="Appendices">
146 <title>Appendices</title>