Learn R Programming

Rvision (version 0.6.0)

video: Create an Object of Class Video

Description

Function for creating Video objects from video files.

Usage

video(filename, api = "ANY")

Arguments

filename

An character string corresponding to the path to a video file.

api

A character string corresponding to the API to use for reading the video from the file (see Note; default: "ANY").

Value

A Video object.

Examples

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

# }

Run the code above in your browser using DataLab