insert_video_frame method

insert_video_frame

Creates a new video frame and inserts it to a collection at the specified index.

Returns

Created VideoFrame object.

def insert_video_frame(self, index, x, y, width, height, fname):
    ...
ParameterTypeDescription
indexintThe zero-based index at which video frame should be inserted.
xfloatX coordinate of a new video frame.
yfloatY coordinate of a new video frame.
widthfloatWidth of a new video frame.
heightfloatHeight of a new video frame.
fnamestrVideo file name.

See Also