gi-gstpbutils-1.0.20: GStreamer Plugins Base Utils bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.GstPbutils.Objects.DiscovererStreamInfo

Contents

Description

Base structure for information concerning a media stream. Depending on the stream type, one can find more media-specific information in DiscovererAudioInfo, DiscovererVideoInfo, and DiscovererContainerInfo.

The DiscovererStreamInfo represents the topology of the stream. Siblings can be iterated over with discovererStreamInfoGetNext and discovererStreamInfoGetPrevious. Children (sub-streams) of a stream can be accessed using the DiscovererContainerInfo API.

As a simple example, if you run Discoverer on an AVI file with one audio and one video stream, you will get a DiscovererContainerInfo corresponding to the AVI container, which in turn will have a DiscovererAudioInfo sub-stream and a DiscovererVideoInfo sub-stream for the audio and video streams respectively.

Synopsis

Exported types

toDiscovererStreamInfo :: (MonadIO m, IsDiscovererStreamInfo o) => o -> m DiscovererStreamInfo Source #

Cast to DiscovererStreamInfo, for types for which this is known to be safe. For general casts, use castTo.

Methods

getCaps

discovererStreamInfoGetCaps Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m Caps

Returns: the Caps of the stream. Unref with gst_caps_unref after usage.

No description available in the introspection data.

getMisc

discovererStreamInfoGetMisc Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m Structure

Returns: additional information regarding the stream (for example codec version, profile, etc..). If you wish to use the Structure after the life-time of info you will need to copy it.

Deprecated: This functions is deprecated since version 1.4, usegst_discoverer_info_get_missing_elements_installer_details

No description available in the introspection data.

getNext

discovererStreamInfoGetNext Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m DiscovererStreamInfo

Returns: the next DiscovererStreamInfo in a chain. Nothing for final streams. Unref with gst_discoverer_stream_info_unref after usage.

No description available in the introspection data.

getPrevious

discovererStreamInfoGetPrevious Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m DiscovererStreamInfo

Returns: the previous DiscovererStreamInfo in a chain. Nothing for starting points. Unref with gst_discoverer_stream_info_unref after usage.

No description available in the introspection data.

getStreamId

discovererStreamInfoGetStreamId Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m Text

Returns: the stream ID of this stream. If you wish to use the stream ID after the life-time of info you will need to copy it.

No description available in the introspection data.

getStreamTypeNick

discovererStreamInfoGetStreamTypeNick Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m Text

Returns: a human readable name for the stream type of the given info (ex : "audio", "container",...).

No description available in the introspection data.

getTags

discovererStreamInfoGetTags Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m TagList

Returns: the tags contained in this stream. If you wish to use the tags after the life-time of info you will need to copy them.

No description available in the introspection data.

getToc

discovererStreamInfoGetToc Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> a

info: a DiscovererStreamInfo

-> m Toc

Returns: the TOC contained in this stream. If you wish to use the TOC after the life-time of info you will need to copy it.

No description available in the introspection data.

listFree

discovererStreamInfoListFree Source #

Arguments

:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) 
=> [a]

infos: a List of DiscovererStreamInfo

-> m () 

Decrements the reference count of all contained DiscovererStreamInfo and fress the List.