Skip to contents

Retrieve the dimensions a VideoWriter object.

Usage

# S3 method for class 'Rcpp_VideoWriter'
dim(x)

Arguments

x

A VideoWriter object.

Value

A vector with 2 values corresponding to the number of rows and columns of the video writer (in this order).

Author

Simon Garnier, garnier@njit.edu

Examples

if (FALSE) { # \dontrun{
writer <- videoWriter("test.mp4", "H264", 25, 1080, 1920)
dim(writer)
release(writer)
} # }