Re- set up the gtk-doc system. I'd managed to mutilate it a while back, but now it's fixed. I'll put a copy of the ...
Original commit message from CVS:
Re- set up the gtk-doc system. I'd managed to mutilate it a while back,
but now it's fixed. I'll put a copy of the HTML output somewhere on the
website tonight.
In order to actually generate the docs, you'll have to install all the
DocBook tools, as well as gtk-doc from GNOME cvs. (see
http://developer.gnome.org/arch/doc/tools.html)
Notes (I'll codify these some day):
- Don't believe the Gnome page, always edit the SOURCES when documenting a
given function, never the tmpl file.
- I'll be re-arranging things a lot, but gtk-doc is smart enough to merge
any changes to the tmpl file. However, gtk-doc's merge and CVS's diff are
two entirely separate animals. We should probably have a virtual mutex on
the entire docs/gst/ directory, over and above what CVS does.
- I'm going to try to end up with a book set (docbook terms), where
docs/gst/ is only one book. There'd be another called docs/manual/, and
another docs/plugins/, etc. If you have any comments as to how these
should be done, gstreamer-devel is the place.
2000-02-01 09:16:43 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
Gstreamer
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Media library supporting arbitrary formats and filter graphs.
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
GStreamer is a framework for constructing graphs of various filters
|
2001-10-19 22:49:35 +00:00
|
|
|
(termed elements here) that will handle streaming media. Any discreet
|
Re- set up the gtk-doc system. I'd managed to mutilate it a while back, but now it's fixed. I'll put a copy of the ...
Original commit message from CVS:
Re- set up the gtk-doc system. I'd managed to mutilate it a while back,
but now it's fixed. I'll put a copy of the HTML output somewhere on the
website tonight.
In order to actually generate the docs, you'll have to install all the
DocBook tools, as well as gtk-doc from GNOME cvs. (see
http://developer.gnome.org/arch/doc/tools.html)
Notes (I'll codify these some day):
- Don't believe the Gnome page, always edit the SOURCES when documenting a
given function, never the tmpl file.
- I'll be re-arranging things a lot, but gtk-doc is smart enough to merge
any changes to the tmpl file. However, gtk-doc's merge and CVS's diff are
two entirely separate animals. We should probably have a virtual mutex on
the entire docs/gst/ directory, over and above what CVS does.
- I'm going to try to end up with a book set (docbook terms), where
docs/gst/ is only one book. There'd be another called docs/manual/, and
another docs/plugins/, etc. If you have any comments as to how these
should be done, gstreamer-devel is the place.
2000-02-01 09:16:43 +00:00
|
|
|
(packetizable) media type is supported, with provisions for automatically
|
|
|
|
determining source type. Metadata can be passed with all data to provide
|
|
|
|
formatting/framing information. Plugins are heavily used to provide for
|
|
|
|
all elements, allowing one to construct plugins outside of the GST
|
|
|
|
library, even released binary-only if license require (please don't).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
GStreamer borrows heavily from both the <ulink
|
|
|
|
url="http://www.cse.ogi.edu/sysl/">OGI media pipeline</ulink> and
|
|
|
|
Microsoft's DirectShow, hopefully taking the best of both and leaving the
|
|
|
|
cruft behind. Its interface is still very fluid (I've redesigned the
|
|
|
|
metadata handling twice already), and thus can be changed to increase the
|
|
|
|
sanity/noise ratio.
|
|
|
|
</para>
|
|
|
|
|
2001-10-21 15:47:23 +00:00
|
|
|
<para>
|
|
|
|
The <application>GStreamer</application> library should be initialized with gst_init() before
|
|
|
|
it can be used. You should pass a pointer to the main argc and argv variables so that GStreamer can
|
|
|
|
process its own command line options, as shown in the following example.
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
int
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
{
|
|
|
|
// initialize the GStreamer library
|
|
|
|
gst_init (&argc, &argv);
|
|
|
|
...
|
|
|
|
}
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Use gst_version() to query the library version at runtime or use the GST_VERSION_* macros
|
|
|
|
to find the version at compile time.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
gst_main() and gst_main_quit() enter and exit the main loop.
|
|
|
|
</para>
|
|
|
|
|
Re- set up the gtk-doc system. I'd managed to mutilate it a while back, but now it's fixed. I'll put a copy of the ...
Original commit message from CVS:
Re- set up the gtk-doc system. I'd managed to mutilate it a while back,
but now it's fixed. I'll put a copy of the HTML output somewhere on the
website tonight.
In order to actually generate the docs, you'll have to install all the
DocBook tools, as well as gtk-doc from GNOME cvs. (see
http://developer.gnome.org/arch/doc/tools.html)
Notes (I'll codify these some day):
- Don't believe the Gnome page, always edit the SOURCES when documenting a
given function, never the tmpl file.
- I'll be re-arranging things a lot, but gtk-doc is smart enough to merge
any changes to the tmpl file. However, gtk-doc's merge and CVS's diff are
two entirely separate animals. We should probably have a virtual mutex on
the entire docs/gst/ directory, over and above what CVS does.
- I'm going to try to end up with a book set (docbook terms), where
docs/gst/ is only one book. There'd be another called docs/manual/, and
another docs/plugins/, etc. If you have any comments as to how these
should be done, gstreamer-devel is the place.
2000-02-01 09:16:43 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
Check out both <ulink url="http://www.cse.ogi.edu/sysl/">OGI's
|
|
|
|
pipeline</ulink> and Microsoft's DirectShow for some background.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_init ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@argc:
|
|
|
|
@argv:
|
|
|
|
|
|
|
|
|
2001-10-19 22:49:35 +00:00
|
|
|
<!-- ##### FUNCTION gst_version ##### -->
|
2000-09-13 19:04:55 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-10-19 22:49:35 +00:00
|
|
|
@major:
|
|
|
|
@minor:
|
|
|
|
@micro:
|
2000-09-13 19:04:55 +00:00
|
|
|
|
|
|
|
|
2001-10-19 22:49:35 +00:00
|
|
|
<!-- ##### FUNCTION gst_main ##### -->
|
2000-09-13 19:04:55 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-19 22:49:35 +00:00
|
|
|
<!-- ##### FUNCTION gst_main_quit ##### -->
|
2001-04-17 21:14:55 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VERSION_MAJOR ##### -->
|
|
|
|
<para>
|
2001-10-19 22:49:35 +00:00
|
|
|
The major version of GStreamer at compile time
|
2001-04-17 21:14:55 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VERSION_MINOR ##### -->
|
|
|
|
<para>
|
2001-10-19 22:49:35 +00:00
|
|
|
The minor version of GStreamer at compile time
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-04-17 21:14:55 +00:00
|
|
|
|
2001-10-19 22:49:35 +00:00
|
|
|
<!-- ##### MACRO GST_VERSION_MICRO ##### -->
|
|
|
|
<para>
|
|
|
|
The micro version of GStreamer at compile time
|
2001-04-17 21:14:55 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|