Learn R Programming

Rvision (version 0.4.3)

codec.Rcpp_Video: Codec of a Video

Description

Retrieve the codec of a Video object.

Usage

# S3 method for Rcpp_Video
codec(obj)

# S3 method for Rcpp_VideoWriter codec(obj)

codec(obj)

Arguments

obj

A Video object.

Value

A character string corresponding to the FOURCC code of the codec.

See Also

Video, video

Examples

Run this code
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
codec(balloon)
release(balloon)

# }

Run the code above in your browser using DataLab