GstVideo.VideoFilter

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Element Gst.Element GstBase.BaseTransform GstBase.BaseTransform Gst.Element->GstBase.BaseTransform Gst.Object->Gst.Element GstVideo.VideoFilter GstVideo.VideoFilter GstBase.BaseTransform->GstVideo.VideoFilter

Subclasses:

None

Methods

Inherited:

GstBase.BaseTransform (15), Gst.Element (82), Gst.Object (27), GObject.Object (37)

Structs:

Gst.ElementClass (10), GObject.ObjectClass (5)

Virtual Methods

Inherited:

GstBase.BaseTransform (22), Gst.Element (16), Gst.Object (1), GObject.Object (7)

do_set_info (incaps, in_info, outcaps, out_info)

do_transform_frame (inframe, outframe)

do_transform_frame_ip (frame)

Properties

Inherited:

GstBase.BaseTransform (1), Gst.Object (2)

Signals

Inherited:

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

Fields

Inherited:

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

Name

Type

Access

Description

element

GstBase.BaseTransform

r

in_info

GstVideo.VideoInfo

r

negotiated

bool

r

out_info

GstVideo.VideoInfo

r

Class Details

class GstVideo.VideoFilter(**kwargs)
Bases:

GstBase.BaseTransform

Abstract:

Yes

Structure:

GstVideo.VideoFilterClass

Provides useful functions and a base class for video filters.

The videofilter will by default enable QoS on the parent GstBase.BaseTransform to implement frame dropping.

do_set_info(incaps, in_info, outcaps, out_info) virtual
Parameters:
Return type:

bool

function to be called with the negotiated caps and video infos

do_transform_frame(inframe, outframe) virtual
Parameters:
Return type:

Gst.FlowReturn

transform a video frame

do_transform_frame_ip(frame) virtual
Parameters:

frame (GstVideo.VideoFrame) –

Return type:

Gst.FlowReturn

transform a video frame in place