gst_parse_launch ()

Create a new pipeline based on command line syntax.
Please note that you might get a return value that is not NULL even though
the error is set. In this case there was a recoverable parsing error and you
can try to play the pipeline.

pipeline_description :

the command line describing the pipeline

error :

the error message in case of an erroneous pipeline.

Returns :

a new element on success, NULL on failure. If
more than one toplevel element is specified by the pipeline_description,
all elements are put into a GstPipeline, which than is returned. [transfer full]

gst_parse_launch_full ()

Create a new pipeline based on command line syntax.
Please note that you might get a return value that is not NULL even though
the error is set. In this case there was a recoverable parsing error and you
can try to play the pipeline.

a new element on success; on failure, either NULL
or a partially-constructed bin or element will be returned and error will
be set (unless you passed GST_PARSE_FLAG_FATAL_ERRORS in flags, then
NULL will always be returned on failure). [transfer full]

Since 0.10.20

gst_parse_bin_from_description ()

This is a convenience wrapper around gst_parse_launch() to create a
GstBin from a gst-launch-style pipeline description. See
gst_parse_launch() and the gst-launch man page for details about the
syntax. Ghost pads on the bin for unlinked source or sink pads
within the bin can automatically be created (but only a maximum of
one ghost pad for each direction will be created; if you expect
multiple unlinked source pads or multiple unlinked sink pads
and want them all ghosted, you will have to create the ghost pads
yourself).

bin_description :

command line describing the bin

ghost_unlinked_pads :

whether to automatically create ghost pads
for unlinked source or sink pads within the bin

err :

where to store the error message in case of an error, or NULL

Returns :

a newly-created bin, or NULL if an error occurred. [transfer full]

Since 0.10.3

gst_parse_bin_from_description_full ()

This is a convenience wrapper around gst_parse_launch() to create a
GstBin from a gst-launch-style pipeline description. See
gst_parse_launch() and the gst-launch man page for details about the
syntax. Ghost pads on the bin for unlinked source or sink pads
within the bin can automatically be created (but only a maximum of
one ghost pad for each direction will be created; if you expect
multiple unlinked source pads or multiple unlinked sink pads
and want them all ghosted, you will have to create the ghost pads
yourself).

bin_description :

command line describing the bin

ghost_unlinked_pads :

whether to automatically create ghost pads
for unlinked source or sink pads within the bin