powered by
Set or get the values of various properties of the Video or Stream object.
Video
Stream
# S3 method for Rcpp_Stream setProp(x, property, value)# S3 method for Rcpp_Stream getProp(x, property)# S3 method for Rcpp_Video setProp(x, property, value)# S3 method for Rcpp_Video getProp(x, property)# S3 method for Rcpp_VideoWriter setProp(x, property, value)# S3 method for Rcpp_VideoWriter getProp(x, property)setProp(x, property, value)getProp(x, property)
# S3 method for Rcpp_Stream getProp(x, property)
# S3 method for Rcpp_Video setProp(x, property, value)
# S3 method for Rcpp_Video getProp(x, property)
# S3 method for Rcpp_VideoWriter setProp(x, property, value)
# S3 method for Rcpp_VideoWriter getProp(x, property)
setProp(x, property, value)
getProp(x, property)
A Video or Stream object.
A character string specifying the name of the property to modify (see details below for a complete list).
The new value of the property.
setProp returns TRUE is the property was set successfully. getProp returns a numeric value or a character string depending on property.
setProp
getProp
property
Video, video, Stream, stream
video
stream
# NOT RUN { balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision")) getProp(balloon, "FPS") setProp(balloon, "POS_FRAMES", 25) # }
Run the code above in your browser using DataLab