Learn R Programming

Rvision (version 0.4.2)

fps.Rcpp_Video: Framerate of a Video

Description

Retrieve the framerate (in frames per second) of a Video object.

Usage

# S3 method for Rcpp_Video
fps(obj)

# S3 method for Rcpp_VideoWriter fps(obj)

fps(obj)

Arguments

obj

A Video object.

Value

A numeric value.

See Also

Video, video

Examples

Run this code
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
fps(balloon)
release(balloon)

# }

Run the code above in your browser using DataLab