gstvideo.video_frame
Module for [VideoFrame] class
class VideoFrame
Types 1
classVideoFrame
A video frame obtained from gstvideo.video_frame.VideoFrame.map
Fields
GstVideoFrame _cInstanceMethods
void * _cPtr() nothrowgstvideo.types.VideoFrameFlags flags() @property nothrowGet `flags` field. Returns: #GstVideoFrameFlags for the framevoid flags(gstvideo.types.VideoFrameFlags propval) @property nothrowSet `flags` field. Params: propval = #GstVideoFrameFlags for the framevoid buffer(gst.buffer.Buffer propval) @property nothrowSet `buffer` field. Params: propval = the mapped bufferint id() @property nothrowGet `id` field. Returns: id of the mapped frame. the id can for example be used to identify the frame in case of multiview video.void id(int propval) @property nothrowSet `id` field. Params: propval = id of the mapped frame. the id can for example be used to identify the frame in case of multiview video.bool copyPlane(gstvideo.video_frame.VideoFrame src, uint plane) nothrowCopy the plane with index plane from src to dest.bool map(out gstvideo.video_frame.VideoFrame frame, gstvideo.video_info.VideoInfo info, gst.buffer.Buffer buffer, gst.types.MapFlags flags) static nothrowUse info and buffer to fill in the values of frame. frame is usually allocated on the stack, and you will pass the address to the #GstVideoFrame structure allocated on the stack; [gstvideo.video_fr...bool mapId(out gstvideo.video_frame.VideoFrame frame, gstvideo.video_info.VideoInfo info, gst.buffer.Buffer buffer, int id, gst.types.MapFlags flags) static nothrowUse info and buffer to fill in the values of frame with the video frame information of frame id.