Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > d620e9f76c810e9fbdaebc304909c8fc > files > 289

lib64gstreamer0.10-devel-0.10.36-7.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Structure of This Guide</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79;charset=UTF-8"><LINK
REL="HOME"
TITLE="GStreamer Plugin Writer's Guide (0.10.36)"
HREF="index.html"><LINK
REL="UP"
TITLE="Preface"
HREF="chapter-intro-preface.html"><LINK
REL="PREVIOUS"
TITLE="Preliminary Reading"
HREF="section-preface-reading.html"><LINK
REL="NEXT"
TITLE="Foundations"
HREF="chapter-intro-basics.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
><SPAN
CLASS="application"
>GStreamer</SPAN
> Plugin Writer's Guide (0.10.36)</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="section-preface-reading.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 1. Preface</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="chapter-intro-basics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="section-preface-structure"
>1.4. Structure of This Guide</A
></H1
><P
>&#13;      To help you navigate through this guide, it is divided into several large
      parts. Each part addresses a particular broad topic concerning <SPAN
CLASS="application"
>GStreamer</SPAN
>
      plugin development. The parts of this guide are laid out in the following
      order:
    </P
><P
></P
><UL
><LI
><P
>&#13;          <A
HREF="part-building.html"
>Building a Plugin</A
> -
          Introduction to the structure of a plugin, using an example audio
          filter for illustration.
        </P
><P
>&#13;          This part covers all the basic steps you generally need to perform
          to build a plugin, such as registering the element with <SPAN
CLASS="application"
>GStreamer</SPAN
>
          and setting up the basics so it can receive data from and send data
          to neighbour elements. The discussion begins by giving examples of
          generating the basic structures and registering an element in
          <A
HREF="chapter-building-boiler.html"
>Constructing the Boilerplate</A
>. Then, you will learn how
          to write the code to get a basic filter plugin working in <A
HREF="chapter-building-pads.html"
>Chapter 4</A
>, <A
HREF="chapter-building-chainfn.html"
>Chapter 5</A
> and <A
HREF="chapter-statemanage-states.html"
>Chapter 6</A
>.
        </P
><P
>&#13;          After that, we will show some of the GObject concepts on how to
          make an element configurable for applications and how to do
          application-element interaction in
          <A
HREF="chapter-building-args.html"
>Adding Arguments</A
> and <A
HREF="chapter-building-signals.html"
>Chapter 8</A
>. Next, you will learn to build
          a quick test application to test all that you've just learned in
          <A
HREF="chapter-building-testapp.html"
>Chapter 9</A
>. We will just touch upon
          basics here. For full-blown application development, you should
          look at <A
HREF="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html"
TARGET="_top"
>the
          Application Development Manual</A
>.
        </P
></LI
><LI
><P
>&#13;          <A
HREF="part-advanced.html"
>Advanced Filter Concepts</A
> -
          Information on advanced features of <SPAN
CLASS="application"
>GStreamer</SPAN
> plugin development.
        </P
><P
>&#13;          After learning about the basic steps, you should be able to create a
          functional audio or video filter plugin with some nice features.
          However, <SPAN
CLASS="application"
>GStreamer</SPAN
> offers more for plugin writers. This part of the
          guide includes chapters on more advanced topics, such as scheduling,
          media type definitions in <SPAN
CLASS="application"
>GStreamer</SPAN
>, clocks, interfaces and
          tagging. Since these features are purpose-specific, you can read them
          in any order, most of them don't require knowledge from other
          sections.
        </P
><P
>&#13;          The first chapter, named <A
HREF="chapter-scheduling.html"
>Different scheduling modes</A
>,
          will explain some of the basics of element scheduling. It is not
          very in-depth, but is mostly some sort of an introduction on why
          other things work as they do. Read this chapter if you're interested
          in <SPAN
CLASS="application"
>GStreamer</SPAN
> internals. Next, we will apply this knowledge and
          discuss another type of data transmission than what you learned in
          <A
HREF="chapter-building-chainfn.html"
>Chapter 5</A
>: <A
HREF="chapter-scheduling.html"
>Different scheduling modes</A
>. Loop-based elements will give
          you more control over input rate. This is useful when writing, for
          example, muxers or demuxers.
        </P
><P
>&#13;          Next, we will discuss media identification in <SPAN
CLASS="application"
>GStreamer</SPAN
> in <A
HREF="chapter-building-types.html"
>Chapter 12</A
>. You will learn how to define
          new media types and get to know a list of standard media types
          defined in <SPAN
CLASS="application"
>GStreamer</SPAN
>.
        </P
><P
>&#13;          In the next chapter, you will learn the concept of request- and
          sometimes-pads, which are pads that are created dynamically, either
          because the application asked for it (request) or because the media
          stream requires it (sometimes). This will be in <A
HREF="chapter-advanced-request.html"
>Chapter 13</A
>.
        </P
><P
>&#13;          The next chapter, <A
HREF="chapter-advanced-clock.html"
>Chapter 14</A
>, will
          explain the concept of clocks in <SPAN
CLASS="application"
>GStreamer</SPAN
>. You need this
          information when you want to know how elements should achieve
          audio/video synchronization.
        </P
><P
>&#13;          The next few chapters will discuss advanced ways of doing
          application-element interaction. Previously, we learned on the
          GObject-ways of doing this in <A
HREF="chapter-building-args.html"
>Adding Arguments</A
>
          and <A
HREF="chapter-building-signals.html"
>Chapter 8</A
>. We will discuss
          dynamic parameters, which are a way of defining element behaviour
          over time in advance, in <A
HREF="chapter-dparams.html"
>Chapter 15</A
>. Next,
          you will learn about interfaces in <A
HREF="chapter-advanced-interfaces.html"
>Chapter 16</A
>. Interfaces are very target-
          specific ways of application-element interaction, based on GObject's
          GInterface. Lastly, you will learn about how metadata is handled in
          <SPAN
CLASS="application"
>GStreamer</SPAN
> in <A
HREF="chapter-advanced-tagging.html"
>Chapter 17</A
>.
        </P
><P
>&#13;          The last chapter, <A
HREF="chapter-advanced-events.html"
>Chapter 18</A
>, will
          discuss the concept of events in <SPAN
CLASS="application"
>GStreamer</SPAN
>. Events are, on the
          one hand, another way of doing application-element interaction. It
          takes care of seeking, for example. On the other hand, it is also
          a way in which elements interact with each other, such as letting
          each other know about media stream discontinuities, forwarding tags
          inside a pipeline and so on.
        </P
></LI
><LI
><P
>&#13;          <A
HREF="part-other.html"
>Creating special element types</A
> - Explanation
          of writing other plugin types.
        </P
><P
>&#13;          Because the first two parts of the guide use an audio filter as an
          example, the concepts introduced apply to filter plugins. But many of
          the concepts apply equally to other plugin types, including sources,
          sinks, and autopluggers. This part of the guide presents the issues
          that arise when working on these more specialized plugin types. The
          chapter starts with a special focus on elements that can be written
          using a base-class (<A
HREF="chapter-other-base.html"
>Pre-made base classes</A
>), and
          later also goes into writing special types of elements in
          <A
HREF="chapter-other-oneton.html"
>Writing a Demuxer or Parser</A
>, <A
HREF="chapter-other-ntoone.html"
>Writing a N-to-1 Element or Muxer</A
> and <A
HREF="chapter-other-manager.html"
>Writing a Manager</A
>.
        </P
></LI
><LI
><P
>&#13;          <A
HREF="part-appendix.html"
>Appendices</A
> - Further
          information for plugin developers.
        </P
><P
>&#13;          The appendices contain some information that stubbornly refuses
          to fit cleanly in other sections of the guide. Most of this section
          is not yet finished.
        </P
></LI
></UL
><P
>&#13;      The remainder of this introductory part of the guide presents a short
      overview of the basic concepts involved in <SPAN
CLASS="application"
>GStreamer</SPAN
> plugin development.
      Topics covered include <A
HREF="chapter-intro-basics.html#section-basics-elements"
>Elements and Plugins</A
>, <A
HREF="section-basics-pads.html"
>Pads</A
>, <A
HREF="section-basics-data.html"
>Data, Buffers and Events</A
> and
      <A
HREF="section-basics-types.html"
>Types and Properties</A
>. If you are already familiar with
      this information, you can use this short overview to refresh your memory,
      or you can skip to <A
HREF="part-building.html"
>Building a Plugin</A
>.
    </P
><P
>&#13;      As you can see, there a lot to learn, so let's get started!
    </P
><P
></P
><UL
><LI
><P
>&#13;          Creating compound and complex elements by extending from a GstBin.
          This will allow you to create plugins that have other plugins embedded
          in them.
        </P
></LI
><LI
><P
>&#13;          Adding new mime-types to the registry along with typedetect functions.
          This will allow your plugin to operate on a completely new media type.
        </P
></LI
></UL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="section-preface-reading.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="chapter-intro-basics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Preliminary Reading</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="chapter-intro-preface.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Foundations</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>