add_video_frame method

add_video_frame

Adds a new video frame to the end of a collection.

Returns

Created VideoFrame object.

def add_video_frame(self, x, y, width, height, fname):
    ...
ParameterTypeDescription
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.

add_video_frame

Adds a new video frame to the end of a collection.

Returns

Created VideoFrame object.

def add_video_frame(self, x, y, width, height, video):
    ...
ParameterTypeDescription
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.
videoIVideoVideo to add.

See Also