<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Foundations</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79;charset=UTF-8"><LINK REL="HOME" TITLE="GStreamer Application Development Manual (0.10.36)" HREF="index.html"><LINK REL="UP" TITLE="About GStreamer" HREF="part-introduction.html"><LINK REL="PREVIOUS" TITLE="Provide a framework for codec experimentation" HREF="section-goals-testbed.html"><LINK REL="NEXT" TITLE="Pads" HREF="section-intro-basics-pads.html"></HEAD ><BODY CLASS="chapter" 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 > Application Development Manual (0.10.36)</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="section-goals-testbed.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="section-intro-basics-pads.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="chapter-intro-basics" ></A >Chapter 3. Foundations</H1 ><P > This chapter of the guide introduces the basic concepts of <SPAN CLASS="application" >GStreamer</SPAN >. Understanding these concepts will be important in reading any of the rest of this guide, all of them assume understanding of these basic concepts. </P ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="section-intro-basics-elements" >3.1. Elements</A ></H1 ><P > An <SPAN CLASS="emphasis" ><I CLASS="emphasis" >element</I ></SPAN > is the most important class of objects in <SPAN CLASS="application" >GStreamer</SPAN >. You will usually create a chain of elements linked together and let data flow through this chain of elements. An element has one specific function, which can be the reading of data from a file, decoding of this data or outputting this data to your sound card (or anything else). By chaining together several such elements, you create a <SPAN CLASS="emphasis" ><I CLASS="emphasis" >pipeline</I ></SPAN > that can do a specific task, for example media playback or capture. <SPAN CLASS="application" >GStreamer</SPAN > ships with a large collection of elements by default, making the development of a large variety of media applications possible. If needed, you can also write new elements. That topic is explained in great deal in the <SPAN CLASS="emphasis" ><I CLASS="emphasis" >GStreamer Plugin Writer's Guide</I ></SPAN >. </P ></DIV ></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-goals-testbed.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="section-intro-basics-pads.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Provide a framework for codec experimentation</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="part-introduction.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Pads</TD ></TR ></TABLE ></DIV ></BODY ></HTML >