1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Media library supporting arbitrary formats and filter graphs.
7 <!-- ##### SECTION Long_Description ##### -->
9 GStreamer is a framework for constructing graphs of various filters
10 (termed elements here) that will handle streaming media. Any discreet
11 (packetizable) media type is supported, with provisions for automatically
12 determining source type. Metadata can be passed with all data to provide
13 formatting/framing information. Plugins are heavily used to provide for
14 all elements, allowing one to construct plugins outside of the GST
15 library, even released binary-only if license require (please don't).
19 GStreamer borrows heavily from both the <ulink
20 url="http://www.cse.ogi.edu/sysl/">OGI media pipeline</ulink> and
21 Microsoft's DirectShow, hopefully taking the best of both and leaving the
22 cruft behind. Its interface is still very fluid (I've redesigned the
23 metadata handling twice already), and thus can be changed to increase the
28 The <application>GStreamer</application> library should be initialized with gst_init() before
29 it can be used. You should pass a pointer to the main argc and argv variables so that GStreamer can
30 process its own command line options, as shown in the following example.
34 main (int argc, char *argv[])
36 // initialize the GStreamer library
37 gst_init (&argc, &argv);
43 Use gst_version() to query the library version at runtime or use the GST_VERSION_* macros
44 to find the version at compile time.
47 gst_main() and gst_main_quit() enter and exit the main loop.
50 <!-- ##### SECTION See_Also ##### -->
52 Check out both <ulink url="http://www.cse.ogi.edu/sysl/">OGI's
53 pipeline</ulink> and Microsoft's DirectShow for some background.
56 <!-- ##### FUNCTION gst_init ##### -->
65 <!-- ##### FUNCTION gst_version ##### -->
75 <!-- ##### FUNCTION gst_main ##### -->
82 <!-- ##### FUNCTION gst_main_quit ##### -->
89 <!-- ##### MACRO GST_VERSION_MAJOR ##### -->
91 The major version of GStreamer at compile time
96 <!-- ##### MACRO GST_VERSION_MINOR ##### -->
98 The minor version of GStreamer at compile time
103 <!-- ##### MACRO GST_VERSION_MICRO ##### -->
105 The micro version of GStreamer at compile time