gstpbutils.discoverer_info
Module for [DiscovererInfo] class
Types 3
Structure containing the information of a URI analyzed by #GstDiscoverer.
Methods
DiscovererInfo self()Returns `this`, for use in `with` statements.DiscovererInfoGidBuilder builder()Get builder for [gstpbutils.discoverer_info.DiscovererInfo] Returns: New builder objectgstpbutils.discoverer_info.DiscovererInfo fromVariant(glib.variant.Variant variant)Parses a #GVariant as produced by [gstpbutils.discoverer_info.DiscovererInfo.toVariant] back to a #GstDiscovererInfo.gstpbutils.discoverer_audio_info.DiscovererAudioInfo[] getAudioStreams()Finds all the #GstDiscovererAudioInfo contained in info Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should free it with [gstpbutils.discovererstreaminfo.DiscovererStreamInfo....gstpbutils.discoverer_container_info.DiscovererContainerInfo[] getContainerStreams()Finds all the #GstDiscovererContainerInfo contained in info Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should free it with [gstpbutils.discovererstreaminfo.DiscovererStreamI...bool getLive()string[] getMissingElementsInstallerDetails()Get the installer details for missing elements Returns: An array of strings containing information about how to install the various missing elements for info to be usable. If you wish to use the st...bool getSeekable()gstpbutils.discoverer_stream_info.DiscovererStreamInfo[] getStreams(gobject.types.GType streamtype)Finds the #GstDiscovererStreamInfo contained in info that match the given streamtype.gstpbutils.discoverer_subtitle_info.DiscovererSubtitleInfo[] getSubtitleStreams()Finds all the #GstDiscovererSubtitleInfo contained in info Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should free it with [gstpbutils.discovererstreaminfo.DiscovererStreamIn...string getUri()gstpbutils.discoverer_video_info.DiscovererVideoInfo[] getVideoStreams()Finds all the #GstDiscovererVideoInfo contained in info Returns: A #GList of matching #GstDiscovererStreamInfo. The caller should free it with [gstpbutils.discovererstreaminfo.DiscovererStreamInfo....glib.variant.Variant toVariant(gstpbutils.types.DiscovererSerializeFlags flags)Serializes info to a #GVariant that can be parsed again through [gstpbutils.discoverer_info.DiscovererInfo.fromVariant].Fluent builder for [gstpbutils.discoverer_info.DiscovererInfo]
Methods