insert_video_frame method

insert_video_frame

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

Returns

The newly created IVideoFrame.

def insert_video_frame(self, index, x, y, width, height, fname):
    ...
ParameterTypeDescription
indexintThe zero-based index at which to insert the video frame.
xfloatThe x-coordinate of the new video frame, in points.
yfloatThe y-coordinate of the new video frame, in points.
widthfloatThe width of the new video frame, in points.
heightfloatThe height of the new video frame, in points.
fnamestrThe path or name of the video file to embed.

See Also