VideoWriter
Function for creating VideoWriter
objects.
videoWriter(outputFile, fourcc, fps, height, width, isColor = TRUE,
api = "ANY")
An character string corresponding to the path to an output file.
A 4-character string corresponding to the fourcc code of the codec to be used. A list of fourcc codes can be obtained at http://www.fourcc.org/codecs.php.
A numeric value corresponding to the framerate of the output video.
An integer value corresponding to the height of the video in pixels.
An integer value corresponding to the width of the video in pixels.
A logical indicating whether the output video is a color (default: TRUE) or grayscale (FALSE) video.
A character string corresponding to the API to use for reading the video from the file (see Note; default: "ANY").
A VideoWriter
object.