GstPbutils.DiscovererVideoInfo

g GObject.Object GObject.Object GstPbutils.DiscovererStreamInfo GstPbutils.DiscovererStreamInfo GObject.Object->GstPbutils.DiscovererStreamInfo GstPbutils.DiscovererVideoInfo GstPbutils.DiscovererVideoInfo GstPbutils.DiscovererStreamInfo->GstPbutils.DiscovererVideoInfo

Subclasses:

None

Methods

Inherited:

GstPbutils.DiscovererStreamInfo (10), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bitrate ()

get_depth ()

get_framerate_denom ()

get_framerate_num ()

get_height ()

get_max_bitrate ()

get_par_denom ()

get_par_num ()

get_width ()

is_image ()

is_interlaced ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GstPbutils.DiscovererVideoInfo(**kwargs)
Bases:

GstPbutils.DiscovererStreamInfo

Abstract:

No

GstPbutils.DiscovererStreamInfo specific to video streams (this includes images).

get_bitrate()[source]
Returns:

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

Return type:

int

get_depth()[source]
Returns:

the depth in bits of the video stream.

Return type:

int

get_framerate_denom()[source]
Returns:

the framerate of the video stream (denominator).

Return type:

int

get_framerate_num()[source]
Returns:

the framerate of the video stream (numerator).

Return type:

int

get_height()[source]
Returns:

the height of the video stream in pixels.

Return type:

int

get_max_bitrate()[source]
Returns:

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

Return type:

int

get_par_denom()[source]
Returns:

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

Return type:

int

get_par_num()[source]
Returns:

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

Return type:

int

get_width()[source]
Returns:

the width of the video stream in pixels.

Return type:

int

is_image()[source]
Returns:

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

Return type:

bool

is_interlaced()[source]
Returns:

True if the stream is interlaced, else False.

Return type:

bool