Gstreamer

Name

Gstreamer -- Media library supporting arbitrary formats and filter graphs.

Synopsis


#include <gst/gst.h>


void        gst_init                        (int *argc,
                                             char **argv[]);
void        gst_main                        (void);
void        gst_main_quit                   (void);

Description

GStreamer is a framework for constructing graphs of various filters (termed elements here) that will handly streaming media. Any discreet (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).

GStreamer borrows heavily from both the OGI media pipeline 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.

Details

gst_init ()

void        gst_init                        (int *argc,
                                             char **argv[]);

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

argc : pointer to application's argc
argv : pointer to application's argv


gst_main ()

void        gst_main                        (void);

Enter the main GStreamer processing loop


gst_main_quit ()

void        gst_main_quit                   (void);

Exits the main GStreamer processing loop

See Also

Check out both OGI's pipeline and Microsoft's DirectShow for some background.