gstpbutils.discoverer_stream_info

Module for [DiscovererStreamInfo] class

Types 3

Base structure for information concerning a media stream. Depending on the stream type, one can find more media-specific information in #GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and #GstDiscovererContainerInfo.

The #GstDiscovererStreamInfo represents the topology of the stream. Siblings can be iterated over with gstpbutils.discoverer_stream_info.DiscovererStreamInfo.getNext and gstpbutils.discoverer_stream_info.DiscovererStreamInfo.getPrevious. Children (sub-streams) of a stream can be accessed using the #GstDiscovererContainerInfo API.

As a simple example, if you run #GstDiscoverer on an AVI file with one audio and one video stream, you will get a #GstDiscovererContainerInfo corresponding to the AVI container, which in turn will have a #GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream for the audio and video streams respectively.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DiscovererStreamInfo self() nothrowReturns `this`, for use in `with` statements.
DiscovererStreamInfoGidBuilder builder() static nothrowGet builder for [gstpbutils.discoverer_stream_info.DiscovererStreamInfo] Returns: New builder object
void listFree(gstpbutils.discoverer_stream_info.DiscovererStreamInfo[] infos) static nothrowDecrements the reference count of all contained #GstDiscovererStreamInfo and fress the #GList.
string getStreamId() nothrow
int getStreamNumber() nothrow
string getStreamTypeNick() nothrow
Constructors
this(void * ptr, Flag!"Take" take)