Close a Stream or Video object.

# S3 method for Rcpp_Stream
release(obj)

# S3 method for Rcpp_Video
release(obj)

# S3 method for Rcpp_VideoWriter
release(obj)

release(obj)

Arguments

obj

A Video or Stream object.

Value

If successful, the Stream or Video object is cleared from memory

See also

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision")) release(balloon)
#> Video released successfully.