parseBinFromDescription

fngst.bin.Bin parseBinFromDescription(string binDescription, bool ghostUnlinkedPads)

This is a convenience wrapper around [gst.global.parseLaunch] to create a #GstBin from a gst-launch-style pipeline description. See [gst.global.parseLaunch] 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).

Parameters

binDescriptioncommand line describing the bin
ghostUnlinkedPadswhether to automatically create ghost pads for unlinked source or sink pads within the bin

Returns

a

newly-created bin, or null if an error occurred.

Throws

[ErrorWrap]