fps: Frame Rate of a Video

View source: R/generic.R

fps.Rcpp_VideoR Documentation

Frame Rate of a Video

Description

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, or VideoWriter object.

Value

A numeric value.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Video, VideoStack, VideoWriter, videoWriter

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
fps(balloon)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.