Frame Rate of a Video
Source:R/VideoClass.R
, R/VideoStackClass.R
, R/VideoWriterClass.R
, and 1 more
fps.Rd
Retrieve the frame rate (in frames per second) of a
Video
, VideoStack
, or VideoWriter
object.
Usage
# S3 method for class 'Rcpp_Video'
fps(x)
# S3 method for class 'VideoStack'
fps(x)
# S3 method for class 'Rcpp_VideoWriter'
fps(x)
fps(x)
Arguments
- x
A
Video
,VideoStack
, orVideoWriter
object.
Author
Simon Garnier, garnier@njit.edu
Examples
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
fps(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found