gi-gstpbutils-1.0.21: GStreamer Plugins Base Utils bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstPbutils.Objects.DiscovererVideoInfo

Description

DiscovererStreamInfo specific to video streams (this includes images).

Synopsis

Exported types

class (GObject o, IsDescendantOf DiscovererVideoInfo o) => IsDiscovererVideoInfo o Source #

Type class for types which can be safely cast to DiscovererVideoInfo, for instance with toDiscovererVideoInfo.

Instances

Instances details
(GObject o, IsDescendantOf DiscovererVideoInfo o) => IsDiscovererVideoInfo o Source # 
Instance details

Defined in GI.GstPbutils.Objects.DiscovererVideoInfo

toDiscovererVideoInfo :: (MonadIO m, IsDiscovererVideoInfo o) => o -> m DiscovererVideoInfo Source #

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

Methods

Overloaded methods

getBitrate

discovererVideoInfoGetBitrate Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the average or nominal bitrate of the video stream in bits/second.

No description available in the introspection data.

getDepth

discovererVideoInfoGetDepth Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the depth in bits of the video stream.

No description available in the introspection data.

getFramerateDenom

discovererVideoInfoGetFramerateDenom Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the framerate of the video stream (denominator).

No description available in the introspection data.

getFramerateNum

discovererVideoInfoGetFramerateNum Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the framerate of the video stream (numerator).

No description available in the introspection data.

getHeight

discovererVideoInfoGetHeight Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the height of the video stream in pixels.

No description available in the introspection data.

getMaxBitrate

discovererVideoInfoGetMaxBitrate Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the maximum bitrate of the video stream in bits/second.

No description available in the introspection data.

getParDenom

discovererVideoInfoGetParDenom Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the Pixel Aspect Ratio (PAR) of the video stream (denominator).

No description available in the introspection data.

getParNum

discovererVideoInfoGetParNum Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the Pixel Aspect Ratio (PAR) of the video stream (numerator).

No description available in the introspection data.

getWidth

discovererVideoInfoGetWidth Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Word32

Returns: the width of the video stream in pixels.

No description available in the introspection data.

isImage

discovererVideoInfoIsImage Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Bool

Returns: True if the video stream corresponds to an image (i.e. only contains one frame).

No description available in the introspection data.

isInterlaced

discovererVideoInfoIsInterlaced Source #

Arguments

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

info: a DiscovererVideoInfo

-> m Bool

Returns: True if the stream is interlaced, else False.

No description available in the introspection data.