Name
DisplayVideoFrame -- display a single frame of a video (V6.0)
Synopsis
DisplayVideoFrame(id, x, y, pos[, table])
Function
This function displays a single frame of a video at the specified coordinates and adds a new layer of type #VIDEO to the layer stack. The frame is specified not as an absolute index position but as a timestamp in milliseconds. Thus, to display the very first frame you would have to pass 0 in the pos argument.

Please note that this function currently does not work with layers disabled. Layers need to be enabled for this function to work.

DisplayVideoFrame() also recognizes an optional table argument which allows you to specify one or more of the standard tags for all drawing commands. See Standard drawing tags for more information about the standard tags that nearly all Hollywood drawing commands support.

Inputs
id
identifier of the video to use
x
destination x coordinate
y
destination y coordinate
pos
timestamp of the frame to display in milliseconds
table
optional: table specifying further options
Example
DisplayVideoFrame(1, #CENTER, #CENTER, 0)
The code above displays the first frame of video 1 in the center of the screen.

Show TOC