GstPlay.PlayVideoInfo

g GObject.Object GObject.Object GstPlay.PlayStreamInfo GstPlay.PlayStreamInfo GObject.Object->GstPlay.PlayStreamInfo GstPlay.PlayVideoInfo GstPlay.PlayVideoInfo GstPlay.PlayStreamInfo->GstPlay.PlayVideoInfo

Subclasses:

None

Methods

Inherited:

GstPlay.PlayStreamInfo (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bitrate ()

get_framerate ()

get_height ()

get_max_bitrate ()

get_pixel_aspect_ratio ()

get_width ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GstPlay.PlayVideoInfo(**kwargs)
Bases:

GstPlay.PlayStreamInfo

Abstract:

No

Structure:

GstPlay.PlayVideoInfoClass

GstPlay.PlayStreamInfo specific to video streams.

New in version 1.20.

get_bitrate()
Returns:

the current bitrate of video in GstPlay.PlayVideoInfo or -1 if unknown.

Return type:

int

New in version 1.20.

get_framerate()
Returns:

fps_n:

Numerator of frame rate

fps_d:

Denominator of frame rate

Return type:

(fps_n: int, fps_d: int)

New in version 1.20.

get_height()
Returns:

the height of video in GstPlay.PlayVideoInfo or -1 if unknown.

Return type:

int

New in version 1.20.

get_max_bitrate()
Returns:

the maximum bitrate of video in GstPlay.PlayVideoInfo or -1 if unknown.

Return type:

int

New in version 1.20.

get_pixel_aspect_ratio()
Returns:

par_n:

numerator

par_d:

denominator

Return type:

(par_n: int, par_d: int)

Returns the pixel aspect ratio in par_n and par_d

New in version 1.20.

get_width()
Returns:

the width of video in GstPlay.PlayVideoInfo or -1 if unknown.

Return type:

int

New in version 1.20.