GstVideo.VideoFilter¶
- Subclasses:
None
Methods¶
Virtual Methods¶
|
|
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
element |
r |
||
in_info |
r |
||
negotiated |
r |
||
out_info |
r |
Class Details¶
- class GstVideo.VideoFilter(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
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:
incaps (
Gst.Caps
) –in_info (
GstVideo.VideoInfo
) –outcaps (
Gst.Caps
) –out_info (
GstVideo.VideoInfo
) –
- Return type:
function to be called with the negotiated caps and video infos
- do_transform_frame(inframe, outframe) virtual¶
- Parameters:
inframe (
GstVideo.VideoFrame
) –outframe (
GstVideo.VideoFrame
) –
- Return type:
transform a video frame
- do_transform_frame_ip(frame) virtual¶
- Parameters:
frame (
GstVideo.VideoFrame
) –- Return type:
transform a video frame in place