Parse.binFromDescription

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 unconnected 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 unconnected source pads or multiple unconnected sink pads and want them all ghosted, you will have to create the ghost pads yourself).

class Parse
static
binFromDescription

Parameters

binDescription string

command line describing the bin

ghostUnconnectedPads int

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

Return Value

Type: Element

a newly-created bin, or NULL if an error occurred. Since 0.10.3

Throws

GException on failure.

Meta