Clapper.VideoStream

g Clapper.Stream Clapper.Stream Clapper.VideoStream Clapper.VideoStream Clapper.Stream->Clapper.VideoStream GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Object->Clapper.Stream

Subclasses:

None

Methods

Inherited:

Clapper.Stream (2), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bitrate ()

get_codec ()

get_fps ()

get_height ()

get_pixel_format ()

get_width ()

Virtual Methods

Inherited:

Clapper.Stream (1), Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Clapper.Stream (2), Gst.Object (2)

Name

Type

Flags

Short Description

bitrate

int

r/en

codec

str

r/en

fps

float

r/en

height

int

r/en

pixel-format

str

r/en

width

int

r/en

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Class Details

class Clapper.VideoStream(**kwargs)
Bases:

Clapper.Stream

Abstract:

No

Structure:

Clapper.VideoStreamClass

Represents a video stream within media.

get_bitrate()
Returns:

the bitrate of video stream.

Return type:

int

Get bitrate of video self.

get_codec()
Returns:

the video codec of stream or None if undetermined.

Return type:

str or None

Get codec used to encode self.

get_fps()
Returns:

the FPS of video stream.

Return type:

float

Get number of frames per second in video self.

get_height()
Returns:

the height of video stream.

Return type:

int

Get height of video self.

get_pixel_format()
Returns:

the pixel format of stream or None if undetermined.

Return type:

str or None

Get pixel format of video self.

get_width()
Returns:

the width of video stream.

Return type:

int

Get width of video self.

Property Details

Clapper.VideoStream.props.bitrate
Name:

bitrate

Type:

int

Default Value:

0

Flags:

READABLE, EXPLICIT_NOTIFY

Stream bitrate.

Clapper.VideoStream.props.codec
Name:

codec

Type:

str

Default Value:

None

Flags:

READABLE, EXPLICIT_NOTIFY

Stream codec.

Clapper.VideoStream.props.fps
Name:

fps

Type:

float

Default Value:

0.0

Flags:

READABLE, EXPLICIT_NOTIFY

Stream FPS.

Clapper.VideoStream.props.height
Name:

height

Type:

int

Default Value:

0

Flags:

READABLE, EXPLICIT_NOTIFY

Stream height.

Clapper.VideoStream.props.pixel_format
Name:

pixel-format

Type:

str

Default Value:

None

Flags:

READABLE, EXPLICIT_NOTIFY

Stream pixel format.

Clapper.VideoStream.props.width
Name:

width

Type:

int

Default Value:

0

Flags:

READABLE, EXPLICIT_NOTIFY

Stream width.