Functions

Video:array() Get the internal Array data
Video.dim GET Video dimensions
Video.dur GET Video duration
Video.frame GETSET Video frame
Video.nframes GET Total number of video frames
Video:open(filename) Openg a video file
Video:pause([flag]) Toggle pausing the video file
Video:play() Play the video file
Video.pos GETSET Video position (as a percentage)
Video.speed GETSET Video speed
Video:stop() Stop the video file

Functions

Video:array()

Get the internal Array data

Return:

  • The array
Video.dim GET

Video dimensions

Video.dur GET

Video duration

Video.frame GETSET

Video frame

Video.nframes GET

Total number of video frames

Video:open(filename)

Openg a video file

Parameters:

filename The file to open
Video:pause([flag])

Toggle pausing the video file

Parameters:

[flag] Optional flag to pause / unpause the video (default true)
Video:play()

Play the video file

Video.pos GETSET

Video position (as a percentage)

Video.speed GETSET

Video speed

Video:stop()

Stop the video file