setProp: Set/Get Video Properties

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/generic.R

Description

Set or get the values of various properties of the Video or Stream object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## S3 method for class 'Rcpp_Stream'
setProp(obj, property, value)

## S3 method for class 'Rcpp_Stream'
getProp(obj, property)

## S3 method for class 'Rcpp_Video'
setProp(obj, property, value)

## S3 method for class 'Rcpp_Video'
getProp(obj, property)

## S3 method for class 'Rcpp_VideoWriter'
setProp(obj, property, value)

## S3 method for class 'Rcpp_VideoWriter'
getProp(obj, property)

setProp(obj, property, value)

getProp(obj, property)

Arguments

obj

A Video or Stream object.

property

A character string specifying the name of the property to modify (see details below for a complete list).

value

The new value of the property.

Value

setProp returns TRUE is the property was set successfully. getProp returns a numeric value or a character string depending on property.

Note

Video properties are:

Setting stream properties depends on a lot of things, mainly your operating system, the camera drivers installed on your coputer and the camera itself. As a consequence, setting stream values might not work at all with your installation.

Stream properties are:

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Video, video, Stream, stream

Examples

1
# TODO

neuroconductor-devel-releases/Rvision documentation built on Oct. 27, 2020, 1:16 p.m.