Skip to contents

Close a Video, VideoStack, Stream, VideoWriter, or Queue object.

Usage

# S3 method for class 'Rcpp_Queue'
release(x)

# S3 method for class 'Rcpp_Stream'
release(x)

# S3 method for class 'Rcpp_Video'
release(x)

# S3 method for class 'VideoStack'
release(x)

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

release(x)

Arguments

x

A Video, VideoStack, Stream, VideoWriter, or Queue object.

Value

If successful, the object is cleared from memory

Author

Simon Garnier, garnier@njit.edu

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
release(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found