Description Usage Arguments See Also
An output stream to a video file lets you save results to the hard drive frame-by-frame. For the moment all video streams are stored in the avi format with JPEG encoding. Use writeFrame to write a frame to the stream. Use rm(stream) to close the stream explicitly.
1 | openvideowriter(fname, width = 640, height = 480, frameRate = 30)
|
fname |
file to store the input in |
width |
width in pixels |
height |
height in pixels |
frameRate |
frame rate in frames/sec |
writeFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.